diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java index 740b6b2a94a4..fc8341a222d6 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java @@ -32,6 +32,7 @@ import com.google.container.v1.Cluster; import com.google.container.v1.ClusterUpdate; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; import com.google.container.v1.DeleteClusterRequest; @@ -237,8 +238,8 @@ public final ListClustersResponse listClusters(String parent) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, * or "-" for all zones. This field has been deprecated and replaced by the parent field. @@ -346,8 +347,8 @@ public final Cluster getCluster(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -488,8 +489,8 @@ public final Operation createCluster(String parent, Cluster cluster) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the parent field. @@ -631,8 +632,8 @@ public final Operation updateCluster(String name, ClusterUpdate update) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -733,9 +734,14 @@ public final UnaryCallable updateClusterCallabl * .addAllLocations(new ArrayList()) * .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) * .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + * .setTags(NetworkTags.newBuilder().build()) + * .setTaints(NodeTaints.newBuilder().build()) + * .setLabels(NodeLabels.newBuilder().build()) * .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) * .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + * .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) * .setGcfsConfig(GcfsConfig.newBuilder().build()) + * .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) * .setGvnic(VirtualNIC.newBuilder().build()) * .build(); * Operation response = clusterManagerClient.updateNodePool(request); @@ -771,9 +777,14 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) { * .addAllLocations(new ArrayList()) * .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) * .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + * .setTags(NetworkTags.newBuilder().build()) + * .setTaints(NodeTaints.newBuilder().build()) + * .setLabels(NodeLabels.newBuilder().build()) * .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) * .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + * .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) * .setGcfsConfig(GcfsConfig.newBuilder().build()) + * .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) * .setGvnic(VirtualNIC.newBuilder().build()) * .build(); * ApiFuture future = @@ -908,8 +919,8 @@ public final Operation setLoggingService(String name, String loggingService) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1058,8 +1069,8 @@ public final Operation setMonitoringService(String name, String monitoringServic * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1197,8 +1208,8 @@ public final Operation setAddonsConfig(String name, AddonsConfig addonsConfig) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1335,8 +1346,8 @@ public final Operation setLocations(String name, List locations) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1483,8 +1494,8 @@ public final Operation updateMaster(String name, String masterVersion) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1682,8 +1693,8 @@ public final Operation deleteCluster(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1786,8 +1797,8 @@ public final UnaryCallable deleteClusterCallabl * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or * `-` for all zones. This field has been deprecated and replaced by the parent field. @@ -1896,8 +1907,8 @@ public final Operation getOperation(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2012,8 +2023,8 @@ public final void cancelOperation(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation * resides. This field has been deprecated and replaced by the name field. @@ -2127,8 +2138,8 @@ public final ServerConfig getServerConfig(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. * This field has been deprecated and replaced by the name field. @@ -2258,7 +2269,7 @@ public final GetJSONWebKeysResponse getJSONWebKeys(GetJSONWebKeysRequest request * } * } * - * @param parent The parent (project, location, cluster id) where the node pools will be listed. + * @param parent The parent (project, location, cluster name) where the node pools will be listed. * Specified in the format `projects/*/locations/*/clusters/*`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2286,8 +2297,8 @@ public final ListNodePoolsResponse listNodePools(String parent) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the parent field. @@ -2405,8 +2416,8 @@ public final NodePool getNodePool(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2501,7 +2512,7 @@ public final UnaryCallable getNodePoolCallable() { * } * } * - * @param parent The parent (project, location, cluster id) where the node pool will be created. + * @param parent The parent (project, location, cluster name) where the node pool will be created. * Specified in the format `projects/*/locations/*/clusters/*`. * @param nodePool Required. The node pool to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2532,8 +2543,8 @@ public final Operation createNodePool(String parent, NodePool nodePool) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the parent field. @@ -2656,8 +2667,8 @@ public final Operation deleteNodePool(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2737,6 +2748,53 @@ public final UnaryCallable deleteNodePoolCalla return stub.deleteNodePoolCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   CompleteNodePoolUpgradeRequest request =
+   *       CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build();
+   *   clusterManagerClient.completeNodePoolUpgrade(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request) { + completeNodePoolUpgradeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   CompleteNodePoolUpgradeRequest request =
+   *       CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build();
+   *   ApiFuture future =
+   *       clusterManagerClient.completeNodePoolUpgradeCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + completeNodePoolUpgradeCallable() { + return stub.completeNodePoolUpgradeCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last @@ -2785,8 +2843,8 @@ public final Operation rollbackNodePoolUpgrade(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2826,6 +2884,7 @@ public final Operation rollbackNodePoolUpgrade( * .setClusterId("clusterId561939637") * .setNodePoolId("nodePoolId1121557241") * .setName("name3373707") + * .setRespectPdb(true) * .build(); * Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request); * } @@ -2856,6 +2915,7 @@ public final Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest re * .setClusterId("clusterId561939637") * .setNodePoolId("nodePoolId1121557241") * .setName("name3373707") + * .setRespectPdb(true) * .build(); * ApiFuture future = * clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request); @@ -3005,7 +3065,7 @@ public final UnaryCallable setLabelsCallable() { * } * } * - * @param name The name (project, location, cluster id) of the cluster to set legacy abac. + * @param name The name (project, location, cluster name) of the cluster to set legacy abac. * Specified in the format `projects/*/locations/*/clusters/*`. * @param enabled Required. Whether ABAC authorization will be enabled in the cluster. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3035,8 +3095,8 @@ public final Operation setLegacyAbac(String name, boolean enabled) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -3130,7 +3190,7 @@ public final UnaryCallable setLegacyAbacCallabl * } * } * - * @param name The name (project, location, cluster id) of the cluster to start IP rotation. + * @param name The name (project, location, cluster name) of the cluster to start IP rotation. * Specified in the format `projects/*/locations/*/clusters/*`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -3157,8 +3217,8 @@ public final Operation startIPRotation(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -3249,7 +3309,7 @@ public final UnaryCallable startIPRotationCal * } * } * - * @param name The name (project, location, cluster id) of the cluster to complete IP rotation. + * @param name The name (project, location, cluster name) of the cluster to complete IP rotation. * Specified in the format `projects/*/locations/*/clusters/*`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -3277,8 +3337,8 @@ public final Operation completeIPRotation(String name) { * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -3432,7 +3492,7 @@ public final UnaryCallable setNodePoolSizeCal * } * } * - * @param name The name (project, location, cluster id) of the cluster to set networking policy. + * @param name The name (project, location, cluster name) of the cluster to set networking policy. * Specified in the format `projects/*/locations/*/clusters/*`. * @param networkPolicy Required. Configuration options for the NetworkPolicy feature. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3463,8 +3523,8 @@ public final Operation setNetworkPolicy(String name, NetworkPolicy networkPolicy * } * * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -3559,8 +3619,8 @@ public final UnaryCallable setNetworkPolicyC * } * } * - * @param name The name (project, location, cluster id) of the cluster to set maintenance policy. - * Specified in the format `projects/*/locations/*/clusters/*`. + * @param name The name (project, location, cluster name) of the cluster to set maintenance + * policy. Specified in the format `projects/*/locations/*/clusters/*`. * @param maintenancePolicy Required. The maintenance policy to be set for the cluster. An empty * field clears the existing maintenance policy. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3594,7 +3654,7 @@ public final Operation setMaintenancePolicy(String name, MaintenancePolicy maint * } * * @param projectId Required. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). * @param zone Required. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * @param clusterId Required. The name of the cluster to update. diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index 5ffe2e6b2bb3..5a804baeb123 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -33,6 +33,7 @@ import com.google.container.v1.CancelOperationRequest; import com.google.container.v1.Cluster; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; import com.google.container.v1.DeleteClusterRequest; @@ -229,6 +230,12 @@ public UnaryCallSettings deleteNodePoolSetting return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings(); } + /** Returns the object with the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings + completeNodePoolUpgradeSettings() { + return ((ClusterManagerStubSettings) getStubSettings()).completeNodePoolUpgradeSettings(); + } + /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings rollbackNodePoolUpgradeSettings() { @@ -505,6 +512,12 @@ public UnaryCallSettings.Builder deleteNodePoo return getStubSettingsBuilder().deleteNodePoolSettings(); } + /** Returns the builder for the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings.Builder + completeNodePoolUpgradeSettings() { + return getStubSettingsBuilder().completeNodePoolUpgradeSettings(); + } + /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings.Builder rollbackNodePoolUpgradeSettings() { diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json index 3c8e1db40587..1949bef4f30b 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json @@ -16,6 +16,9 @@ "CompleteIPRotation": { "methods": ["completeIPRotation", "completeIPRotation", "completeIPRotation", "completeIPRotationCallable"] }, + "CompleteNodePoolUpgrade": { + "methods": ["completeNodePoolUpgrade", "completeNodePoolUpgradeCallable"] + }, "CreateCluster": { "methods": ["createCluster", "createCluster", "createCluster", "createClusterCallable"] }, diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java index 65f1a928d69e..cf90f71f6f66 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java @@ -23,6 +23,7 @@ import com.google.container.v1.CancelOperationRequest; import com.google.container.v1.Cluster; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; import com.google.container.v1.DeleteClusterRequest; @@ -162,6 +163,10 @@ public UnaryCallable deleteNodePoolCallable() throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); } + public UnaryCallable completeNodePoolUpgradeCallable() { + throw new UnsupportedOperationException("Not implemented: completeNodePoolUpgradeCallable()"); + } + public UnaryCallable rollbackNodePoolUpgradeCallable() { throw new UnsupportedOperationException("Not implemented: rollbackNodePoolUpgradeCallable()"); diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java index 30bbacaf2910..bb8d316da375 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java @@ -47,6 +47,7 @@ import com.google.container.v1.CancelOperationRequest; import com.google.container.v1.Cluster; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; import com.google.container.v1.DeleteClusterRequest; @@ -159,6 +160,8 @@ public class ClusterManagerStubSettings extends StubSettings getNodePoolSettings; private final UnaryCallSettings createNodePoolSettings; private final UnaryCallSettings deleteNodePoolSettings; + private final UnaryCallSettings + completeNodePoolUpgradeSettings; private final UnaryCallSettings rollbackNodePoolUpgradeSettings; private final UnaryCallSettings @@ -358,6 +361,12 @@ public UnaryCallSettings deleteNodePoolSetting return deleteNodePoolSettings; } + /** Returns the object with the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings + completeNodePoolUpgradeSettings() { + return completeNodePoolUpgradeSettings; + } + /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings rollbackNodePoolUpgradeSettings() { @@ -511,6 +520,7 @@ protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException getNodePoolSettings = settingsBuilder.getNodePoolSettings().build(); createNodePoolSettings = settingsBuilder.createNodePoolSettings().build(); deleteNodePoolSettings = settingsBuilder.deleteNodePoolSettings().build(); + completeNodePoolUpgradeSettings = settingsBuilder.completeNodePoolUpgradeSettings().build(); rollbackNodePoolUpgradeSettings = settingsBuilder.rollbackNodePoolUpgradeSettings().build(); setNodePoolManagementSettings = settingsBuilder.setNodePoolManagementSettings().build(); setLabelsSettings = settingsBuilder.setLabelsSettings().build(); @@ -560,6 +570,8 @@ public static class Builder extends StubSettings.Builder deleteNodePoolSettings; + private final UnaryCallSettings.Builder + completeNodePoolUpgradeSettings; private final UnaryCallSettings.Builder rollbackNodePoolUpgradeSettings; private final UnaryCallSettings.Builder @@ -656,6 +668,7 @@ protected Builder(ClientContext clientContext) { getNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + completeNodePoolUpgradeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); rollbackNodePoolUpgradeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setNodePoolManagementSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setLabelsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -692,6 +705,7 @@ protected Builder(ClientContext clientContext) { getNodePoolSettings, createNodePoolSettings, deleteNodePoolSettings, + completeNodePoolUpgradeSettings, rollbackNodePoolUpgradeSettings, setNodePoolManagementSettings, setLabelsSettings, @@ -730,6 +744,7 @@ protected Builder(ClusterManagerStubSettings settings) { getNodePoolSettings = settings.getNodePoolSettings.toBuilder(); createNodePoolSettings = settings.createNodePoolSettings.toBuilder(); deleteNodePoolSettings = settings.deleteNodePoolSettings.toBuilder(); + completeNodePoolUpgradeSettings = settings.completeNodePoolUpgradeSettings.toBuilder(); rollbackNodePoolUpgradeSettings = settings.rollbackNodePoolUpgradeSettings.toBuilder(); setNodePoolManagementSettings = settings.setNodePoolManagementSettings.toBuilder(); setLabelsSettings = settings.setLabelsSettings.toBuilder(); @@ -765,6 +780,7 @@ protected Builder(ClusterManagerStubSettings settings) { getNodePoolSettings, createNodePoolSettings, deleteNodePoolSettings, + completeNodePoolUpgradeSettings, rollbackNodePoolUpgradeSettings, setNodePoolManagementSettings, setLabelsSettings, @@ -901,6 +917,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 + .completeNodePoolUpgradeSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .rollbackNodePoolUpgradeSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -1092,6 +1113,12 @@ public UnaryCallSettings.Builder deleteNodePoo return deleteNodePoolSettings; } + /** Returns the builder for the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings.Builder + completeNodePoolUpgradeSettings() { + return completeNodePoolUpgradeSettings; + } + /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings.Builder rollbackNodePoolUpgradeSettings() { diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java index 98107a5ac6fd..4561644d9508 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java @@ -28,6 +28,7 @@ import com.google.container.v1.CancelOperationRequest; import com.google.container.v1.Cluster; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; import com.google.container.v1.DeleteClusterRequest; @@ -298,6 +299,16 @@ public class GrpcClusterManagerStub extends ClusterManagerStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + completeNodePoolUpgradeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.container.v1.ClusterManager/CompleteNodePoolUpgrade") + .setRequestMarshaller( + ProtoUtils.marshaller(CompleteNodePoolUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor rollbackNodePoolUpgradeMethodDescriptor = MethodDescriptor.newBuilder() @@ -420,6 +431,8 @@ public class GrpcClusterManagerStub extends ClusterManagerStub { private final UnaryCallable getNodePoolCallable; private final UnaryCallable createNodePoolCallable; private final UnaryCallable deleteNodePoolCallable; + private final UnaryCallable + completeNodePoolUpgradeCallable; private final UnaryCallable rollbackNodePoolUpgradeCallable; private final UnaryCallable @@ -766,6 +779,17 @@ protected GrpcClusterManagerStub( return params.build(); }) .build(); + GrpcCallSettings + completeNodePoolUpgradeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(completeNodePoolUpgradeMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); GrpcCallSettings rollbackNodePoolUpgradeTransportSettings = GrpcCallSettings.newBuilder() @@ -973,6 +997,11 @@ protected GrpcClusterManagerStub( this.deleteNodePoolCallable = callableFactory.createUnaryCallable( deleteNodePoolTransportSettings, settings.deleteNodePoolSettings(), clientContext); + this.completeNodePoolUpgradeCallable = + callableFactory.createUnaryCallable( + completeNodePoolUpgradeTransportSettings, + settings.completeNodePoolUpgradeSettings(), + clientContext); this.rollbackNodePoolUpgradeCallable = callableFactory.createUnaryCallable( rollbackNodePoolUpgradeTransportSettings, @@ -1137,6 +1166,11 @@ public UnaryCallable deleteNodePoolCallable() return deleteNodePoolCallable; } + @Override + public UnaryCallable completeNodePoolUpgradeCallable() { + return completeNodePoolUpgradeCallable; + } + @Override public UnaryCallable rollbackNodePoolUpgradeCallable() { diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java index 28f83f8c226a..2f3eb4ff9530 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java @@ -33,6 +33,7 @@ import com.google.container.v1beta1.Cluster; import com.google.container.v1beta1.ClusterUpdate; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DeleteClusterRequest; @@ -219,8 +220,8 @@ public ClusterManagerStub getStub() { * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, * or "-" for all zones. This field has been deprecated and replaced by the parent field. @@ -304,8 +305,8 @@ public final UnaryCallable listCluste * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -407,8 +408,8 @@ public final UnaryCallable getClusterCallable() { * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the parent field. @@ -523,8 +524,8 @@ public final UnaryCallable createClusterCallabl * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -630,7 +631,9 @@ public final UnaryCallable updateClusterCallabl * .setLabels(NodeLabels.newBuilder().build()) * .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) * .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + * .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) * .setGcfsConfig(GcfsConfig.newBuilder().build()) + * .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) * .setGvnic(VirtualNIC.newBuilder().build()) * .build(); * Operation response = clusterManagerClient.updateNodePool(request); @@ -671,7 +674,9 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) { * .setLabels(NodeLabels.newBuilder().build()) * .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) * .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + * .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) * .setGcfsConfig(GcfsConfig.newBuilder().build()) + * .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) * .setGvnic(VirtualNIC.newBuilder().build()) * .build(); * ApiFuture future = @@ -766,8 +771,8 @@ public final Operation setNodePoolAutoscaling(SetNodePoolAutoscalingRequest requ * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -876,8 +881,8 @@ public final UnaryCallable setLoggingServic * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -987,8 +992,8 @@ public final Operation setMonitoringService(SetMonitoringServiceRequest request) * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1089,8 +1094,8 @@ public final UnaryCallable setAddonsConfigCal * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1204,8 +1209,8 @@ public final UnaryCallable setLocationsCallable( * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1373,8 +1378,8 @@ public final UnaryCallable setMasterAuthCallabl * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1477,8 +1482,8 @@ public final UnaryCallable deleteClusterCallabl * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or * `-` for all zones. This field has been deprecated and replaced by the parent field. @@ -1563,8 +1568,8 @@ public final ListOperationsResponse listOperations(ListOperationsRequest request * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -1655,8 +1660,8 @@ public final UnaryCallable getOperationCallable( * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation * resides. This field has been deprecated and replaced by the name field. @@ -1746,8 +1751,8 @@ public final UnaryCallable cancelOperationCallabl * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. * This field has been deprecated and replaced by the name field. @@ -1832,8 +1837,8 @@ public final UnaryCallable getServerConfig * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the parent field. @@ -1976,8 +1981,8 @@ public final GetJSONWebKeysResponse getJSONWebKeys(GetJSONWebKeysRequest request * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2076,8 +2081,8 @@ public final UnaryCallable getNodePoolCallable() { * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the parent field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the parent field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the parent field. @@ -2176,8 +2181,8 @@ public final UnaryCallable createNodePoolCalla * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2257,6 +2262,53 @@ public final UnaryCallable deleteNodePoolCalla return stub.deleteNodePoolCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   CompleteNodePoolUpgradeRequest request =
+   *       CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build();
+   *   clusterManagerClient.completeNodePoolUpgrade(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request) { + completeNodePoolUpgradeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   CompleteNodePoolUpgradeRequest request =
+   *       CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build();
+   *   ApiFuture future =
+   *       clusterManagerClient.completeNodePoolUpgradeCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + completeNodePoolUpgradeCallable() { + return stub.completeNodePoolUpgradeCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last @@ -2278,8 +2330,8 @@ public final UnaryCallable deleteNodePoolCalla * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2319,6 +2371,7 @@ public final Operation rollbackNodePoolUpgrade( * .setClusterId("clusterId561939637") * .setNodePoolId("nodePoolId1121557241") * .setName("name3373707") + * .setRespectPdb(true) * .build(); * Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request); * } @@ -2349,6 +2402,7 @@ public final Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest re * .setClusterId("clusterId561939637") * .setNodePoolId("nodePoolId1121557241") * .setName("name3373707") + * .setRespectPdb(true) * .build(); * ApiFuture future = * clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request); @@ -2384,8 +2438,8 @@ public final Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest re * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2496,8 +2550,8 @@ public final Operation setNodePoolManagement(SetNodePoolManagementRequest reques * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2606,8 +2660,8 @@ public final UnaryCallable setLabelsCallable() { * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2704,8 +2758,8 @@ public final UnaryCallable setLegacyAbacCallabl * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2799,8 +2853,8 @@ public final UnaryCallable startIPRotationCal * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -2958,8 +3012,8 @@ public final UnaryCallable setNodePoolSizeCal * } * * @param projectId Required. Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This + * field has been deprecated and replaced by the name field. * @param zone Required. Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * This field has been deprecated and replaced by the name field. @@ -3058,7 +3112,7 @@ public final UnaryCallable setNetworkPolicyC * } * * @param projectId Required. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). + * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). * @param zone Required. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. * @param clusterId Required. The name of the cluster to update. diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java index ee81b7e1ca1d..5beb3530b84e 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java @@ -33,6 +33,7 @@ import com.google.container.v1beta1.CancelOperationRequest; import com.google.container.v1beta1.Cluster; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DeleteClusterRequest; @@ -232,6 +233,12 @@ public UnaryCallSettings deleteNodePoolSetting return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings(); } + /** Returns the object with the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings + completeNodePoolUpgradeSettings() { + return ((ClusterManagerStubSettings) getStubSettings()).completeNodePoolUpgradeSettings(); + } + /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings rollbackNodePoolUpgradeSettings() { @@ -513,6 +520,12 @@ public UnaryCallSettings.Builder deleteNodePoo return getStubSettingsBuilder().deleteNodePoolSettings(); } + /** Returns the builder for the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings.Builder + completeNodePoolUpgradeSettings() { + return getStubSettingsBuilder().completeNodePoolUpgradeSettings(); + } + /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings.Builder rollbackNodePoolUpgradeSettings() { diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json index 42cdf11a3ce7..23aec7e723b9 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json @@ -16,6 +16,9 @@ "CompleteIPRotation": { "methods": ["completeIPRotation", "completeIPRotation", "completeIPRotationCallable"] }, + "CompleteNodePoolUpgrade": { + "methods": ["completeNodePoolUpgrade", "completeNodePoolUpgradeCallable"] + }, "CreateCluster": { "methods": ["createCluster", "createCluster", "createClusterCallable"] }, diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java index 47e650d6cb1f..417b893ca0b2 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java @@ -24,6 +24,7 @@ import com.google.container.v1beta1.CancelOperationRequest; import com.google.container.v1beta1.Cluster; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DeleteClusterRequest; @@ -166,6 +167,10 @@ public UnaryCallable deleteNodePoolCallable() throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); } + public UnaryCallable completeNodePoolUpgradeCallable() { + throw new UnsupportedOperationException("Not implemented: completeNodePoolUpgradeCallable()"); + } + public UnaryCallable rollbackNodePoolUpgradeCallable() { throw new UnsupportedOperationException("Not implemented: rollbackNodePoolUpgradeCallable()"); diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java index f8cd43cb2024..9e9eb1f50e1b 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java @@ -47,6 +47,7 @@ import com.google.container.v1beta1.CancelOperationRequest; import com.google.container.v1beta1.Cluster; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DeleteClusterRequest; @@ -162,6 +163,8 @@ public class ClusterManagerStubSettings extends StubSettings getNodePoolSettings; private final UnaryCallSettings createNodePoolSettings; private final UnaryCallSettings deleteNodePoolSettings; + private final UnaryCallSettings + completeNodePoolUpgradeSettings; private final UnaryCallSettings rollbackNodePoolUpgradeSettings; private final UnaryCallSettings @@ -363,6 +366,12 @@ public UnaryCallSettings deleteNodePoolSetting return deleteNodePoolSettings; } + /** Returns the object with the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings + completeNodePoolUpgradeSettings() { + return completeNodePoolUpgradeSettings; + } + /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings rollbackNodePoolUpgradeSettings() { @@ -521,6 +530,7 @@ protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException getNodePoolSettings = settingsBuilder.getNodePoolSettings().build(); createNodePoolSettings = settingsBuilder.createNodePoolSettings().build(); deleteNodePoolSettings = settingsBuilder.deleteNodePoolSettings().build(); + completeNodePoolUpgradeSettings = settingsBuilder.completeNodePoolUpgradeSettings().build(); rollbackNodePoolUpgradeSettings = settingsBuilder.rollbackNodePoolUpgradeSettings().build(); setNodePoolManagementSettings = settingsBuilder.setNodePoolManagementSettings().build(); setLabelsSettings = settingsBuilder.setLabelsSettings().build(); @@ -571,6 +581,8 @@ public static class Builder extends StubSettings.Builder deleteNodePoolSettings; + private final UnaryCallSettings.Builder + completeNodePoolUpgradeSettings; private final UnaryCallSettings.Builder rollbackNodePoolUpgradeSettings; private final UnaryCallSettings.Builder @@ -669,6 +681,7 @@ protected Builder(ClientContext clientContext) { getNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + completeNodePoolUpgradeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); rollbackNodePoolUpgradeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setNodePoolManagementSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setLabelsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -706,6 +719,7 @@ protected Builder(ClientContext clientContext) { getNodePoolSettings, createNodePoolSettings, deleteNodePoolSettings, + completeNodePoolUpgradeSettings, rollbackNodePoolUpgradeSettings, setNodePoolManagementSettings, setLabelsSettings, @@ -745,6 +759,7 @@ protected Builder(ClusterManagerStubSettings settings) { getNodePoolSettings = settings.getNodePoolSettings.toBuilder(); createNodePoolSettings = settings.createNodePoolSettings.toBuilder(); deleteNodePoolSettings = settings.deleteNodePoolSettings.toBuilder(); + completeNodePoolUpgradeSettings = settings.completeNodePoolUpgradeSettings.toBuilder(); rollbackNodePoolUpgradeSettings = settings.rollbackNodePoolUpgradeSettings.toBuilder(); setNodePoolManagementSettings = settings.setNodePoolManagementSettings.toBuilder(); setLabelsSettings = settings.setLabelsSettings.toBuilder(); @@ -781,6 +796,7 @@ protected Builder(ClusterManagerStubSettings settings) { getNodePoolSettings, createNodePoolSettings, deleteNodePoolSettings, + completeNodePoolUpgradeSettings, rollbackNodePoolUpgradeSettings, setNodePoolManagementSettings, setLabelsSettings, @@ -918,6 +934,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 + .completeNodePoolUpgradeSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .rollbackNodePoolUpgradeSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -1114,6 +1135,12 @@ public UnaryCallSettings.Builder deleteNodePoo return deleteNodePoolSettings; } + /** Returns the builder for the settings used for calls to completeNodePoolUpgrade. */ + public UnaryCallSettings.Builder + completeNodePoolUpgradeSettings() { + return completeNodePoolUpgradeSettings; + } + /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */ public UnaryCallSettings.Builder rollbackNodePoolUpgradeSettings() { diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java index 889b156c493d..2999b3d01d6a 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java @@ -29,6 +29,7 @@ import com.google.container.v1beta1.CancelOperationRequest; import com.google.container.v1beta1.Cluster; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DeleteClusterRequest; @@ -302,6 +303,16 @@ public class GrpcClusterManagerStub extends ClusterManagerStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + completeNodePoolUpgradeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.container.v1beta1.ClusterManager/CompleteNodePoolUpgrade") + .setRequestMarshaller( + ProtoUtils.marshaller(CompleteNodePoolUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor rollbackNodePoolUpgradeMethodDescriptor = MethodDescriptor.newBuilder() @@ -435,6 +446,8 @@ public class GrpcClusterManagerStub extends ClusterManagerStub { private final UnaryCallable getNodePoolCallable; private final UnaryCallable createNodePoolCallable; private final UnaryCallable deleteNodePoolCallable; + private final UnaryCallable + completeNodePoolUpgradeCallable; private final UnaryCallable rollbackNodePoolUpgradeCallable; private final UnaryCallable @@ -782,6 +795,17 @@ protected GrpcClusterManagerStub( return params.build(); }) .build(); + GrpcCallSettings + completeNodePoolUpgradeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(completeNodePoolUpgradeMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); GrpcCallSettings rollbackNodePoolUpgradeTransportSettings = GrpcCallSettings.newBuilder() @@ -999,6 +1023,11 @@ protected GrpcClusterManagerStub( this.deleteNodePoolCallable = callableFactory.createUnaryCallable( deleteNodePoolTransportSettings, settings.deleteNodePoolSettings(), clientContext); + this.completeNodePoolUpgradeCallable = + callableFactory.createUnaryCallable( + completeNodePoolUpgradeTransportSettings, + settings.completeNodePoolUpgradeSettings(), + clientContext); this.rollbackNodePoolUpgradeCallable = callableFactory.createUnaryCallable( rollbackNodePoolUpgradeTransportSettings, @@ -1166,6 +1195,11 @@ public UnaryCallable deleteNodePoolCallable() return deleteNodePoolCallable; } + @Override + public UnaryCallable completeNodePoolUpgradeCallable() { + return completeNodePoolUpgradeCallable; + } + @Override public UnaryCallable rollbackNodePoolUpgradeCallable() { diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java index 778a20a37cb0..9f2c4d1596f7 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java @@ -35,6 +35,7 @@ import com.google.container.v1.ClusterAutoscaling; import com.google.container.v1.ClusterUpdate; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.ConfidentialNodes; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; @@ -49,6 +50,7 @@ import com.google.container.v1.GetOperationRequest; import com.google.container.v1.GetServerConfigRequest; import com.google.container.v1.IPAllocationPolicy; +import com.google.container.v1.IdentityServiceConfig; import com.google.container.v1.Jwk; import com.google.container.v1.LegacyAbac; import com.google.container.v1.LinuxNodeConfig; @@ -69,13 +71,17 @@ import com.google.container.v1.MonitoringConfig; import com.google.container.v1.NetworkConfig; import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.NetworkTags; import com.google.container.v1.NodeConfig; import com.google.container.v1.NodeKubeletConfig; +import com.google.container.v1.NodeLabels; import com.google.container.v1.NodeManagement; import com.google.container.v1.NodeNetworkConfig; import com.google.container.v1.NodePool; +import com.google.container.v1.NodePoolAutoConfig; import com.google.container.v1.NodePoolAutoscaling; import com.google.container.v1.NodePoolDefaults; +import com.google.container.v1.NodeTaints; import com.google.container.v1.NotificationConfig; import com.google.container.v1.Operation; import com.google.container.v1.OperationProgress; @@ -284,6 +290,7 @@ public void getClusterTest() throws Exception { .setMeshCertificates(MeshCertificates.newBuilder().build()) .setNotificationConfig(NotificationConfig.newBuilder().build()) .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setIdentityServiceConfig(IdentityServiceConfig.newBuilder().build()) .setSelfLink("selfLink1191800166") .setZone("zone3744684") .setEndpoint("endpoint1741102485") @@ -306,6 +313,7 @@ public void getClusterTest() throws Exception { .setNodePoolDefaults(NodePoolDefaults.newBuilder().build()) .setLoggingConfig(LoggingConfig.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); @@ -379,6 +387,7 @@ public void getClusterTest2() throws Exception { .setMeshCertificates(MeshCertificates.newBuilder().build()) .setNotificationConfig(NotificationConfig.newBuilder().build()) .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setIdentityServiceConfig(IdentityServiceConfig.newBuilder().build()) .setSelfLink("selfLink1191800166") .setZone("zone3744684") .setEndpoint("endpoint1741102485") @@ -401,6 +410,7 @@ public void getClusterTest2() throws Exception { .setNodePoolDefaults(NodePoolDefaults.newBuilder().build()) .setLoggingConfig(LoggingConfig.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); @@ -693,9 +703,14 @@ public void updateNodePoolTest() throws Exception { .addAllLocations(new ArrayList()) .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) .setGvnic(VirtualNIC.newBuilder().build()) .build(); @@ -717,9 +732,14 @@ public void updateNodePoolTest() throws Exception { Assert.assertEquals( request.getWorkloadMetadataConfig(), actualRequest.getWorkloadMetadataConfig()); Assert.assertEquals(request.getUpgradeSettings(), actualRequest.getUpgradeSettings()); + Assert.assertEquals(request.getTags(), actualRequest.getTags()); + Assert.assertEquals(request.getTaints(), actualRequest.getTaints()); + Assert.assertEquals(request.getLabels(), actualRequest.getLabels()); Assert.assertEquals(request.getLinuxNodeConfig(), actualRequest.getLinuxNodeConfig()); Assert.assertEquals(request.getKubeletConfig(), actualRequest.getKubeletConfig()); + Assert.assertEquals(request.getNodeNetworkConfig(), actualRequest.getNodeNetworkConfig()); Assert.assertEquals(request.getGcfsConfig(), actualRequest.getGcfsConfig()); + Assert.assertEquals(request.getConfidentialNodes(), actualRequest.getConfidentialNodes()); Assert.assertEquals(request.getGvnic(), actualRequest.getGvnic()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -745,9 +765,14 @@ public void updateNodePoolExceptionTest() throws Exception { .addAllLocations(new ArrayList()) .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) .setGvnic(VirtualNIC.newBuilder().build()) .build(); client.updateNodePool(request); @@ -2013,6 +2038,7 @@ public void getNodePoolTest() throws Exception { .addAllConditions(new ArrayList()) .setPodIpv4CidrSize(1098768716) .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setUpdateInfo(NodePool.UpdateInfo.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); @@ -2065,6 +2091,7 @@ public void getNodePoolTest2() throws Exception { .addAllConditions(new ArrayList()) .setPodIpv4CidrSize(1098768716) .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setUpdateInfo(NodePool.UpdateInfo.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); @@ -2328,6 +2355,43 @@ public void deleteNodePoolExceptionTest2() throws Exception { } } + @Test + public void completeNodePoolUpgradeTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + + client.completeNodePoolUpgrade(request); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CompleteNodePoolUpgradeRequest actualRequest = + ((CompleteNodePoolUpgradeRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void completeNodePoolUpgradeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + client.completeNodePoolUpgrade(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void rollbackNodePoolUpgradeTest() throws Exception { Operation expectedResponse = diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java index 2b092e294f2c..8263ed6f9b41 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java @@ -21,6 +21,7 @@ import com.google.container.v1.Cluster; import com.google.container.v1.ClusterManagerGrpc.ClusterManagerImplBase; import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; import com.google.container.v1.CreateClusterRequest; import com.google.container.v1.CreateNodePoolRequest; import com.google.container.v1.DeleteClusterRequest; @@ -560,6 +561,27 @@ public void deleteNodePool( } } + @Override + public void completeNodePoolUpgrade( + CompleteNodePoolUpgradeRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CompleteNodePoolUpgrade, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + @Override public void rollbackNodePoolUpgrade( RollbackNodePoolUpgradeRequest request, StreamObserver responseObserver) { diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java index b9e64fdae81d..5c8ec01dd93c 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java @@ -36,7 +36,9 @@ import com.google.container.v1beta1.ClusterTelemetry; import com.google.container.v1beta1.ClusterUpdate; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.ConfidentialNodes; +import com.google.container.v1beta1.CostManagementConfig; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DatabaseEncryption; @@ -82,6 +84,7 @@ import com.google.container.v1beta1.NodeManagement; import com.google.container.v1beta1.NodeNetworkConfig; import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.NodePoolAutoConfig; import com.google.container.v1beta1.NodePoolAutoscaling; import com.google.container.v1beta1.NodePoolDefaults; import com.google.container.v1beta1.NodeTaints; @@ -90,6 +93,7 @@ import com.google.container.v1beta1.OperationProgress; import com.google.container.v1beta1.PodSecurityPolicyConfig; import com.google.container.v1beta1.PrivateClusterConfig; +import com.google.container.v1beta1.ProtectConfig; import com.google.container.v1beta1.ReleaseChannel; import com.google.container.v1beta1.ResourceUsageExportConfig; import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest; @@ -117,6 +121,7 @@ import com.google.container.v1beta1.VerticalPodAutoscaling; import com.google.container.v1beta1.VirtualNIC; import com.google.container.v1beta1.WindowsVersions; +import com.google.container.v1beta1.WorkloadALTSConfig; import com.google.container.v1beta1.WorkloadCertificates; import com.google.container.v1beta1.WorkloadIdentityConfig; import com.google.container.v1beta1.WorkloadMetadataConfig; @@ -260,6 +265,8 @@ public void getClusterTest() throws Exception { .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) .setWorkloadCertificates(WorkloadCertificates.newBuilder().build()) .setMeshCertificates(MeshCertificates.newBuilder().build()) + .setWorkloadAltsConfig(WorkloadALTSConfig.newBuilder().build()) + .setCostManagementConfig(CostManagementConfig.newBuilder().build()) .setClusterTelemetry(ClusterTelemetry.newBuilder().build()) .setTpuConfig(TpuConfig.newBuilder().build()) .setNotificationConfig(NotificationConfig.newBuilder().build()) @@ -289,6 +296,8 @@ public void getClusterTest() throws Exception { .setNodePoolDefaults(NodePoolDefaults.newBuilder().build()) .setLoggingConfig(LoggingConfig.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build()) + .setProtectConfig(ProtectConfig.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); @@ -480,7 +489,9 @@ public void updateNodePoolTest() throws Exception { .setLabels(NodeLabels.newBuilder().build()) .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) .setGvnic(VirtualNIC.newBuilder().build()) .build(); @@ -507,7 +518,9 @@ public void updateNodePoolTest() throws Exception { Assert.assertEquals(request.getLabels(), actualRequest.getLabels()); Assert.assertEquals(request.getLinuxNodeConfig(), actualRequest.getLinuxNodeConfig()); Assert.assertEquals(request.getKubeletConfig(), actualRequest.getKubeletConfig()); + Assert.assertEquals(request.getNodeNetworkConfig(), actualRequest.getNodeNetworkConfig()); Assert.assertEquals(request.getGcfsConfig(), actualRequest.getGcfsConfig()); + Assert.assertEquals(request.getConfidentialNodes(), actualRequest.getConfidentialNodes()); Assert.assertEquals(request.getGvnic(), actualRequest.getGvnic()); Assert.assertTrue( channelProvider.isHeaderSent( @@ -538,7 +551,9 @@ public void updateNodePoolExceptionTest() throws Exception { .setLabels(NodeLabels.newBuilder().build()) .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) .setGvnic(VirtualNIC.newBuilder().build()) .build(); client.updateNodePool(request); @@ -1327,6 +1342,7 @@ public void getNodePoolTest() throws Exception { .setPodIpv4CidrSize(1098768716) .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) .setPlacementPolicy(NodePool.PlacementPolicy.newBuilder().build()) + .setUpdateInfo(NodePool.UpdateInfo.newBuilder().build()) .build(); mockClusterManager.addResponse(expectedResponse); @@ -1487,6 +1503,43 @@ public void deleteNodePoolExceptionTest() throws Exception { } } + @Test + public void completeNodePoolUpgradeTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + + client.completeNodePoolUpgrade(request); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CompleteNodePoolUpgradeRequest actualRequest = + ((CompleteNodePoolUpgradeRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void completeNodePoolUpgradeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + client.completeNodePoolUpgrade(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void rollbackNodePoolUpgradeTest() throws Exception { Operation expectedResponse = diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java index ffcbae145c56..8ddebe94cee0 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java +++ b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java @@ -21,6 +21,7 @@ import com.google.container.v1beta1.Cluster; import com.google.container.v1beta1.ClusterManagerGrpc.ClusterManagerImplBase; import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; import com.google.container.v1beta1.CreateClusterRequest; import com.google.container.v1beta1.CreateNodePoolRequest; import com.google.container.v1beta1.DeleteClusterRequest; @@ -562,6 +563,27 @@ public void deleteNodePool( } } + @Override + public void completeNodePoolUpgrade( + CompleteNodePoolUpgradeRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CompleteNodePoolUpgrade, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + @Override public void rollbackNodePoolUpgrade( RollbackNodePoolUpgradeRequest request, StreamObserver responseObserver) { diff --git a/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java b/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java index 8636716b2e01..c1c2f1dd4085 100644 --- a/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java +++ b/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java @@ -976,6 +976,52 @@ private ClusterManagerGrpc() {} return getDeleteNodePoolMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", + requestType = com.google.container.v1.CompleteNodePoolUpgradeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = + getCompleteNodePoolUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CompleteNodePoolUpgradeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) + .build(); + } + } + } + return getCompleteNodePoolUpgradeMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation> getRollbackNodePoolUpgradeMethod; @@ -1804,6 +1850,21 @@ public void deleteNodePool( getDeleteNodePoolMethod(), responseObserver); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteNodePoolUpgradeMethod(), responseObserver); + } + /** * * @@ -2085,6 +2146,12 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation>(this, METHODID_DELETE_NODE_POOL))) + .addMethod( + getCompleteNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CompleteNodePoolUpgradeRequest, + com.google.protobuf.Empty>(this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) .addMethod( getRollbackNodePoolUpgradeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2549,6 +2616,23 @@ public void deleteNodePool( responseObserver); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -3043,6 +3127,20 @@ public com.google.container.v1.Operation deleteNodePool( getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.protobuf.Empty completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); + } + /** * * @@ -3512,6 +3610,20 @@ protected ClusterManagerFutureStub build( getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); + } + /** * * @@ -3669,16 +3781,17 @@ protected ClusterManagerFutureStub build( private static final int METHODID_GET_NODE_POOL = 19; private static final int METHODID_CREATE_NODE_POOL = 20; private static final int METHODID_DELETE_NODE_POOL = 21; - private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 22; - private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 23; - private static final int METHODID_SET_LABELS = 24; - private static final int METHODID_SET_LEGACY_ABAC = 25; - private static final int METHODID_START_IPROTATION = 26; - private static final int METHODID_COMPLETE_IPROTATION = 27; - private static final int METHODID_SET_NODE_POOL_SIZE = 28; - private static final int METHODID_SET_NETWORK_POLICY = 29; - private static final int METHODID_SET_MAINTENANCE_POLICY = 30; - private static final int METHODID_LIST_USABLE_SUBNETWORKS = 31; + private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; + private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; + private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; + private static final int METHODID_SET_LABELS = 25; + private static final int METHODID_SET_LEGACY_ABAC = 26; + private static final int METHODID_START_IPROTATION = 27; + private static final int METHODID_COMPLETE_IPROTATION = 28; + private static final int METHODID_SET_NODE_POOL_SIZE = 29; + private static final int METHODID_SET_NETWORK_POLICY = 30; + private static final int METHODID_SET_MAINTENANCE_POLICY = 31; + private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3811,6 +3924,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.container.v1.DeleteNodePoolRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_COMPLETE_NODE_POOL_UPGRADE: + serviceImpl.completeNodePoolUpgrade( + (com.google.container.v1.CompleteNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_ROLLBACK_NODE_POOL_UPGRADE: serviceImpl.rollbackNodePoolUpgrade( (com.google.container.v1.RollbackNodePoolUpgradeRequest) request, @@ -3948,6 +4066,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetNodePoolMethod()) .addMethod(getCreateNodePoolMethod()) .addMethod(getDeleteNodePoolMethod()) + .addMethod(getCompleteNodePoolUpgradeMethod()) .addMethod(getRollbackNodePoolUpgradeMethod()) .addMethod(getSetNodePoolManagementMethod()) .addMethod(getSetLabelsMethod()) diff --git a/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java b/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java index bf31e4f15282..c6a2c8f05b27 100644 --- a/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java +++ b/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java @@ -1031,6 +1031,52 @@ private ClusterManagerGrpc() {} return getDeleteNodePoolMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", + requestType = com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = + getCompleteNodePoolUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) + .build(); + } + } + } + return getCompleteNodePoolUpgradeMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, com.google.container.v1beta1.Operation> @@ -1932,6 +1978,21 @@ public void deleteNodePool( getDeleteNodePoolMethod(), responseObserver); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteNodePoolUpgradeMethod(), responseObserver); + } + /** * * @@ -2231,6 +2292,12 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.container.v1beta1.DeleteNodePoolRequest, com.google.container.v1beta1.Operation>(this, METHODID_DELETE_NODE_POOL))) + .addMethod( + getCompleteNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, + com.google.protobuf.Empty>(this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) .addMethod( getRollbackNodePoolUpgradeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2704,6 +2771,23 @@ public void deleteNodePool( responseObserver); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -3215,6 +3299,20 @@ public com.google.container.v1beta1.Operation deleteNodePool( getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.protobuf.Empty completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); + } + /** * * @@ -3712,6 +3810,21 @@ protected ClusterManagerFutureStub build( getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); } + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); + } + /** * * @@ -3893,17 +4006,18 @@ protected ClusterManagerFutureStub build( private static final int METHODID_GET_NODE_POOL = 19; private static final int METHODID_CREATE_NODE_POOL = 20; private static final int METHODID_DELETE_NODE_POOL = 21; - private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 22; - private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 23; - private static final int METHODID_SET_LABELS = 24; - private static final int METHODID_SET_LEGACY_ABAC = 25; - private static final int METHODID_START_IPROTATION = 26; - private static final int METHODID_COMPLETE_IPROTATION = 27; - private static final int METHODID_SET_NODE_POOL_SIZE = 28; - private static final int METHODID_SET_NETWORK_POLICY = 29; - private static final int METHODID_SET_MAINTENANCE_POLICY = 30; - private static final int METHODID_LIST_USABLE_SUBNETWORKS = 31; - private static final int METHODID_LIST_LOCATIONS = 32; + private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; + private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; + private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; + private static final int METHODID_SET_LABELS = 25; + private static final int METHODID_SET_LEGACY_ABAC = 26; + private static final int METHODID_START_IPROTATION = 27; + private static final int METHODID_COMPLETE_IPROTATION = 28; + private static final int METHODID_SET_NODE_POOL_SIZE = 29; + private static final int METHODID_SET_NETWORK_POLICY = 30; + private static final int METHODID_SET_MAINTENANCE_POLICY = 31; + private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; + private static final int METHODID_LIST_LOCATIONS = 33; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -4052,6 +4166,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_COMPLETE_NODE_POOL_UPGRADE: + serviceImpl.completeNodePoolUpgrade( + (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_ROLLBACK_NODE_POOL_UPGRADE: serviceImpl.rollbackNodePoolUpgrade( (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) request, @@ -4205,6 +4324,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetNodePoolMethod()) .addMethod(getCreateNodePoolMethod()) .addMethod(getDeleteNodePoolMethod()) + .addMethod(getCompleteNodePoolUpgradeMethod()) .addMethod(getRollbackNodePoolUpgradeMethod()) .addMethod(getSetNodePoolManagementMethod()) .addMethod(getSetLabelsMethod()) diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java index 267ea522fed8..aa6765ef7a34 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java @@ -61,6 +61,7 @@ private AcceleratorConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -90,6 +91,22 @@ private AcceleratorConfig( gpuPartitionSize_ = s; break; } + case 42: + { + com.google.container.v1.GPUSharingConfig.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = gpuSharingConfig_.toBuilder(); + } + gpuSharingConfig_ = + input.readMessage( + com.google.container.v1.GPUSharingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gpuSharingConfig_); + gpuSharingConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -126,6 +143,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1.AcceleratorConfig.Builder.class); } + private int bitField0_; public static final int ACCELERATOR_COUNT_FIELD_NUMBER = 1; private long acceleratorCount_; /** @@ -248,6 +266,56 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { } } + public static final int GPU_SHARING_CONFIG_FIELD_NUMBER = 5; + private com.google.container.v1.GPUSharingConfig gpuSharingConfig_; + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return Whether the gpuSharingConfig field is set. + */ + @java.lang.Override + public boolean hasGpuSharingConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return The gpuSharingConfig. + */ + @java.lang.Override + public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + @java.lang.Override + public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -271,6 +339,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gpuPartitionSize_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gpuPartitionSize_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getGpuSharingConfig()); + } unknownFields.writeTo(output); } @@ -289,6 +360,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gpuPartitionSize_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGpuSharingConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -308,6 +382,10 @@ public boolean equals(final java.lang.Object obj) { if (getAcceleratorCount() != other.getAcceleratorCount()) return false; if (!getAcceleratorType().equals(other.getAcceleratorType())) return false; if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false; + if (hasGpuSharingConfig() != other.hasGpuSharingConfig()) return false; + if (hasGpuSharingConfig()) { + if (!getGpuSharingConfig().equals(other.getGpuSharingConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,6 +403,10 @@ public int hashCode() { hash = (53 * hash) + getAcceleratorType().hashCode(); hash = (37 * hash) + GPU_PARTITION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getGpuPartitionSize().hashCode(); + if (hasGpuSharingConfig()) { + hash = (37 * hash) + GPU_SHARING_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getGpuSharingConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -464,7 +546,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getGpuSharingConfigFieldBuilder(); + } } @java.lang.Override @@ -476,6 +560,12 @@ public Builder clear() { gpuPartitionSize_ = ""; + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfig_ = null; + } else { + gpuSharingConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -503,9 +593,20 @@ public com.google.container.v1.AcceleratorConfig build() { public com.google.container.v1.AcceleratorConfig buildPartial() { com.google.container.v1.AcceleratorConfig result = new com.google.container.v1.AcceleratorConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.acceleratorCount_ = acceleratorCount_; result.acceleratorType_ = acceleratorType_; result.gpuPartitionSize_ = gpuPartitionSize_; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (gpuSharingConfigBuilder_ == null) { + result.gpuSharingConfig_ = gpuSharingConfig_; + } else { + result.gpuSharingConfig_ = gpuSharingConfigBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -566,6 +667,9 @@ public Builder mergeFrom(com.google.container.v1.AcceleratorConfig other) { gpuPartitionSize_ = other.gpuPartitionSize_; onChanged(); } + if (other.hasGpuSharingConfig()) { + mergeGpuSharingConfig(other.getGpuSharingConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -595,6 +699,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private long acceleratorCount_; /** * @@ -874,6 +980,193 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.container.v1.GPUSharingConfig gpuSharingConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GPUSharingConfig, + com.google.container.v1.GPUSharingConfig.Builder, + com.google.container.v1.GPUSharingConfigOrBuilder> + gpuSharingConfigBuilder_; + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return Whether the gpuSharingConfig field is set. + */ + public boolean hasGpuSharingConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return The gpuSharingConfig. + */ + public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { + if (gpuSharingConfigBuilder_ == null) { + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } else { + return gpuSharingConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder setGpuSharingConfig(com.google.container.v1.GPUSharingConfig value) { + if (gpuSharingConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gpuSharingConfig_ = value; + onChanged(); + } else { + gpuSharingConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder setGpuSharingConfig( + com.google.container.v1.GPUSharingConfig.Builder builderForValue) { + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfig_ = builderForValue.build(); + onChanged(); + } else { + gpuSharingConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder mergeGpuSharingConfig(com.google.container.v1.GPUSharingConfig value) { + if (gpuSharingConfigBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && gpuSharingConfig_ != null + && gpuSharingConfig_ != com.google.container.v1.GPUSharingConfig.getDefaultInstance()) { + gpuSharingConfig_ = + com.google.container.v1.GPUSharingConfig.newBuilder(gpuSharingConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + gpuSharingConfig_ = value; + } + onChanged(); + } else { + gpuSharingConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder clearGpuSharingConfig() { + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfig_ = null; + onChanged(); + } else { + gpuSharingConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + public com.google.container.v1.GPUSharingConfig.Builder getGpuSharingConfigBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getGpuSharingConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { + if (gpuSharingConfigBuilder_ != null) { + return gpuSharingConfigBuilder_.getMessageOrBuilder(); + } else { + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GPUSharingConfig, + com.google.container.v1.GPUSharingConfig.Builder, + com.google.container.v1.GPUSharingConfigOrBuilder> + getGpuSharingConfigFieldBuilder() { + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GPUSharingConfig, + com.google.container.v1.GPUSharingConfig.Builder, + com.google.container.v1.GPUSharingConfigOrBuilder>( + getGpuSharingConfig(), getParentForChildren(), isClean()); + gpuSharingConfig_ = null; + } + return gpuSharingConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java index 88f571033edf..429f89ea9c26 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java @@ -91,4 +91,39 @@ public interface AcceleratorConfigOrBuilder * @return The bytes for gpuPartitionSize. */ com.google.protobuf.ByteString getGpuPartitionSizeBytes(); + + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return Whether the gpuSharingConfig field is set. + */ + boolean hasGpuSharingConfig(); + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return The gpuSharingConfig. + */ + com.google.container.v1.GPUSharingConfig getGpuSharingConfig(); + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + */ + com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index f6a3742de482..c8b997ad9810 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -374,7 +374,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=933 + * google/container/v1/cluster_service.proto;l=1005 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -397,7 +397,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=933 + * google/container/v1/cluster_service.proto;l=1005 * @return The kubernetesDashboard. */ @java.lang.Override @@ -1725,7 +1725,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=933 + * google/container/v1/cluster_service.proto;l=1005 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -1747,7 +1747,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=933 + * google/container/v1/cluster_service.proto;l=1005 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java index 699447ab9c2a..bd4aaa69a9fb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java @@ -117,7 +117,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=933 + * google/container/v1/cluster_service.proto;l=1005 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -137,7 +137,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=933 + * google/container/v1/cluster_service.proto;l=1005 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index b2234d9ce93c..9d8356148fce 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java @@ -427,22 +427,27 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * * *
-   * Minimum CPU platform to be used for NAP created node pools.
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
    * Applicable values are the friendly names of CPU platforms, such as
    * minCpuPlatform: Intel Haswell or
    * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return The minCpuPlatform. */ @java.lang.Override + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { @@ -458,22 +463,27 @@ public java.lang.String getMinCpuPlatform() { * * *
-   * Minimum CPU platform to be used for NAP created node pools.
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
    * Applicable values are the friendly names of CPU platforms, such as
    * minCpuPlatform: Intel Haswell or
    * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return The bytes for minCpuPlatform. */ @java.lang.Override + @java.lang.Deprecated public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { @@ -1886,21 +1896,26 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * * *
-     * Minimum CPU platform to be used for NAP created node pools.
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
      * Applicable values are the friendly names of CPU platforms, such as
      * minCpuPlatform: Intel Haswell or
      * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return The minCpuPlatform. */ + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { @@ -1916,21 +1931,26 @@ public java.lang.String getMinCpuPlatform() { * * *
-     * Minimum CPU platform to be used for NAP created node pools.
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
      * Applicable values are the friendly names of CPU platforms, such as
      * minCpuPlatform: Intel Haswell or
      * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return The bytes for minCpuPlatform. */ + @java.lang.Deprecated public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { @@ -1946,22 +1966,27 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * * *
-     * Minimum CPU platform to be used for NAP created node pools.
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
      * Applicable values are the friendly names of CPU platforms, such as
      * minCpuPlatform: Intel Haswell or
      * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -1975,21 +2000,26 @@ public Builder setMinCpuPlatform(java.lang.String value) { * * *
-     * Minimum CPU platform to be used for NAP created node pools.
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
      * Applicable values are the friendly names of CPU platforms, such as
      * minCpuPlatform: Intel Haswell or
      * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearMinCpuPlatform() { minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); @@ -2000,22 +2030,27 @@ public Builder clearMinCpuPlatform() { * * *
-     * Minimum CPU platform to be used for NAP created node pools.
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
      * Applicable values are the friendly names of CPU platforms, such as
      * minCpuPlatform: Intel Haswell or
      * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index 7f239e2c41a2..e6542233818e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -173,41 +173,51 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * Minimum CPU platform to be used for NAP created node pools.
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
    * Applicable values are the friendly names of CPU platforms, such as
    * minCpuPlatform: Intel Haswell or
    * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return The minCpuPlatform. */ + @java.lang.Deprecated java.lang.String getMinCpuPlatform(); /** * * *
-   * Minimum CPU platform to be used for NAP created node pools.
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
    * Applicable values are the friendly names of CPU platforms, such as
    * minCpuPlatform: Intel Haswell or
    * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3311 * @return The bytes for minCpuPlatform. */ + @java.lang.Deprecated com.google.protobuf.ByteString getMinCpuPlatformBytes(); /** diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 5ba6af2b7666..f3cc2c1be38f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -37,7 +37,9 @@ private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private BinaryAuthorization() {} + private BinaryAuthorization() { + evaluationMode_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -73,6 +75,13 @@ private BinaryAuthorization( enabled_ = input.readBool(); break; } + case 16: + { + int rawValue = input.readEnum(); + + evaluationMode_ = rawValue; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -109,6 +118,167 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1.BinaryAuthorization.Builder.class); } + /** + * + * + *
+   * Binary Authorization mode of operation.
+   * 
+ * + * Protobuf enum {@code google.container.v1.BinaryAuthorization.EvaluationMode} + */ + public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value
+     * 
+ * + * EVALUATION_MODE_UNSPECIFIED = 0; + */ + EVALUATION_MODE_UNSPECIFIED(0), + /** + * + * + *
+     * Disable BinaryAuthorization
+     * 
+ * + * DISABLED = 1; + */ + DISABLED(1), + /** + * + * + *
+     * Enforce Kubernetes admission requests with BinaryAuthorization using the
+     * project's singleton policy. This is equivalent to setting the
+     * enabled boolean to true.
+     * 
+ * + * PROJECT_SINGLETON_POLICY_ENFORCE = 2; + */ + PROJECT_SINGLETON_POLICY_ENFORCE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value
+     * 
+ * + * EVALUATION_MODE_UNSPECIFIED = 0; + */ + public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Disable BinaryAuthorization
+     * 
+ * + * DISABLED = 1; + */ + public static final int DISABLED_VALUE = 1; + /** + * + * + *
+     * Enforce Kubernetes admission requests with BinaryAuthorization using the
+     * project's singleton policy. This is equivalent to setting the
+     * enabled boolean to true.
+     * 
+ * + * PROJECT_SINGLETON_POLICY_ENFORCE = 2; + */ + public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EvaluationMode 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 EvaluationMode forNumber(int value) { + switch (value) { + case 0: + return EVALUATION_MODE_UNSPECIFIED; + case 1: + return DISABLED; + case 2: + return PROJECT_SINGLETON_POLICY_ENFORCE; + 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 EvaluationMode findValueByNumber(int number) { + return EvaluationMode.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.container.v1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0); + } + + private static final EvaluationMode[] VALUES = values(); + + public static EvaluationMode 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 EvaluationMode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1.BinaryAuthorization.EvaluationMode) + } + public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** @@ -128,6 +298,48 @@ public boolean getEnabled() { return enabled_; } + public static final int EVALUATION_MODE_FIELD_NUMBER = 2; + private int evaluationMode_; + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The enum numeric value on the wire for evaluationMode. + */ + @java.lang.Override + public int getEvaluationModeValue() { + return evaluationMode_; + } + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The evaluationMode. + */ + @java.lang.Override + public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @SuppressWarnings("deprecation") + com.google.container.v1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -145,6 +357,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enabled_ != false) { output.writeBool(1, enabled_); } + if (evaluationMode_ + != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, evaluationMode_); + } unknownFields.writeTo(output); } @@ -157,6 +374,11 @@ public int getSerializedSize() { if (enabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } + if (evaluationMode_ + != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, evaluationMode_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -174,6 +396,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.container.v1.BinaryAuthorization) obj; if (getEnabled() != other.getEnabled()) return false; + if (evaluationMode_ != other.evaluationMode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -187,6 +410,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; + hash = (53 * hash) + evaluationMode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -334,6 +559,8 @@ public Builder clear() { super.clear(); enabled_ = false; + evaluationMode_ = 0; + return this; } @@ -362,6 +589,7 @@ public com.google.container.v1.BinaryAuthorization buildPartial() { com.google.container.v1.BinaryAuthorization result = new com.google.container.v1.BinaryAuthorization(this); result.enabled_ = enabled_; + result.evaluationMode_ = evaluationMode_; onBuilt(); return result; } @@ -414,6 +642,9 @@ public Builder mergeFrom(com.google.container.v1.BinaryAuthorization other) { if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } + if (other.evaluationMode_ != 0) { + setEvaluationModeValue(other.getEvaluationModeValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -498,6 +729,110 @@ public Builder clearEnabled() { return this; } + private int evaluationMode_ = 0; + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The enum numeric value on the wire for evaluationMode. + */ + @java.lang.Override + public int getEvaluationModeValue() { + return evaluationMode_; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @param value The enum numeric value on the wire for evaluationMode to set. + * @return This builder for chaining. + */ + public Builder setEvaluationModeValue(int value) { + + evaluationMode_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The evaluationMode. + */ + @java.lang.Override + public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @SuppressWarnings("deprecation") + com.google.container.v1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @param value The evaluationMode to set. + * @return This builder for chaining. + */ + public Builder setEvaluationMode( + com.google.container.v1.BinaryAuthorization.EvaluationMode value) { + if (value == null) { + throw new NullPointerException(); + } + + evaluationMode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return This builder for chaining. + */ + public Builder clearEvaluationMode() { + + evaluationMode_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index 1aabd38e8e2b..29a986f235c2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java @@ -36,4 +36,33 @@ public interface BinaryAuthorizationOrBuilder * @return The enabled. */ boolean getEnabled(); + + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The enum numeric value on the wire for evaluationMode. + */ + int getEvaluationModeValue(); + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The evaluationMode. + */ + com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java new file mode 100644 index 000000000000..170e67a78c2e --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java @@ -0,0 +1,2372 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * Settings for blue-green upgrade.
+ * 
+ * + * Protobuf type {@code google.container.v1.BlueGreenSettings} + */ +public final class BlueGreenSettings extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.BlueGreenSettings) + BlueGreenSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use BlueGreenSettings.newBuilder() to construct. + private BlueGreenSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BlueGreenSettings() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BlueGreenSettings(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BlueGreenSettings( + 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 10: + { + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder subBuilder = + null; + if (rolloutPolicyCase_ == 1) { + subBuilder = + ((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_) + .toBuilder(); + } + rolloutPolicy_ = + input.readMessage( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_); + rolloutPolicy_ = subBuilder.buildPartial(); + } + rolloutPolicyCase_ = 1; + break; + } + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = nodePoolSoakDuration_.toBuilder(); + } + nodePoolSoakDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodePoolSoakDuration_); + nodePoolSoakDuration_ = 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 (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.BlueGreenSettings.class, + com.google.container.v1.BlueGreenSettings.Builder.class); + } + + public interface StandardRolloutPolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return Whether the batchPercentage field is set. + */ + boolean hasBatchPercentage(); + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return The batchPercentage. + */ + float getBatchPercentage(); + + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return Whether the batchNodeCount field is set. + */ + boolean hasBatchNodeCount(); + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return The batchNodeCount. + */ + int getBatchNodeCount(); + + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return Whether the batchSoakDuration field is set. + */ + boolean hasBatchSoakDuration(); + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return The batchSoakDuration. + */ + com.google.protobuf.Duration getBatchSoakDuration(); + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder(); + + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase + getUpdateBatchSizeCase(); + } + /** + * + * + *
+   * Standard rollout policy is the default policy for blue-green.
+   * 
+ * + * Protobuf type {@code google.container.v1.BlueGreenSettings.StandardRolloutPolicy} + */ + public static final class StandardRolloutPolicy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + StandardRolloutPolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use StandardRolloutPolicy.newBuilder() to construct. + private StandardRolloutPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StandardRolloutPolicy() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StandardRolloutPolicy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private StandardRolloutPolicy( + 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 13: + { + updateBatchSize_ = input.readFloat(); + updateBatchSizeCase_ = 1; + break; + } + case 16: + { + updateBatchSize_ = input.readInt32(); + updateBatchSizeCase_ = 2; + break; + } + case 26: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = batchSoakDuration_.toBuilder(); + } + batchSoakDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(batchSoakDuration_); + batchSoakDuration_ = 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 (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + } + + private int bitField0_; + private int updateBatchSizeCase_ = 0; + private java.lang.Object updateBatchSize_; + + public enum UpdateBatchSizeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + BATCH_PERCENTAGE(1), + BATCH_NODE_COUNT(2), + UPDATEBATCHSIZE_NOT_SET(0); + private final int value; + + private UpdateBatchSizeCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UpdateBatchSizeCase valueOf(int value) { + return forNumber(value); + } + + public static UpdateBatchSizeCase forNumber(int value) { + switch (value) { + case 1: + return BATCH_PERCENTAGE; + case 2: + return BATCH_NODE_COUNT; + case 0: + return UPDATEBATCHSIZE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + } + + public static final int BATCH_PERCENTAGE_FIELD_NUMBER = 1; + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return Whether the batchPercentage field is set. + */ + @java.lang.Override + public boolean hasBatchPercentage() { + return updateBatchSizeCase_ == 1; + } + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return The batchPercentage. + */ + @java.lang.Override + public float getBatchPercentage() { + if (updateBatchSizeCase_ == 1) { + return (java.lang.Float) updateBatchSize_; + } + return 0F; + } + + public static final int BATCH_NODE_COUNT_FIELD_NUMBER = 2; + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return Whether the batchNodeCount field is set. + */ + @java.lang.Override + public boolean hasBatchNodeCount() { + return updateBatchSizeCase_ == 2; + } + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return The batchNodeCount. + */ + @java.lang.Override + public int getBatchNodeCount() { + if (updateBatchSizeCase_ == 2) { + return (java.lang.Integer) updateBatchSize_; + } + return 0; + } + + public static final int BATCH_SOAK_DURATION_FIELD_NUMBER = 3; + private com.google.protobuf.Duration batchSoakDuration_; + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return Whether the batchSoakDuration field is set. + */ + @java.lang.Override + public boolean hasBatchSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return The batchSoakDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getBatchSoakDuration() { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } + + 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 (updateBatchSizeCase_ == 1) { + output.writeFloat(1, (float) ((java.lang.Float) updateBatchSize_)); + } + if (updateBatchSizeCase_ == 2) { + output.writeInt32(2, (int) ((java.lang.Integer) updateBatchSize_)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getBatchSoakDuration()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (updateBatchSizeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 1, (float) ((java.lang.Float) updateBatchSize_)); + } + if (updateBatchSizeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) updateBatchSize_)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBatchSoakDuration()); + } + 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.container.v1.BlueGreenSettings.StandardRolloutPolicy)) { + return super.equals(obj); + } + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other = + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) obj; + + if (hasBatchSoakDuration() != other.hasBatchSoakDuration()) return false; + if (hasBatchSoakDuration()) { + if (!getBatchSoakDuration().equals(other.getBatchSoakDuration())) return false; + } + if (!getUpdateBatchSizeCase().equals(other.getUpdateBatchSizeCase())) return false; + switch (updateBatchSizeCase_) { + case 1: + if (java.lang.Float.floatToIntBits(getBatchPercentage()) + != java.lang.Float.floatToIntBits(other.getBatchPercentage())) return false; + break; + case 2: + if (getBatchNodeCount() != other.getBatchNodeCount()) return false; + break; + case 0: + default: + } + 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 (hasBatchSoakDuration()) { + hash = (37 * hash) + BATCH_SOAK_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getBatchSoakDuration().hashCode(); + } + switch (updateBatchSizeCase_) { + case 1: + hash = (37 * hash) + BATCH_PERCENTAGE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBatchPercentage()); + break; + case 2: + hash = (37 * hash) + BATCH_NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getBatchNodeCount(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy 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.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy 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.container.v1.BlueGreenSettings.StandardRolloutPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + 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.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy 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.container.v1.BlueGreenSettings.StandardRolloutPolicy 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; + } + /** + * + * + *
+     * Standard rollout policy is the default policy for blue-green.
+     * 
+ * + * Protobuf type {@code google.container.v1.BlueGreenSettings.StandardRolloutPolicy} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + } + + // Construct using + // com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBatchSoakDurationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (batchSoakDurationBuilder_ == null) { + batchSoakDuration_ = null; + } else { + batchSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + } + + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { + return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy build() { + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy buildPartial() { + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy result = + new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (updateBatchSizeCase_ == 1) { + result.updateBatchSize_ = updateBatchSize_; + } + if (updateBatchSizeCase_ == 2) { + result.updateBatchSize_ = updateBatchSize_; + } + if (((from_bitField0_ & 0x00000001) != 0)) { + if (batchSoakDurationBuilder_ == null) { + result.batchSoakDuration_ = batchSoakDuration_; + } else { + result.batchSoakDuration_ = batchSoakDurationBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + result.updateBatchSizeCase_ = updateBatchSizeCase_; + 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.container.v1.BlueGreenSettings.StandardRolloutPolicy) { + return mergeFrom((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other) { + if (other + == com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) + return this; + if (other.hasBatchSoakDuration()) { + mergeBatchSoakDuration(other.getBatchSoakDuration()); + } + switch (other.getUpdateBatchSizeCase()) { + case BATCH_PERCENTAGE: + { + setBatchPercentage(other.getBatchPercentage()); + break; + } + case BATCH_NODE_COUNT: + { + setBatchNodeCount(other.getBatchNodeCount()); + break; + } + case UPDATEBATCHSIZE_NOT_SET: + { + break; + } + } + 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.container.v1.BlueGreenSettings.StandardRolloutPolicy parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int updateBatchSizeCase_ = 0; + private java.lang.Object updateBatchSize_; + + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + } + + public Builder clearUpdateBatchSize() { + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @return Whether the batchPercentage field is set. + */ + public boolean hasBatchPercentage() { + return updateBatchSizeCase_ == 1; + } + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @return The batchPercentage. + */ + public float getBatchPercentage() { + if (updateBatchSizeCase_ == 1) { + return (java.lang.Float) updateBatchSize_; + } + return 0F; + } + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @param value The batchPercentage to set. + * @return This builder for chaining. + */ + public Builder setBatchPercentage(float value) { + updateBatchSizeCase_ = 1; + updateBatchSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @return This builder for chaining. + */ + public Builder clearBatchPercentage() { + if (updateBatchSizeCase_ == 1) { + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @return Whether the batchNodeCount field is set. + */ + public boolean hasBatchNodeCount() { + return updateBatchSizeCase_ == 2; + } + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @return The batchNodeCount. + */ + public int getBatchNodeCount() { + if (updateBatchSizeCase_ == 2) { + return (java.lang.Integer) updateBatchSize_; + } + return 0; + } + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @param value The batchNodeCount to set. + * @return This builder for chaining. + */ + public Builder setBatchNodeCount(int value) { + updateBatchSizeCase_ = 2; + updateBatchSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearBatchNodeCount() { + if (updateBatchSizeCase_ == 2) { + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.Duration batchSoakDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + batchSoakDurationBuilder_; + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return Whether the batchSoakDuration field is set. + */ + public boolean hasBatchSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return The batchSoakDuration. + */ + public com.google.protobuf.Duration getBatchSoakDuration() { + if (batchSoakDurationBuilder_ == null) { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } else { + return batchSoakDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder setBatchSoakDuration(com.google.protobuf.Duration value) { + if (batchSoakDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + batchSoakDuration_ = value; + onChanged(); + } else { + batchSoakDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (batchSoakDurationBuilder_ == null) { + batchSoakDuration_ = builderForValue.build(); + onChanged(); + } else { + batchSoakDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { + if (batchSoakDurationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && batchSoakDuration_ != null + && batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + batchSoakDuration_ = + com.google.protobuf.Duration.newBuilder(batchSoakDuration_) + .mergeFrom(value) + .buildPartial(); + } else { + batchSoakDuration_ = value; + } + onChanged(); + } else { + batchSoakDurationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder clearBatchSoakDuration() { + if (batchSoakDurationBuilder_ == null) { + batchSoakDuration_ = null; + onChanged(); + } else { + batchSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public com.google.protobuf.Duration.Builder getBatchSoakDurationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getBatchSoakDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { + if (batchSoakDurationBuilder_ != null) { + return batchSoakDurationBuilder_.getMessageOrBuilder(); + } else { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getBatchSoakDurationFieldBuilder() { + if (batchSoakDurationBuilder_ == null) { + batchSoakDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getBatchSoakDuration(), getParentForChildren(), isClean()); + batchSoakDuration_ = null; + } + return batchSoakDurationBuilder_; + } + + @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.container.v1.BlueGreenSettings.StandardRolloutPolicy) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + private static final com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(); + } + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardRolloutPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StandardRolloutPolicy(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.container.v1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + private int rolloutPolicyCase_ = 0; + private java.lang.Object rolloutPolicy_; + + public enum RolloutPolicyCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + STANDARD_ROLLOUT_POLICY(1), + ROLLOUTPOLICY_NOT_SET(0); + private final int value; + + private RolloutPolicyCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RolloutPolicyCase valueOf(int value) { + return forNumber(value); + } + + public static RolloutPolicyCase forNumber(int value) { + switch (value) { + case 1: + return STANDARD_ROLLOUT_POLICY; + case 0: + return ROLLOUTPOLICY_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + } + + public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER = 1; + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return Whether the standardRolloutPolicy field is set. + */ + @java.lang.Override + public boolean hasStandardRolloutPolicy() { + return rolloutPolicyCase_ == 1; + } + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return The standardRolloutPolicy. + */ + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + } + return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + } + return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } + + public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER = 2; + private com.google.protobuf.Duration nodePoolSoakDuration_; + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return Whether the nodePoolSoakDuration field is set. + */ + @java.lang.Override + public boolean hasNodePoolSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return The nodePoolSoakDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getNodePoolSoakDuration() { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } + + 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 (rolloutPolicyCase_ == 1) { + output.writeMessage( + 1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getNodePoolSoakDuration()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (rolloutPolicyCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNodePoolSoakDuration()); + } + 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.container.v1.BlueGreenSettings)) { + return super.equals(obj); + } + com.google.container.v1.BlueGreenSettings other = + (com.google.container.v1.BlueGreenSettings) obj; + + if (hasNodePoolSoakDuration() != other.hasNodePoolSoakDuration()) return false; + if (hasNodePoolSoakDuration()) { + if (!getNodePoolSoakDuration().equals(other.getNodePoolSoakDuration())) return false; + } + if (!getRolloutPolicyCase().equals(other.getRolloutPolicyCase())) return false; + switch (rolloutPolicyCase_) { + case 1: + if (!getStandardRolloutPolicy().equals(other.getStandardRolloutPolicy())) return false; + break; + case 0: + default: + } + 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 (hasNodePoolSoakDuration()) { + hash = (37 * hash) + NODE_POOL_SOAK_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getNodePoolSoakDuration().hashCode(); + } + switch (rolloutPolicyCase_) { + case 1: + hash = (37 * hash) + STANDARD_ROLLOUT_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getStandardRolloutPolicy().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.BlueGreenSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.BlueGreenSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.BlueGreenSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.BlueGreenSettings 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.container.v1.BlueGreenSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.BlueGreenSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.BlueGreenSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.BlueGreenSettings 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.container.v1.BlueGreenSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.BlueGreenSettings 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.container.v1.BlueGreenSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.BlueGreenSettings 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.container.v1.BlueGreenSettings 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; + } + /** + * + * + *
+   * Settings for blue-green upgrade.
+   * 
+ * + * Protobuf type {@code google.container.v1.BlueGreenSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.BlueGreenSettings) + com.google.container.v1.BlueGreenSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.BlueGreenSettings.class, + com.google.container.v1.BlueGreenSettings.Builder.class); + } + + // Construct using com.google.container.v1.BlueGreenSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNodePoolSoakDurationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDuration_ = null; + } else { + nodePoolSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_descriptor; + } + + @java.lang.Override + public com.google.container.v1.BlueGreenSettings getDefaultInstanceForType() { + return com.google.container.v1.BlueGreenSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.BlueGreenSettings build() { + com.google.container.v1.BlueGreenSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.BlueGreenSettings buildPartial() { + com.google.container.v1.BlueGreenSettings result = + new com.google.container.v1.BlueGreenSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (rolloutPolicyCase_ == 1) { + if (standardRolloutPolicyBuilder_ == null) { + result.rolloutPolicy_ = rolloutPolicy_; + } else { + result.rolloutPolicy_ = standardRolloutPolicyBuilder_.build(); + } + } + if (((from_bitField0_ & 0x00000001) != 0)) { + if (nodePoolSoakDurationBuilder_ == null) { + result.nodePoolSoakDuration_ = nodePoolSoakDuration_; + } else { + result.nodePoolSoakDuration_ = nodePoolSoakDurationBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + result.rolloutPolicyCase_ = rolloutPolicyCase_; + 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.container.v1.BlueGreenSettings) { + return mergeFrom((com.google.container.v1.BlueGreenSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.BlueGreenSettings other) { + if (other == com.google.container.v1.BlueGreenSettings.getDefaultInstance()) return this; + if (other.hasNodePoolSoakDuration()) { + mergeNodePoolSoakDuration(other.getNodePoolSoakDuration()); + } + switch (other.getRolloutPolicyCase()) { + case STANDARD_ROLLOUT_POLICY: + { + mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); + break; + } + case ROLLOUTPOLICY_NOT_SET: + { + break; + } + } + 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.container.v1.BlueGreenSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.BlueGreenSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int rolloutPolicyCase_ = 0; + private java.lang.Object rolloutPolicy_; + + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + } + + public Builder clearRolloutPolicy() { + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + standardRolloutPolicyBuilder_; + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return Whether the standardRolloutPolicy field is set. + */ + @java.lang.Override + public boolean hasStandardRolloutPolicy() { + return rolloutPolicyCase_ == 1; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return The standardRolloutPolicy. + */ + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { + if (standardRolloutPolicyBuilder_ == null) { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + } + return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } else { + if (rolloutPolicyCase_ == 1) { + return standardRolloutPolicyBuilder_.getMessage(); + } + return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder setStandardRolloutPolicy( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { + if (standardRolloutPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rolloutPolicy_ = value; + onChanged(); + } else { + standardRolloutPolicyBuilder_.setMessage(value); + } + rolloutPolicyCase_ = 1; + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder setStandardRolloutPolicy( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue) { + if (standardRolloutPolicyBuilder_ == null) { + rolloutPolicy_ = builderForValue.build(); + onChanged(); + } else { + standardRolloutPolicyBuilder_.setMessage(builderForValue.build()); + } + rolloutPolicyCase_ = 1; + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder mergeStandardRolloutPolicy( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { + if (standardRolloutPolicyBuilder_ == null) { + if (rolloutPolicyCase_ == 1 + && rolloutPolicy_ + != com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance()) { + rolloutPolicy_ = + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder( + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_) + .mergeFrom(value) + .buildPartial(); + } else { + rolloutPolicy_ = value; + } + onChanged(); + } else { + if (rolloutPolicyCase_ == 1) { + standardRolloutPolicyBuilder_.mergeFrom(value); + } else { + standardRolloutPolicyBuilder_.setMessage(value); + } + } + rolloutPolicyCase_ = 1; + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder clearStandardRolloutPolicy() { + if (standardRolloutPolicyBuilder_ == null) { + if (rolloutPolicyCase_ == 1) { + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + onChanged(); + } + } else { + if (rolloutPolicyCase_ == 1) { + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + } + standardRolloutPolicyBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder + getStandardRolloutPolicyBuilder() { + return getStandardRolloutPolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + @java.lang.Override + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { + if ((rolloutPolicyCase_ == 1) && (standardRolloutPolicyBuilder_ != null)) { + return standardRolloutPolicyBuilder_.getMessageOrBuilder(); + } else { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + } + return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + getStandardRolloutPolicyFieldBuilder() { + if (standardRolloutPolicyBuilder_ == null) { + if (!(rolloutPolicyCase_ == 1)) { + rolloutPolicy_ = + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + } + standardRolloutPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_, + getParentForChildren(), + isClean()); + rolloutPolicy_ = null; + } + rolloutPolicyCase_ = 1; + onChanged(); + ; + return standardRolloutPolicyBuilder_; + } + + private com.google.protobuf.Duration nodePoolSoakDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + nodePoolSoakDurationBuilder_; + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return Whether the nodePoolSoakDuration field is set. + */ + public boolean hasNodePoolSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return The nodePoolSoakDuration. + */ + public com.google.protobuf.Duration getNodePoolSoakDuration() { + if (nodePoolSoakDurationBuilder_ == null) { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } else { + return nodePoolSoakDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) { + if (nodePoolSoakDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodePoolSoakDuration_ = value; + onChanged(); + } else { + nodePoolSoakDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDuration_ = builderForValue.build(); + onChanged(); + } else { + nodePoolSoakDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) { + if (nodePoolSoakDurationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && nodePoolSoakDuration_ != null + && nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + nodePoolSoakDuration_ = + com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_) + .mergeFrom(value) + .buildPartial(); + } else { + nodePoolSoakDuration_ = value; + } + onChanged(); + } else { + nodePoolSoakDurationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder clearNodePoolSoakDuration() { + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDuration_ = null; + onChanged(); + } else { + nodePoolSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public com.google.protobuf.Duration.Builder getNodePoolSoakDurationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getNodePoolSoakDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() { + if (nodePoolSoakDurationBuilder_ != null) { + return nodePoolSoakDurationBuilder_.getMessageOrBuilder(); + } else { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getNodePoolSoakDurationFieldBuilder() { + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getNodePoolSoakDuration(), getParentForChildren(), isClean()); + nodePoolSoakDuration_ = null; + } + return nodePoolSoakDurationBuilder_; + } + + @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.container.v1.BlueGreenSettings) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.BlueGreenSettings) + private static final com.google.container.v1.BlueGreenSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.BlueGreenSettings(); + } + + public static com.google.container.v1.BlueGreenSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BlueGreenSettings(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.container.v1.BlueGreenSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java new file mode 100644 index 000000000000..486ad17f4e63 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.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/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface BlueGreenSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.BlueGreenSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return Whether the standardRolloutPolicy field is set. + */ + boolean hasStandardRolloutPolicy(); + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return The standardRolloutPolicy. + */ + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy(); + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder(); + + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return Whether the nodePoolSoakDuration field is set. + */ + boolean hasNodePoolSoakDuration(); + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return The nodePoolSoakDuration. + */ + com.google.protobuf.Duration getNodePoolSoakDuration(); + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder(); + + public com.google.container.v1.BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index 760fbe27b419..985400cb5eeb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -144,14 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return The projectId. */ @java.lang.Override @@ -172,14 +172,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return The bytes for projectId. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return The zone. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return The bytes for zone. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return The operationId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return The bytes for operationId. */ @java.lang.Override @@ -735,14 +735,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return The projectId. */ @java.lang.Deprecated @@ -762,14 +762,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -789,14 +789,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @param value The projectId to set. * @return This builder for chaining. */ @@ -815,14 +815,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return This builder for chaining. */ @java.lang.Deprecated @@ -837,14 +837,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return The operationId. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index e1f973063d69..d001b3c9c0b7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface CancelOperationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface CancelOperationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2405 + * google/container/v1/cluster_service.proto;l=2543 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2411 + * google/container/v1/cluster_service.proto;l=2549 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return The operationId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2415 + * google/container/v1/cluster_service.proto;l=2553 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index f67f0b314e86..6821ec62e28f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -549,6 +549,22 @@ private Cluster( confidentialNodes_ = subBuilder.buildPartial(); } + break; + } + case 434: + { + com.google.container.v1.IdentityServiceConfig.Builder subBuilder = null; + if (identityServiceConfig_ != null) { + subBuilder = identityServiceConfig_.toBuilder(); + } + identityServiceConfig_ = + input.readMessage( + com.google.container.v1.IdentityServiceConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identityServiceConfig_); + identityServiceConfig_ = subBuilder.buildPartial(); + } + break; } case 538: @@ -762,6 +778,22 @@ private Cluster( monitoringConfig_ = subBuilder.buildPartial(); } + break; + } + case 1090: + { + com.google.container.v1.NodePoolAutoConfig.Builder subBuilder = null; + if (nodePoolAutoConfig_ != null) { + subBuilder = nodePoolAutoConfig_.toBuilder(); + } + nodePoolAutoConfig_ = + input.readMessage( + com.google.container.v1.NodePoolAutoConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodePoolAutoConfig_); + nodePoolAutoConfig_ = subBuilder.buildPartial(); + } + break; } default: @@ -1206,7 +1238,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1312 + * google/container/v1/cluster_service.proto;l=1403 * @return The initialNodeCount. */ @java.lang.Override @@ -1236,7 +1268,7 @@ public int getInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1325 + * google/container/v1/cluster_service.proto;l=1416 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -1263,7 +1295,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1325 + * google/container/v1/cluster_service.proto;l=1416 * @return The nodeConfig. */ @java.lang.Override @@ -2992,7 +3024,8 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -3007,7 +3040,8 @@ public boolean hasConfidentialNodes() { * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -3024,7 +3058,8 @@ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -3034,6 +3069,55 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr return getConfidentialNodes(); } + public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 54; + private com.google.container.v1.IdentityServiceConfig identityServiceConfig_; + /** + * + * + *
+   * Configuration for Identity Service component.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * + * @return Whether the identityServiceConfig field is set. + */ + @java.lang.Override + public boolean hasIdentityServiceConfig() { + return identityServiceConfig_ != null; + } + /** + * + * + *
+   * Configuration for Identity Service component.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * + * @return The identityServiceConfig. + */ + @java.lang.Override + public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() { + return identityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; + } + /** + * + * + *
+   * Configuration for Identity Service component.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + @java.lang.Override + public com.google.container.v1.IdentityServiceConfigOrBuilder + getIdentityServiceConfigOrBuilder() { + return getIdentityServiceConfig(); + } + public static final int SELF_LINK_FIELD_NUMBER = 100; private volatile java.lang.Object selfLink_; /** @@ -3097,7 +3181,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return The zone. */ @java.lang.Override @@ -3125,7 +3209,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return The bytes for zone. */ @java.lang.Override @@ -3333,7 +3417,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return The currentNodeVersion. */ @java.lang.Override @@ -3363,7 +3447,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3481,7 +3565,7 @@ public com.google.container.v1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return The statusMessage. */ @java.lang.Override @@ -3509,7 +3593,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3616,7 +3700,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3633,7 +3717,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3650,7 +3734,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3668,7 +3752,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3690,7 +3774,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1549 + * google/container/v1/cluster_service.proto;l=1644 * @return The currentNodeCount. */ @java.lang.Override @@ -4191,6 +4275,57 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu return getMonitoringConfig(); } + public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER = 136; + private com.google.container.v1.NodePoolAutoConfig nodePoolAutoConfig_; + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return Whether the nodePoolAutoConfig field is set. + */ + @java.lang.Override + public boolean hasNodePoolAutoConfig() { + return nodePoolAutoConfig_ != null; + } + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return The nodePoolAutoConfig. + */ + @java.lang.Override + public com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig() { + return nodePoolAutoConfig_ == null + ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; + } + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + @java.lang.Override + public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder() { + return getNodePoolAutoConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -4309,6 +4444,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (confidentialNodes_ != null) { output.writeMessage(50, getConfidentialNodes()); } + if (identityServiceConfig_ != null) { + output.writeMessage(54, getIdentityServiceConfig()); + } if (meshCertificates_ != null) { output.writeMessage(67, getMeshCertificates()); } @@ -4381,6 +4519,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (monitoringConfig_ != null) { output.writeMessage(133, getMonitoringConfig()); } + if (nodePoolAutoConfig_ != null) { + output.writeMessage(136, getNodePoolAutoConfig()); + } unknownFields.writeTo(output); } @@ -4519,6 +4660,10 @@ public int getSerializedSize() { if (confidentialNodes_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getConfidentialNodes()); } + if (identityServiceConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(54, getIdentityServiceConfig()); + } if (meshCertificates_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(67, getMeshCertificates()); } @@ -4596,6 +4741,10 @@ public int getSerializedSize() { if (monitoringConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig()); } + if (nodePoolAutoConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(136, getNodePoolAutoConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -4720,6 +4869,10 @@ public boolean equals(final java.lang.Object obj) { if (hasConfidentialNodes()) { if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; } + if (hasIdentityServiceConfig() != other.hasIdentityServiceConfig()) return false; + if (hasIdentityServiceConfig()) { + if (!getIdentityServiceConfig().equals(other.getIdentityServiceConfig())) return false; + } if (!getSelfLink().equals(other.getSelfLink())) return false; if (!getZone().equals(other.getZone())) return false; if (!getEndpoint().equals(other.getEndpoint())) return false; @@ -4755,6 +4908,10 @@ public boolean equals(final java.lang.Object obj) { if (hasMonitoringConfig()) { if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } + if (hasNodePoolAutoConfig() != other.hasNodePoolAutoConfig()) return false; + if (hasNodePoolAutoConfig()) { + if (!getNodePoolAutoConfig().equals(other.getNodePoolAutoConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4890,6 +5047,10 @@ public int hashCode() { hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; hash = (53 * hash) + getConfidentialNodes().hashCode(); } + if (hasIdentityServiceConfig()) { + hash = (37 * hash) + IDENTITY_SERVICE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getIdentityServiceConfig().hashCode(); + } hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; hash = (53 * hash) + getSelfLink().hashCode(); hash = (37 * hash) + ZONE_FIELD_NUMBER; @@ -4948,6 +5109,10 @@ public int hashCode() { hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMonitoringConfig().hashCode(); } + if (hasNodePoolAutoConfig()) { + hash = (37 * hash) + NODE_POOL_AUTO_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNodePoolAutoConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -5282,6 +5447,12 @@ public Builder clear() { confidentialNodes_ = null; confidentialNodesBuilder_ = null; } + if (identityServiceConfigBuilder_ == null) { + identityServiceConfig_ = null; + } else { + identityServiceConfig_ = null; + identityServiceConfigBuilder_ = null; + } selfLink_ = ""; zone_ = ""; @@ -5348,6 +5519,12 @@ public Builder clear() { monitoringConfig_ = null; monitoringConfigBuilder_ = null; } + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfig_ = null; + } else { + nodePoolAutoConfig_ = null; + nodePoolAutoConfigBuilder_ = null; + } return this; } @@ -5517,6 +5694,11 @@ public com.google.container.v1.Cluster buildPartial() { } else { result.confidentialNodes_ = confidentialNodesBuilder_.build(); } + if (identityServiceConfigBuilder_ == null) { + result.identityServiceConfig_ = identityServiceConfig_; + } else { + result.identityServiceConfig_ = identityServiceConfigBuilder_.build(); + } result.selfLink_ = selfLink_; result.zone_ = zone_; result.endpoint_ = endpoint_; @@ -5571,6 +5753,11 @@ public com.google.container.v1.Cluster buildPartial() { } else { result.monitoringConfig_ = monitoringConfigBuilder_.build(); } + if (nodePoolAutoConfigBuilder_ == null) { + result.nodePoolAutoConfig_ = nodePoolAutoConfig_; + } else { + result.nodePoolAutoConfig_ = nodePoolAutoConfigBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -5766,6 +5953,9 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { if (other.hasConfidentialNodes()) { mergeConfidentialNodes(other.getConfidentialNodes()); } + if (other.hasIdentityServiceConfig()) { + mergeIdentityServiceConfig(other.getIdentityServiceConfig()); + } if (!other.getSelfLink().isEmpty()) { selfLink_ = other.selfLink_; onChanged(); @@ -5879,6 +6069,9 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { if (other.hasMonitoringConfig()) { mergeMonitoringConfig(other.getMonitoringConfig()); } + if (other.hasNodePoolAutoConfig()) { + mergeNodePoolAutoConfig(other.getNodePoolAutoConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -6166,7 +6359,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1312 + * google/container/v1/cluster_service.proto;l=1403 * @return The initialNodeCount. */ @java.lang.Override @@ -6192,7 +6385,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1312 + * google/container/v1/cluster_service.proto;l=1403 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -6221,7 +6414,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1312 + * google/container/v1/cluster_service.proto;l=1403 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6257,7 +6450,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1325 + * google/container/v1/cluster_service.proto;l=1416 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -6283,7 +6476,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1325 + * google/container/v1/cluster_service.proto;l=1416 * @return The nodeConfig. */ @java.lang.Deprecated @@ -12168,7 +12361,8 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12182,7 +12376,8 @@ public boolean hasConfidentialNodes() { * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12202,7 +12397,8 @@ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12224,7 +12420,8 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12244,7 +12441,8 @@ public Builder setConfidentialNodes( * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12270,7 +12468,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12290,7 +12489,8 @@ public Builder clearConfidentialNodes() { * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12304,7 +12504,8 @@ public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBui * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12322,7 +12523,8 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -12344,6 +12546,193 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr return confidentialNodesBuilder_; } + private com.google.container.v1.IdentityServiceConfig identityServiceConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> + identityServiceConfigBuilder_; + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * + * @return Whether the identityServiceConfig field is set. + */ + public boolean hasIdentityServiceConfig() { + return identityServiceConfigBuilder_ != null || identityServiceConfig_ != null; + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * + * @return The identityServiceConfig. + */ + public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() { + if (identityServiceConfigBuilder_ == null) { + return identityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; + } else { + return identityServiceConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + public Builder setIdentityServiceConfig(com.google.container.v1.IdentityServiceConfig value) { + if (identityServiceConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + identityServiceConfig_ = value; + onChanged(); + } else { + identityServiceConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + public Builder setIdentityServiceConfig( + com.google.container.v1.IdentityServiceConfig.Builder builderForValue) { + if (identityServiceConfigBuilder_ == null) { + identityServiceConfig_ = builderForValue.build(); + onChanged(); + } else { + identityServiceConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + public Builder mergeIdentityServiceConfig(com.google.container.v1.IdentityServiceConfig value) { + if (identityServiceConfigBuilder_ == null) { + if (identityServiceConfig_ != null) { + identityServiceConfig_ = + com.google.container.v1.IdentityServiceConfig.newBuilder(identityServiceConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + identityServiceConfig_ = value; + } + onChanged(); + } else { + identityServiceConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + public Builder clearIdentityServiceConfig() { + if (identityServiceConfigBuilder_ == null) { + identityServiceConfig_ = null; + onChanged(); + } else { + identityServiceConfig_ = null; + identityServiceConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + public com.google.container.v1.IdentityServiceConfig.Builder getIdentityServiceConfigBuilder() { + + onChanged(); + return getIdentityServiceConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + public com.google.container.v1.IdentityServiceConfigOrBuilder + getIdentityServiceConfigOrBuilder() { + if (identityServiceConfigBuilder_ != null) { + return identityServiceConfigBuilder_.getMessageOrBuilder(); + } else { + return identityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; + } + } + /** + * + * + *
+     * Configuration for Identity Service component.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> + getIdentityServiceConfigFieldBuilder() { + if (identityServiceConfigBuilder_ == null) { + identityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder>( + getIdentityServiceConfig(), getParentForChildren(), isClean()); + identityServiceConfig_ = null; + } + return identityServiceConfigBuilder_; + } + private java.lang.Object selfLink_ = ""; /** * @@ -12463,7 +12852,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return The zone. */ @java.lang.Deprecated @@ -12490,7 +12879,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return The bytes for zone. */ @java.lang.Deprecated @@ -12517,7 +12906,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @param value The zone to set. * @return This builder for chaining. */ @@ -12543,7 +12932,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return This builder for chaining. */ @java.lang.Deprecated @@ -12565,7 +12954,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -12984,7 +13373,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -13013,7 +13402,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -13042,7 +13431,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -13070,7 +13459,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13094,7 +13483,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -13325,7 +13714,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return The statusMessage. */ @java.lang.Deprecated @@ -13352,7 +13741,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -13379,7 +13768,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -13405,7 +13794,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13427,7 +13816,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -13649,7 +14038,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -13666,7 +14055,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -13683,7 +14072,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -13701,7 +14090,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -13719,7 +14108,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -13744,7 +14133,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -13768,7 +14157,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -13789,7 +14178,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13809,7 +14198,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -13837,7 +14226,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1549 + * google/container/v1/cluster_service.proto;l=1644 * @return The currentNodeCount. */ @java.lang.Override @@ -13856,7 +14245,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1549 + * google/container/v1/cluster_service.proto;l=1644 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -13878,7 +14267,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1549 + * google/container/v1/cluster_service.proto;l=1644 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15501,6 +15890,201 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu return monitoringConfigBuilder_; } + private com.google.container.v1.NodePoolAutoConfig nodePoolAutoConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolAutoConfig, + com.google.container.v1.NodePoolAutoConfig.Builder, + com.google.container.v1.NodePoolAutoConfigOrBuilder> + nodePoolAutoConfigBuilder_; + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return Whether the nodePoolAutoConfig field is set. + */ + public boolean hasNodePoolAutoConfig() { + return nodePoolAutoConfigBuilder_ != null || nodePoolAutoConfig_ != null; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return The nodePoolAutoConfig. + */ + public com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig() { + if (nodePoolAutoConfigBuilder_ == null) { + return nodePoolAutoConfig_ == null + ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; + } else { + return nodePoolAutoConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder setNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfig value) { + if (nodePoolAutoConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodePoolAutoConfig_ = value; + onChanged(); + } else { + nodePoolAutoConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder setNodePoolAutoConfig( + com.google.container.v1.NodePoolAutoConfig.Builder builderForValue) { + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfig_ = builderForValue.build(); + onChanged(); + } else { + nodePoolAutoConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder mergeNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfig value) { + if (nodePoolAutoConfigBuilder_ == null) { + if (nodePoolAutoConfig_ != null) { + nodePoolAutoConfig_ = + com.google.container.v1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + nodePoolAutoConfig_ = value; + } + onChanged(); + } else { + nodePoolAutoConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder clearNodePoolAutoConfig() { + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfig_ = null; + onChanged(); + } else { + nodePoolAutoConfig_ = null; + nodePoolAutoConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public com.google.container.v1.NodePoolAutoConfig.Builder getNodePoolAutoConfigBuilder() { + + onChanged(); + return getNodePoolAutoConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder() { + if (nodePoolAutoConfigBuilder_ != null) { + return nodePoolAutoConfigBuilder_.getMessageOrBuilder(); + } else { + return nodePoolAutoConfig_ == null + ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; + } + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolAutoConfig, + com.google.container.v1.NodePoolAutoConfig.Builder, + com.google.container.v1.NodePoolAutoConfigOrBuilder> + getNodePoolAutoConfigFieldBuilder() { + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolAutoConfig, + com.google.container.v1.NodePoolAutoConfig.Builder, + com.google.container.v1.NodePoolAutoConfigOrBuilder>( + getNodePoolAutoConfig(), getParentForChildren(), isClean()); + nodePoolAutoConfig_ = null; + } + return nodePoolAutoConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index ff9ea8c146b7..7ad4d740b54b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java @@ -101,7 +101,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1312 + * google/container/v1/cluster_service.proto;l=1403 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1325 + * google/container/v1/cluster_service.proto;l=1416 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1325 + * google/container/v1/cluster_service.proto;l=1416 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1375,7 +1375,8 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -1387,7 +1388,8 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; @@ -1399,13 +1401,49 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; */ com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder(); + /** + * + * + *
+   * Configuration for Identity Service component.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * + * @return Whether the identityServiceConfig field is set. + */ + boolean hasIdentityServiceConfig(); + /** + * + * + *
+   * Configuration for Identity Service component.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * + * @return The identityServiceConfig. + */ + com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig(); + /** + * + * + *
+   * Configuration for Identity Service component.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + */ + com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder(); + /** * * @@ -1443,7 +1481,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return The zone. */ @java.lang.Deprecated @@ -1460,7 +1498,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1484 + * google/container/v1/cluster_service.proto;l=1579 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1583,7 +1621,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1602,7 +1640,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1517 + * google/container/v1/cluster_service.proto;l=1612 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1672,7 +1710,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return The statusMessage. */ @java.lang.Deprecated @@ -1689,7 +1727,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1529 + * google/container/v1/cluster_service.proto;l=1624 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -1754,7 +1792,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -1769,7 +1807,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -1784,7 +1822,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -1800,7 +1838,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1545 + * google/container/v1/cluster_service.proto;l=1640 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -1818,7 +1856,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1549 + * google/container/v1/cluster_service.proto;l=1644 * @return The currentNodeCount. */ @java.lang.Deprecated @@ -2145,4 +2183,42 @@ java.lang.String getResourceLabelsOrDefault( * .google.container.v1.MonitoringConfig monitoring_config = 133; */ com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); + + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return Whether the nodePoolAutoConfig field is set. + */ + boolean hasNodePoolAutoConfig(); + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return The nodePoolAutoConfig. + */ + com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig(); + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java index 51b009709355..da83da4b9752 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java @@ -59,6 +59,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_NodeNetworkConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -79,6 +83,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_NodeTaint_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_NodeTaint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodeTaints_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodeTaints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodeLabels_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodeLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodeLabels_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NetworkTags_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NetworkTags_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_MasterAuth_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -171,6 +191,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_Cluster_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodePoolAutoConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_NodePoolDefaults_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -295,6 +319,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_GetNodePoolRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_BlueGreenSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_NodePool_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -303,6 +335,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodePool_UpdateInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_NodeManagement_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -347,6 +387,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -395,6 +439,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_AcceleratorConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_GPUSharingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_WorkloadMetadataConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -463,6 +511,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_WorkloadIdentityConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_IdentityServiceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1_MeshCertificates_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -563,6 +615,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_MonitoringComponentConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_ManagedPrometheusConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -576,515 +632,600 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oto\022\023google.container.v1\032\034google/api/ann" + "otations.proto\032\027google/api/client.proto\032" + "\037google/api/field_behavior.proto\032\031google" - + "/api/resource.proto\032\033google/protobuf/emp" - + "ty.proto\032\037google/protobuf/timestamp.prot" - + "o\032\036google/protobuf/wrappers.proto\032\025googl" - + "e/rpc/code.proto\032\027google/rpc/status.prot" - + "o\"\205\001\n\017LinuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321" - + ".google.container.v1.LinuxNodeConfig.Sys" - + "ctlsEntry\032.\n\014SysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\021NodeKubeletConfig\022" - + "\032\n\022cpu_manager_policy\030\001 \001(\t\0221\n\rcpu_cfs_q" - + "uota\030\002 \001(\0132\032.google.protobuf.BoolValue\022\034" - + "\n\024cpu_cfs_quota_period\030\003 \001(\t\"\271\t\n\nNodeCon" - + "fig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014disk_size_g" - + "b\030\002 \001(\005\022\024\n\014oauth_scopes\030\003 \003(\t\022\027\n\017service" - + "_account\030\t \001(\t\022?\n\010metadata\030\004 \003(\0132-.googl" - + "e.container.v1.NodeConfig.MetadataEntry\022" - + "\022\n\nimage_type\030\005 \001(\t\022;\n\006labels\030\006 \003(\0132+.go" - + "ogle.container.v1.NodeConfig.LabelsEntry" - + "\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022" - + "\023\n\013preemptible\030\n \001(\010\022<\n\014accelerators\030\013 \003" - + "(\0132&.google.container.v1.AcceleratorConf" - + "ig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n\020min_cpu_platfor" - + "m\030\r \001(\t\022M\n\030workload_metadata_config\030\016 \001(" - + "\0132+.google.container.v1.WorkloadMetadata" - + "Config\022.\n\006taints\030\017 \003(\0132\036.google.containe" - + "r.v1.NodeTaint\022:\n\016sandbox_config\030\021 \001(\0132\"" - + ".google.container.v1.SandboxConfig\022\022\n\nno" - + "de_group\030\022 \001(\t\022F\n\024reservation_affinity\030\023" - + " \001(\0132(.google.container.v1.ReservationAf" - + "finity\022M\n\030shielded_instance_config\030\024 \001(\013" - + "2+.google.container.v1.ShieldedInstanceC" - + "onfig\022?\n\021linux_node_config\030\025 \001(\0132$.googl" - + "e.container.v1.LinuxNodeConfig\022>\n\016kubele" - + "t_config\030\026 \001(\0132&.google.container.v1.Nod" - + "eKubeletConfig\022\031\n\021boot_disk_kms_key\030\027 \001(" - + "\t\0224\n\013gcfs_config\030\031 \001(\0132\037.google.containe" - + "r.v1.GcfsConfig\022O\n\031advanced_machine_feat" - + "ures\030\032 \001(\0132,.google.container.v1.Advance" - + "dMachineFeatures\022.\n\005gvnic\030\035 \001(\0132\037.google" - + ".container.v1.VirtualNIC\032/\n\rMetadataEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"M\n\027AdvancedMachineFeatures\022\035\n\020threads_p" - + "er_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_per_core\"" - + "b\n\021NodeNetworkConfig\022\035\n\020create_pod_range" - + "\030\004 \001(\010B\003\340A\004\022\021\n\tpod_range\030\005 \001(\t\022\033\n\023pod_ip" - + "v4_cidr_block\030\006 \001(\t\"Y\n\026ShieldedInstanceC" - + "onfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n\033ena" - + "ble_integrity_monitoring\030\002 \001(\010\"k\n\rSandbo" - + "xConfig\0225\n\004type\030\002 \001(\0162\'.google.container" - + ".v1.SandboxConfig.Type\"#\n\004Type\022\017\n\013UNSPEC" - + "IFIED\020\000\022\n\n\006GVISOR\020\001\"\035\n\nGcfsConfig\022\017\n\007ena" - + "bled\030\001 \001(\010\"\337\001\n\023ReservationAffinity\022O\n\030co" - + "nsume_reservation_type\030\001 \001(\0162-.google.co" - + "ntainer.v1.ReservationAffinity.Type\022\013\n\003k" - + "ey\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004Type\022\017\n\013UNSP" - + "ECIFIED\020\000\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_RES" - + "ERVATION\020\002\022\030\n\024SPECIFIC_RESERVATION\020\003\"\271\001\n" - + "\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\0225" - + "\n\006effect\030\003 \001(\0162%.google.container.v1.Nod" - + "eTaint.Effect\"Y\n\006Effect\022\026\n\022EFFECT_UNSPEC" - + "IFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SC" - + "HEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"\331\001\n\nMasterAuth\022" - + "\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n\010password\030\002 \001(\tB" - + "\002\030\001\022O\n\031client_certificate_config\030\003 \001(\0132," - + ".google.container.v1.ClientCertificateCo" - + "nfig\022\036\n\026cluster_ca_certificate\030d \001(\t\022\032\n\022" - + "client_certificate\030e \001(\t\022\022\n\nclient_key\030f" - + " \001(\t\";\n\027ClientCertificateConfig\022 \n\030issue" - + "_client_certificate\030\001 \001(\010\"\307\005\n\014AddonsConf" - + "ig\022C\n\023http_load_balancing\030\001 \001(\0132&.google" - + ".container.v1.HttpLoadBalancing\022Q\n\032horiz" - + "ontal_pod_autoscaling\030\002 \001(\0132-.google.con" - + "tainer.v1.HorizontalPodAutoscaling\022J\n\024ku" - + "bernetes_dashboard\030\003 \001(\0132(.google.contai" - + "ner.v1.KubernetesDashboardB\002\030\001\022G\n\025networ" - + "k_policy_config\030\004 \001(\0132(.google.container" - + ".v1.NetworkPolicyConfig\022=\n\020cloud_run_con" - + "fig\030\007 \001(\0132#.google.container.v1.CloudRun" - + "Config\022=\n\020dns_cache_config\030\010 \001(\0132#.googl" - + "e.container.v1.DnsCacheConfig\022K\n\027config_" - + "connector_config\030\n \001(\0132*.google.containe" - + "r.v1.ConfigConnectorConfig\022d\n%gce_persis" - + "tent_disk_csi_driver_config\030\013 \001(\01325.goog" - + "le.container.v1.GcePersistentDiskCsiDriv" - + "erConfig\022Y\n\037gcp_filestore_csi_driver_con" - + "fig\030\016 \001(\01320.google.container.v1.GcpFiles" - + "toreCsiDriverConfig\"%\n\021HttpLoadBalancing" - + "\022\020\n\010disabled\030\001 \001(\010\",\n\030HorizontalPodAutos" - + "caling\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDa" - + "shboard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPoli" - + "cyConfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheCo" - + "nfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClusterM" - + "asterGlobalAccessConfig\022\017\n\007enabled\030\001 \001(\010" - + "\"\240\002\n\024PrivateClusterConfig\022\034\n\024enable_priv" - + "ate_nodes\030\001 \001(\010\022\037\n\027enable_private_endpoi" - + "nt\030\002 \001(\010\022\036\n\026master_ipv4_cidr_block\030\003 \001(\t" - + "\022\030\n\020private_endpoint\030\004 \001(\t\022\027\n\017public_end" - + "point\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022`\n\033mas" - + "ter_global_access_config\030\010 \001(\0132;.google." - + "container.v1.PrivateClusterMasterGlobalA" - + "ccessConfig\"D\n\031AuthenticatorGroupsConfig" - + "\022\017\n\007enabled\030\001 \001(\010\022\026\n\016security_group\030\002 \001(" - + "\t\"\356\001\n\016CloudRunConfig\022\020\n\010disabled\030\001 \001(\010\022P" - + "\n\022load_balancer_type\030\003 \001(\01624.google.cont" - + "ainer.v1.CloudRunConfig.LoadBalancerType" - + "\"x\n\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TY" - + "PE_UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_E" - + "XTERNAL\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL" - + "\020\002\"(\n\025ConfigConnectorConfig\022\017\n\007enabled\030\001" - + " \001(\010\"3\n GcePersistentDiskCsiDriverConfig" - + "\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilestoreCsiDriv" - + "erConfig\022\017\n\007enabled\030\001 \001(\010\"\274\001\n\036MasterAuth" - + "orizedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022R\n" - + "\013cidr_blocks\030\002 \003(\0132=.google.container.v1" - + ".MasterAuthorizedNetworksConfig.CidrBloc" - + "k\0325\n\tCidrBlock\022\024\n\014display_name\030\001 \001(\t\022\022\n\n" - + "cidr_block\030\002 \001(\t\"\035\n\nLegacyAbac\022\017\n\007enable" - + "d\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010provider\030\001 " - + "\001(\0162+.google.container.v1.NetworkPolicy." - + "Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provider\022\030\n" - + "\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001\"&\n\023B" - + "inaryAuthorization\022\017\n\007enabled\030\001 \001(\010\"\232\003\n\022" - + "IPAllocationPolicy\022\026\n\016use_ip_aliases\030\001 \001" - + "(\010\022\031\n\021create_subnetwork\030\002 \001(\010\022\027\n\017subnetw" - + "ork_name\030\003 \001(\t\022\035\n\021cluster_ipv4_cidr\030\004 \001(" - + "\tB\002\030\001\022\032\n\016node_ipv4_cidr\030\005 \001(\tB\002\030\001\022\036\n\022ser" - + "vices_ipv4_cidr\030\006 \001(\tB\002\030\001\022$\n\034cluster_sec" - + "ondary_range_name\030\007 \001(\t\022%\n\035services_seco" - + "ndary_range_name\030\010 \001(\t\022\037\n\027cluster_ipv4_c" - + "idr_block\030\t \001(\t\022\034\n\024node_ipv4_cidr_block\030" - + "\n \001(\t\022 \n\030services_ipv4_cidr_block\030\013 \001(\t\022" - + "\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022\022\n\nuse_rout" - + "es\030\017 \001(\010\"\246\027\n\007Cluster\022\014\n\004name\030\001 \001(\t\022\023\n\013de" - + "scription\030\002 \001(\t\022\036\n\022initial_node_count\030\003 " - + "\001(\005B\002\030\001\0228\n\013node_config\030\004 \001(\0132\037.google.co" - + "ntainer.v1.NodeConfigB\002\030\001\0224\n\013master_auth" - + "\030\005 \001(\0132\037.google.container.v1.MasterAuth\022" - + "\027\n\017logging_service\030\006 \001(\t\022\032\n\022monitoring_s" - + "ervice\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022\031\n\021cluster" - + "_ipv4_cidr\030\t \001(\t\0228\n\raddons_config\030\n \001(\0132" - + "!.google.container.v1.AddonsConfig\022\022\n\nsu" - + "bnetwork\030\013 \001(\t\0221\n\nnode_pools\030\014 \003(\0132\035.goo" - + "gle.container.v1.NodePool\022\021\n\tlocations\030\r" - + " \003(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022I\n" - + "\017resource_labels\030\017 \003(\01320.google.containe" - + "r.v1.Cluster.ResourceLabelsEntry\022\031\n\021labe" - + "l_fingerprint\030\020 \001(\t\0224\n\013legacy_abac\030\022 \001(\013" - + "2\037.google.container.v1.LegacyAbac\022:\n\016net" - + "work_policy\030\023 \001(\0132\".google.container.v1." - + "NetworkPolicy\022E\n\024ip_allocation_policy\030\024 " - + "\001(\0132\'.google.container.v1.IPAllocationPo" - + "licy\022^\n!master_authorized_networks_confi" - + "g\030\026 \001(\01323.google.container.v1.MasterAuth" - + "orizedNetworksConfig\022B\n\022maintenance_poli" - + "cy\030\027 \001(\0132&.google.container.v1.Maintenan" - + "cePolicy\022F\n\024binary_authorization\030\030 \001(\0132(" - + ".google.container.v1.BinaryAuthorization" - + "\022<\n\013autoscaling\030\032 \001(\0132\'.google.container" - + ".v1.ClusterAutoscaling\022:\n\016network_config" - + "\030\033 \001(\0132\".google.container.v1.NetworkConf" - + "ig\022K\n\033default_max_pods_constraint\030\036 \001(\0132" - + "&.google.container.v1.MaxPodsConstraint\022" - + "T\n\034resource_usage_export_config\030! \001(\0132.." - + "google.container.v1.ResourceUsageExportC" - + "onfig\022S\n\033authenticator_groups_config\030\" \001" - + "(\0132..google.container.v1.AuthenticatorGr" - + "oupsConfig\022I\n\026private_cluster_config\030% \001" - + "(\0132).google.container.v1.PrivateClusterC" - + "onfig\022D\n\023database_encryption\030& \001(\0132\'.goo" - + "gle.container.v1.DatabaseEncryption\022M\n\030v" - + "ertical_pod_autoscaling\030\' \001(\0132+.google.c" - + "ontainer.v1.VerticalPodAutoscaling\022:\n\016sh" - + "ielded_nodes\030( \001(\0132\".google.container.v1" - + ".ShieldedNodes\022<\n\017release_channel\030) \001(\0132" - + "#.google.container.v1.ReleaseChannel\022M\n\030" - + "workload_identity_config\030+ \001(\0132+.google." - + "container.v1.WorkloadIdentityConfig\022@\n\021m" - + "esh_certificates\030C \001(\0132%.google.containe" - + "r.v1.MeshCertificates\022D\n\023notification_co" - + "nfig\0301 \001(\0132\'.google.container.v1.Notific" - + "ationConfig\022B\n\022confidential_nodes\0302 \001(\0132" - + "&.google.container.v1.ConfidentialNodes\022" - + "\021\n\tself_link\030d \001(\t\022\020\n\004zone\030e \001(\tB\002\030\001\022\020\n\010" - + "endpoint\030f \001(\t\022\037\n\027initial_cluster_versio" - + "n\030g \001(\t\022\036\n\026current_master_version\030h \001(\t\022" - + " \n\024current_node_version\030i \001(\tB\002\030\001\022\023\n\013cre" - + "ate_time\030j \001(\t\0223\n\006status\030k \001(\0162#.google." - + "container.v1.Cluster.Status\022\032\n\016status_me" - + "ssage\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m" - + " \001(\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022\037\n\023inst" - + "ance_group_urls\030o \003(\tB\002\030\001\022\036\n\022current_nod" - + "e_count\030p \001(\005B\002\030\001\022\023\n\013expire_time\030q \001(\t\022\020" - + "\n\010location\030r \001(\t\022\022\n\nenable_tpu\030s \001(\010\022\033\n\023" - + "tpu_ipv4_cidr_block\030t \001(\t\0228\n\nconditions\030" - + "v \003(\0132$.google.container.v1.StatusCondit" - + "ion\0222\n\tautopilot\030\200\001 \001(\0132\036.google.contain" - + "er.v1.Autopilot\022\020\n\002id\030\201\001 \001(\tB\003\340A\003\022G\n\022nod" - + "e_pool_defaults\030\203\001 \001(\0132%.google.containe" - + "r.v1.NodePoolDefaultsH\000\210\001\001\022;\n\016logging_co" - + "nfig\030\204\001 \001(\0132\".google.container.v1.Loggin" - + "gConfig\022A\n\021monitoring_config\030\205\001 \001(\0132%.go" - + "ogle.container.v1.MonitoringConfig\0325\n\023Re" + + "/api/resource.proto\032\036google/protobuf/dur" + + "ation.proto\032\033google/protobuf/empty.proto" + + "\032\037google/protobuf/timestamp.proto\032\036googl" + + "e/protobuf/wrappers.proto\032\025google/rpc/co" + + "de.proto\032\027google/rpc/status.proto\"\205\001\n\017Li" + + "nuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321.google." + + "container.v1.LinuxNodeConfig.SysctlsEntr" + + "y\032.\n\014SysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_m" + + "anager_policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001" + + "(\0132\032.google.protobuf.BoolValue\022\034\n\024cpu_cf" + + "s_quota_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004" + + " \001(\003\"\213\n\n\nNodeConfig\022\024\n\014machine_type\030\001 \001(" + + "\t\022\024\n\014disk_size_gb\030\002 \001(\005\022\024\n\014oauth_scopes\030" + + "\003 \003(\t\022\027\n\017service_account\030\t \001(\t\022?\n\010metada" + + "ta\030\004 \003(\0132-.google.container.v1.NodeConfi" + + "g.MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022;\n\006l" + + "abels\030\006 \003(\0132+.google.container.v1.NodeCo" + + "nfig.LabelsEntry\022\027\n\017local_ssd_count\030\007 \001(" + + "\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022<\n\014" + + "accelerators\030\013 \003(\0132&.google.container.v1" + + ".AcceleratorConfig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n" + + "\020min_cpu_platform\030\r \001(\t\022M\n\030workload_meta" + + "data_config\030\016 \001(\0132+.google.container.v1." + + "WorkloadMetadataConfig\022.\n\006taints\030\017 \003(\0132\036" + + ".google.container.v1.NodeTaint\022:\n\016sandbo" + + "x_config\030\021 \001(\0132\".google.container.v1.San" + + "dboxConfig\022\022\n\nnode_group\030\022 \001(\t\022F\n\024reserv" + + "ation_affinity\030\023 \001(\0132(.google.container." + + "v1.ReservationAffinity\022M\n\030shielded_insta" + + "nce_config\030\024 \001(\0132+.google.container.v1.S" + + "hieldedInstanceConfig\022?\n\021linux_node_conf" + + "ig\030\025 \001(\0132$.google.container.v1.LinuxNode" + + "Config\022>\n\016kubelet_config\030\026 \001(\0132&.google." + + "container.v1.NodeKubeletConfig\022\031\n\021boot_d" + + "isk_kms_key\030\027 \001(\t\0224\n\013gcfs_config\030\031 \001(\0132\037" + + ".google.container.v1.GcfsConfig\022O\n\031advan" + + "ced_machine_features\030\032 \001(\0132,.google.cont" + + "ainer.v1.AdvancedMachineFeatures\022.\n\005gvni" + + "c\030\035 \001(\0132\037.google.container.v1.VirtualNIC" + + "\022\014\n\004spot\030 \001(\010\022B\n\022confidential_nodes\030# \001" + + "(\0132&.google.container.v1.ConfidentialNod" + + "es\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"M\n\027AdvancedMachineFea" + + "tures\022\035\n\020threads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021" + + "_threads_per_core\"\302\003\n\021NodeNetworkConfig\022" + + "\035\n\020create_pod_range\030\004 \001(\010B\003\340A\004\022\021\n\tpod_ra" + + "nge\030\005 \001(\t\022\033\n\023pod_ipv4_cidr_block\030\006 \001(\t\022h" + + "\n\032network_performance_config\030\013 \001(\0132?.goo" + + "gle.container.v1.NodeNetworkConfig.Netwo" + + "rkPerformanceConfigH\000\210\001\001\032\324\001\n\030NetworkPerf" + + "ormanceConfig\022n\n\033total_egress_bandwidth_" + + "tier\030\001 \001(\0162D.google.container.v1.NodeNet" + + "workConfig.NetworkPerformanceConfig.Tier" + + "H\000\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\n\n\006T" + + "IER_1\020\001B\036\n\034_total_egress_bandwidth_tierB" + + "\035\n\033_network_performance_config\"Y\n\026Shield" + + "edInstanceConfig\022\032\n\022enable_secure_boot\030\001" + + " \001(\010\022#\n\033enable_integrity_monitoring\030\002 \001(" + + "\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001(\0162\'.googl" + + "e.container.v1.SandboxConfig.Type\"#\n\004Typ" + + "e\022\017\n\013UNSPECIFIED\020\000\022\n\n\006GVISOR\020\001\"\035\n\nGcfsCo" + + "nfig\022\017\n\007enabled\030\001 \001(\010\"\337\001\n\023ReservationAff" + + "inity\022O\n\030consume_reservation_type\030\001 \001(\0162" + + "-.google.container.v1.ReservationAffinit" + + "y.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004T" + + "ype\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020\001" + + "\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RESERV" + + "ATION\020\003\"\271\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t\0225\n\006effect\030\003 \001(\0162%.google.conta" + + "iner.v1.NodeTaint.Effect\"Y\n\006Effect\022\026\n\022EF" + + "FECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022P" + + "REFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"<\n\nN" + + "odeTaints\022.\n\006taints\030\001 \003(\0132\036.google.conta" + + "iner.v1.NodeTaint\"x\n\nNodeLabels\022;\n\006label" + + "s\030\001 \003(\0132+.google.container.v1.NodeLabels" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\033\n\013NetworkTags\022\014\n\004ta" + + "gs\030\001 \003(\t\"\331\001\n\nMasterAuth\022\024\n\010username\030\001 \001(" + + "\tB\002\030\001\022\024\n\010password\030\002 \001(\tB\002\030\001\022O\n\031client_ce" + + "rtificate_config\030\003 \001(\0132,.google.containe" + + "r.v1.ClientCertificateConfig\022\036\n\026cluster_" + + "ca_certificate\030d \001(\t\022\032\n\022client_certifica" + + "te\030e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCe" + + "rtificateConfig\022 \n\030issue_client_certific" + + "ate\030\001 \001(\010\"\307\005\n\014AddonsConfig\022C\n\023http_load_" + + "balancing\030\001 \001(\0132&.google.container.v1.Ht" + + "tpLoadBalancing\022Q\n\032horizontal_pod_autosc" + + "aling\030\002 \001(\0132-.google.container.v1.Horizo" + + "ntalPodAutoscaling\022J\n\024kubernetes_dashboa" + + "rd\030\003 \001(\0132(.google.container.v1.Kubernete" + + "sDashboardB\002\030\001\022G\n\025network_policy_config\030" + + "\004 \001(\0132(.google.container.v1.NetworkPolic" + + "yConfig\022=\n\020cloud_run_config\030\007 \001(\0132#.goog" + + "le.container.v1.CloudRunConfig\022=\n\020dns_ca" + + "che_config\030\010 \001(\0132#.google.container.v1.D" + + "nsCacheConfig\022K\n\027config_connector_config" + + "\030\n \001(\0132*.google.container.v1.ConfigConne" + + "ctorConfig\022d\n%gce_persistent_disk_csi_dr" + + "iver_config\030\013 \001(\01325.google.container.v1." + + "GcePersistentDiskCsiDriverConfig\022Y\n\037gcp_" + + "filestore_csi_driver_config\030\016 \001(\01320.goog" + + "le.container.v1.GcpFilestoreCsiDriverCon" + + "fig\"%\n\021HttpLoadBalancing\022\020\n\010disabled\030\001 \001" + + "(\010\",\n\030HorizontalPodAutoscaling\022\020\n\010disabl" + + "ed\030\001 \001(\010\"\'\n\023KubernetesDashboard\022\020\n\010disab" + + "led\030\001 \001(\010\"\'\n\023NetworkPolicyConfig\022\020\n\010disa" + + "bled\030\001 \001(\010\"!\n\016DnsCacheConfig\022\017\n\007enabled\030" + + "\001 \001(\010\"9\n&PrivateClusterMasterGlobalAcces" + + "sConfig\022\017\n\007enabled\030\001 \001(\010\"\240\002\n\024PrivateClus" + + "terConfig\022\034\n\024enable_private_nodes\030\001 \001(\010\022" + + "\037\n\027enable_private_endpoint\030\002 \001(\010\022\036\n\026mast" + + "er_ipv4_cidr_block\030\003 \001(\t\022\030\n\020private_endp" + + "oint\030\004 \001(\t\022\027\n\017public_endpoint\030\005 \001(\t\022\024\n\014p" + + "eering_name\030\007 \001(\t\022`\n\033master_global_acces" + + "s_config\030\010 \001(\0132;.google.container.v1.Pri" + + "vateClusterMasterGlobalAccessConfig\"D\n\031A" + + "uthenticatorGroupsConfig\022\017\n\007enabled\030\001 \001(" + + "\010\022\026\n\016security_group\030\002 \001(\t\"\356\001\n\016CloudRunCo" + + "nfig\022\020\n\010disabled\030\001 \001(\010\022P\n\022load_balancer_" + + "type\030\003 \001(\01624.google.container.v1.CloudRu" + + "nConfig.LoadBalancerType\"x\n\020LoadBalancer" + + "Type\022\"\n\036LOAD_BALANCER_TYPE_UNSPECIFIED\020\000" + + "\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL\020\001\022\037\n\033LOA" + + "D_BALANCER_TYPE_INTERNAL\020\002\"(\n\025ConfigConn" + + "ectorConfig\022\017\n\007enabled\030\001 \001(\010\"3\n GcePersi" + + "stentDiskCsiDriverConfig\022\017\n\007enabled\030\001 \001(" + + "\010\".\n\033GcpFilestoreCsiDriverConfig\022\017\n\007enab" + + "led\030\001 \001(\010\"\274\001\n\036MasterAuthorizedNetworksCo" + + "nfig\022\017\n\007enabled\030\001 \001(\010\022R\n\013cidr_blocks\030\002 \003" + + "(\0132=.google.container.v1.MasterAuthorize" + + "dNetworksConfig.CidrBlock\0325\n\tCidrBlock\022\024" + + "\n\014display_name\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\t" + + "\"\035\n\nLegacyAbac\022\017\n\007enabled\030\001 \001(\010\"\221\001\n\rNetw" + + "orkPolicy\022=\n\010provider\030\001 \001(\0162+.google.con" + + "tainer.v1.NetworkPolicy.Provider\022\017\n\007enab" + + "led\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPEC" + + "IFIED\020\000\022\n\n\006CALICO\020\001\"\337\001\n\023BinaryAuthorizat" + + "ion\022\017\n\007enabled\030\001 \001(\010\022P\n\017evaluation_mode\030" + + "\002 \001(\01627.google.container.v1.BinaryAuthor" + + "ization.EvaluationMode\"e\n\016EvaluationMode" + + "\022\037\n\033EVALUATION_MODE_UNSPECIFIED\020\000\022\014\n\010DIS" + + "ABLED\020\001\022$\n PROJECT_SINGLETON_POLICY_ENFO" + + "RCE\020\002\"\232\003\n\022IPAllocationPolicy\022\026\n\016use_ip_a" + + "liases\030\001 \001(\010\022\031\n\021create_subnetwork\030\002 \001(\010\022" + + "\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021cluster_ipv4" + + "_cidr\030\004 \001(\tB\002\030\001\022\032\n\016node_ipv4_cidr\030\005 \001(\tB" + + "\002\030\001\022\036\n\022services_ipv4_cidr\030\006 \001(\tB\002\030\001\022$\n\034c" + + "luster_secondary_range_name\030\007 \001(\t\022%\n\035ser" + + "vices_secondary_range_name\030\010 \001(\t\022\037\n\027clus" + + "ter_ipv4_cidr_block\030\t \001(\t\022\034\n\024node_ipv4_c" + + "idr_block\030\n \001(\t\022 \n\030services_ipv4_cidr_bl" + + "ock\030\013 \001(\t\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022\022" + + "\n\nuse_routes\030\017 \001(\010\"\274\030\n\007Cluster\022\014\n\004name\030\001" + + " \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022initial_nod" + + "e_count\030\003 \001(\005B\002\030\001\0228\n\013node_config\030\004 \001(\0132\037" + + ".google.container.v1.NodeConfigB\002\030\001\0224\n\013m" + + "aster_auth\030\005 \001(\0132\037.google.container.v1.M" + + "asterAuth\022\027\n\017logging_service\030\006 \001(\t\022\032\n\022mo" + + "nitoring_service\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022" + + "\031\n\021cluster_ipv4_cidr\030\t \001(\t\0228\n\raddons_con" + + "fig\030\n \001(\0132!.google.container.v1.AddonsCo" + + "nfig\022\022\n\nsubnetwork\030\013 \001(\t\0221\n\nnode_pools\030\014" + + " \003(\0132\035.google.container.v1.NodePool\022\021\n\tl" + + "ocations\030\r \003(\t\022\037\n\027enable_kubernetes_alph" + + "a\030\016 \001(\010\022I\n\017resource_labels\030\017 \003(\01320.googl" + + "e.container.v1.Cluster.ResourceLabelsEnt" + + "ry\022\031\n\021label_fingerprint\030\020 \001(\t\0224\n\013legacy_" + + "abac\030\022 \001(\0132\037.google.container.v1.LegacyA" + + "bac\022:\n\016network_policy\030\023 \001(\0132\".google.con" + + "tainer.v1.NetworkPolicy\022E\n\024ip_allocation" + + "_policy\030\024 \001(\0132\'.google.container.v1.IPAl" + + "locationPolicy\022^\n!master_authorized_netw" + + "orks_config\030\026 \001(\01323.google.container.v1." + + "MasterAuthorizedNetworksConfig\022B\n\022mainte" + + "nance_policy\030\027 \001(\0132&.google.container.v1" + + ".MaintenancePolicy\022F\n\024binary_authorizati" + + "on\030\030 \001(\0132(.google.container.v1.BinaryAut" + + "horization\022<\n\013autoscaling\030\032 \001(\0132\'.google" + + ".container.v1.ClusterAutoscaling\022:\n\016netw" + + "ork_config\030\033 \001(\0132\".google.container.v1.N" + + "etworkConfig\022K\n\033default_max_pods_constra" + + "int\030\036 \001(\0132&.google.container.v1.MaxPodsC" + + "onstraint\022T\n\034resource_usage_export_confi" + + "g\030! \001(\0132..google.container.v1.ResourceUs" + + "ageExportConfig\022S\n\033authenticator_groups_" + + "config\030\" \001(\0132..google.container.v1.Authe" + + "nticatorGroupsConfig\022I\n\026private_cluster_" + + "config\030% \001(\0132).google.container.v1.Priva" + + "teClusterConfig\022D\n\023database_encryption\030&" + + " \001(\0132\'.google.container.v1.DatabaseEncry" + + "ption\022M\n\030vertical_pod_autoscaling\030\' \001(\0132" + + "+.google.container.v1.VerticalPodAutosca" + + "ling\022:\n\016shielded_nodes\030( \001(\0132\".google.co" + + "ntainer.v1.ShieldedNodes\022<\n\017release_chan" + + "nel\030) \001(\0132#.google.container.v1.ReleaseC" + + "hannel\022M\n\030workload_identity_config\030+ \001(\013" + + "2+.google.container.v1.WorkloadIdentityC" + + "onfig\022@\n\021mesh_certificates\030C \001(\0132%.googl" + + "e.container.v1.MeshCertificates\022D\n\023notif" + + "ication_config\0301 \001(\0132\'.google.container." + + "v1.NotificationConfig\022B\n\022confidential_no" + + "des\0302 \001(\0132&.google.container.v1.Confiden" + + "tialNodes\022K\n\027identity_service_config\0306 \001" + + "(\0132*.google.container.v1.IdentityService" + + "Config\022\021\n\tself_link\030d \001(\t\022\020\n\004zone\030e \001(\tB" + + "\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initial_cluster" + + "_version\030g \001(\t\022\036\n\026current_master_version" + + "\030h \001(\t\022 \n\024current_node_version\030i \001(\tB\002\030\001" + + "\022\023\n\013create_time\030j \001(\t\0223\n\006status\030k \001(\0162#." + + "google.container.v1.Cluster.Status\022\032\n\016st" + + "atus_message\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr" + + "_size\030m \001(\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022" + + "\037\n\023instance_group_urls\030o \003(\tB\002\030\001\022\036\n\022curr" + + "ent_node_count\030p \001(\005B\002\030\001\022\023\n\013expire_time\030" + + "q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nenable_tpu\030s " + + "\001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001(\t\0228\n\ncond" + + "itions\030v \003(\0132$.google.container.v1.Statu" + + "sCondition\0222\n\tautopilot\030\200\001 \001(\0132\036.google." + + "container.v1.Autopilot\022\020\n\002id\030\201\001 \001(\tB\003\340A\003" + + "\022G\n\022node_pool_defaults\030\203\001 \001(\0132%.google.c" + + "ontainer.v1.NodePoolDefaultsH\000\210\001\001\022;\n\016log" + + "ging_config\030\204\001 \001(\0132\".google.container.v1" + + ".LoggingConfig\022A\n\021monitoring_config\030\205\001 \001" + + "(\0132%.google.container.v1.MonitoringConfi" + + "g\022G\n\025node_pool_auto_config\030\210\001 \001(\0132\'.goog" + + "le.container.v1.NodePoolAutoConfig\0325\n\023Re" + "sourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + "\002 \001(\t:\0028\001\"w\n\006Status\022\026\n\022STATUS_UNSPECIFIE" + "D\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RE" + "CONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010" - + "DEGRADED\020\006B\025\n\023_node_pool_defaults\"Y\n\020Nod" - + "ePoolDefaults\022E\n\024node_config_defaults\030\001 " - + "\001(\0132\'.google.container.v1.NodeConfigDefa" - + "ults\"J\n\022NodeConfigDefaults\0224\n\013gcfs_confi" - + "g\030\001 \001(\0132\037.google.container.v1.GcfsConfig" - + "\"\262\021\n\rClusterUpdate\022\034\n\024desired_node_versi" - + "on\030\004 \001(\t\022\"\n\032desired_monitoring_service\030\005" - + " \001(\t\022@\n\025desired_addons_config\030\006 \001(\0132!.go" - + "ogle.container.v1.AddonsConfig\022\034\n\024desire" - + "d_node_pool_id\030\007 \001(\t\022\032\n\022desired_image_ty" - + "pe\030\010 \001(\t\022L\n\033desired_database_encryption\030" - + ". \001(\0132\'.google.container.v1.DatabaseEncr" - + "yption\022U\n desired_workload_identity_conf" - + "ig\030/ \001(\0132+.google.container.v1.WorkloadI" - + "dentityConfig\022H\n\031desired_mesh_certificat" - + "es\030C \001(\0132%.google.container.v1.MeshCerti" - + "ficates\022B\n\026desired_shielded_nodes\0300 \001(\0132" - + "\".google.container.v1.ShieldedNodes\022:\n\022d" - + "esired_dns_config\0305 \001(\0132\036.google.contain" - + "er.v1.DNSConfig\022O\n\035desired_node_pool_aut" - + "oscaling\030\t \001(\0132(.google.container.v1.Nod" - + "ePoolAutoscaling\022\031\n\021desired_locations\030\n " - + "\003(\t\022f\n)desired_master_authorized_network" - + "s_config\030\014 \001(\01323.google.container.v1.Mas" - + "terAuthorizedNetworksConfig\022L\n\033desired_c" - + "luster_autoscaling\030\017 \001(\0132\'.google.contai" - + "ner.v1.ClusterAutoscaling\022N\n\034desired_bin" - + "ary_authorization\030\020 \001(\0132(.google.contain" - + "er.v1.BinaryAuthorization\022\037\n\027desired_log" - + "ging_service\030\023 \001(\t\022\\\n$desired_resource_u" - + "sage_export_config\030\025 \001(\0132..google.contai" - + "ner.v1.ResourceUsageExportConfig\022U\n desi" - + "red_vertical_pod_autoscaling\030\026 \001(\0132+.goo" - + "gle.container.v1.VerticalPodAutoscaling\022" - + "Q\n\036desired_private_cluster_config\030\031 \001(\0132" - + ").google.container.v1.PrivateClusterConf" - + "ig\022\\\n$desired_intra_node_visibility_conf" - + "ig\030\032 \001(\0132..google.container.v1.IntraNode" - + "VisibilityConfig\022K\n\033desired_default_snat" - + "_status\030\034 \001(\0132&.google.container.v1.Defa" - + "ultSnatStatus\022D\n\027desired_release_channel" - + "\030\037 \001(\0132#.google.container.v1.ReleaseChan" - + "nel\022Q\n\037desired_l4ilb_subsetting_config\030\'" - + " \001(\0132(.google.container.v1.ILBSubsetting" - + "Config\022H\n\031desired_datapath_provider\0302 \001(" - + "\0162%.google.container.v1.DatapathProvider" - + "\022X\n\"desired_private_ipv6_google_access\0303" - + " \001(\0162,.google.container.v1.PrivateIPv6Go" - + "ogleAccess\022L\n\033desired_notification_confi" - + "g\0307 \001(\0132\'.google.container.v1.Notificati" - + "onConfig\022[\n#desired_authenticator_groups" - + "_config\030? \001(\0132..google.container.v1.Auth" - + "enticatorGroupsConfig\022B\n\026desired_logging" - + "_config\030@ \001(\0132\".google.container.v1.Logg" - + "ingConfig\022H\n\031desired_monitoring_config\030A" - + " \001(\0132%.google.container.v1.MonitoringCon" - + "fig\022Z\n#desired_service_external_ips_conf" - + "ig\030< \001(\0132-.google.container.v1.ServiceEx" - + "ternalIPsConfig\022\036\n\026desired_master_versio" - + "n\030d \001(\t\022<\n\023desired_gcfs_config\030m \001(\0132\037.g" - + "oogle.container.v1.GcfsConfig\"\361\007\n\tOperat" - + "ion\022\014\n\004name\030\001 \001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022;\n\016o" - + "peration_type\030\003 \001(\0162#.google.container.v" - + "1.Operation.Type\0225\n\006status\030\004 \001(\0162%.googl" - + "e.container.v1.Operation.Status\022\016\n\006detai" - + "l\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\tB\005\030\001\340A\003\022\021" - + "\n\tself_link\030\006 \001(\t\022\023\n\013target_link\030\007 \001(\t\022\020" - + "\n\010location\030\t \001(\t\022\022\n\nstart_time\030\n \001(\t\022\020\n\010" - + "end_time\030\013 \001(\t\022=\n\010progress\030\014 \001(\0132&.googl" - + "e.container.v1.OperationProgressB\003\340A\003\022D\n" - + "\022cluster_conditions\030\r \003(\0132$.google.conta" - + "iner.v1.StatusConditionB\002\030\001\022E\n\023nodepool_" - + "conditions\030\016 \003(\0132$.google.container.v1.S" - + "tatusConditionB\002\030\001\022!\n\005error\030\017 \001(\0132\022.goog" - + "le.rpc.Status\"R\n\006Status\022\026\n\022STATUS_UNSPEC" - + "IFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DON" - + "E\020\003\022\014\n\010ABORTING\020\004\"\375\002\n\004Type\022\024\n\020TYPE_UNSPE" - + "CIFIED\020\000\022\022\n\016CREATE_CLUSTER\020\001\022\022\n\016DELETE_C" - + "LUSTER\020\002\022\022\n\016UPGRADE_MASTER\020\003\022\021\n\rUPGRADE_" - + "NODES\020\004\022\022\n\016REPAIR_CLUSTER\020\005\022\022\n\016UPDATE_CL" - + "USTER\020\006\022\024\n\020CREATE_NODE_POOL\020\007\022\024\n\020DELETE_" - + "NODE_POOL\020\010\022\034\n\030SET_NODE_POOL_MANAGEMENT\020" - + "\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026\n\022AUTO_UPGRADE" - + "_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023\n\017SET_MASTER_A" - + "UTH\020\r\022\026\n\022SET_NODE_POOL_SIZE\020\016\022\026\n\022SET_NET" - + "WORK_POLICY\020\017\022\032\n\026SET_MAINTENANCE_POLICY\020" - + "\020\"\273\002\n\021OperationProgress\022\014\n\004name\030\001 \001(\t\0225\n" - + "\006status\030\002 \001(\0162%.google.container.v1.Oper" - + "ation.Status\022>\n\007metrics\030\003 \003(\0132-.google.c" - + "ontainer.v1.OperationProgress.Metric\0226\n\006" - + "stages\030\004 \003(\0132&.google.container.v1.Opera" - + "tionProgress\032i\n\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014double_value\030\003" - + " \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005value\"" - + "\204\001\n\024CreateClusterRequest\022\026\n\nproject_id\030\001" - + " \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\0222\n\007cluster\030\003 " - + "\001(\0132\034.google.container.v1.ClusterB\003\340A\002\022\016" - + "\n\006parent\030\005 \001(\t\"c\n\021GetClusterRequest\022\026\n\np" - + "roject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n" - + "\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001(\t\"\237\001\n\024" - + "UpdateClusterRequest\022\026\n\nproject_id\030\001 \001(\t" - + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001" - + "(\tB\002\030\001\0227\n\006update\030\004 \001(\0132\".google.containe" - + "r.v1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\307\004" - + "\n\025UpdateNodePoolRequest\022\026\n\nproject_id\030\001 " - + "\001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030" - + "\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\031\n\014n" - + "ode_version\030\005 \001(\tB\003\340A\002\022\027\n\nimage_type\030\006 \001" - + "(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tlocations\030\r \003(\t" - + "\022M\n\030workload_metadata_config\030\016 \001(\0132+.goo" - + "gle.container.v1.WorkloadMetadataConfig\022" - + "G\n\020upgrade_settings\030\017 \001(\0132-.google.conta" - + "iner.v1.NodePool.UpgradeSettings\022?\n\021linu" - + "x_node_config\030\023 \001(\0132$.google.container.v" - + "1.LinuxNodeConfig\022>\n\016kubelet_config\030\024 \001(" - + "\0132&.google.container.v1.NodeKubeletConfi" - + "g\0224\n\013gcfs_config\030\026 \001(\0132\037.google.containe" - + "r.v1.GcfsConfig\022.\n\005gvnic\030\035 \001(\0132\037.google." - + "container.v1.VirtualNIC\"\315\001\n\035SetNodePoolA" - + "utoscalingRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030" - + "\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB" - + "\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autosca" - + "ling\030\005 \001(\0132(.google.container.v1.NodePoo" - + "lAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030SetL" - + "oggingServiceRequest\022\026\n\nproject_id\030\001 \001(\t" - + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001" - + "(\tB\002\030\001\022\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n\004" - + "name\030\005 \001(\t\"\216\001\n\033SetMonitoringServiceReque" - + "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" - + "B\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\037\n\022monitori" - + "ng_service\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\247\001\n\026" - + "SetAddonsConfigRequest\022\026\n\nproject_id\030\001 \001" - + "(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003" - + " \001(\tB\002\030\001\022=\n\raddons_config\030\004 \001(\0132!.google" - + ".container.v1.AddonsConfigB\003\340A\002\022\014\n\004name\030" - + "\006 \001(\t\"}\n\023SetLocationsRequest\022\026\n\nproject_" - + "id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluste" - + "r_id\030\003 \001(\tB\002\030\001\022\026\n\tlocations\030\004 \003(\tB\003\340A\002\022\014" - + "\n\004name\030\006 \001(\t\"\202\001\n\023UpdateMasterRequest\022\026\n\n" - + "project_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026" - + "\n\ncluster_id\030\003 \001(\tB\002\030\001\022\033\n\016master_version" - + "\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMasterA" - + "uthRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zo" - + "ne\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022E\n\006" - + "action\030\004 \001(\01620.google.container.v1.SetMa" - + "sterAuthRequest.ActionB\003\340A\002\0224\n\006update\030\005 " - + "\001(\0132\037.google.container.v1.MasterAuthB\003\340A" - + "\002\022\014\n\004name\030\007 \001(\t\"P\n\006Action\022\013\n\007UNKNOWN\020\000\022\020" - + "\n\014SET_PASSWORD\020\001\022\025\n\021GENERATE_PASSWORD\020\002\022" - + "\020\n\014SET_USERNAME\020\003\"f\n\024DeleteClusterReques" - + "t\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB" - + "\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(" - + "\t\"O\n\023ListClustersRequest\022\026\n\nproject_id\030\001" - + " \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\016\n\006parent\030\004 \001" - + "(\t\"]\n\024ListClustersResponse\022.\n\010clusters\030\001" - + " \003(\0132\034.google.container.v1.Cluster\022\025\n\rmi" - + "ssing_zones\030\002 \003(\t\"g\n\023GetOperationRequest" + + "DEGRADED\020\006B\025\n\023_node_pool_defaults\"L\n\022Nod" + + "ePoolAutoConfig\0226\n\014network_tags\030\001 \001(\0132 ." + + "google.container.v1.NetworkTags\"Y\n\020NodeP" + + "oolDefaults\022E\n\024node_config_defaults\030\001 \001(" + + "\0132\'.google.container.v1.NodeConfigDefaul" + + "ts\"J\n\022NodeConfigDefaults\0224\n\013gcfs_config\030" + + "\001 \001(\0132\037.google.container.v1.GcfsConfig\"\335" + + "\022\n\rClusterUpdate\022\034\n\024desired_node_version" + + "\030\004 \001(\t\022\"\n\032desired_monitoring_service\030\005 \001" + + "(\t\022@\n\025desired_addons_config\030\006 \001(\0132!.goog" + + "le.container.v1.AddonsConfig\022\034\n\024desired_" + + "node_pool_id\030\007 \001(\t\022\032\n\022desired_image_type" + + "\030\010 \001(\t\022L\n\033desired_database_encryption\030. " + + "\001(\0132\'.google.container.v1.DatabaseEncryp" + + "tion\022U\n desired_workload_identity_config" + + "\030/ \001(\0132+.google.container.v1.WorkloadIde" + + "ntityConfig\022H\n\031desired_mesh_certificates" + + "\030C \001(\0132%.google.container.v1.MeshCertifi" + + "cates\022B\n\026desired_shielded_nodes\0300 \001(\0132\"." + + "google.container.v1.ShieldedNodes\022:\n\022des" + + "ired_dns_config\0305 \001(\0132\036.google.container" + + ".v1.DNSConfig\022O\n\035desired_node_pool_autos" + + "caling\030\t \001(\0132(.google.container.v1.NodeP" + + "oolAutoscaling\022\031\n\021desired_locations\030\n \003(" + + "\t\022f\n)desired_master_authorized_networks_" + + "config\030\014 \001(\01323.google.container.v1.Maste" + + "rAuthorizedNetworksConfig\022L\n\033desired_clu" + + "ster_autoscaling\030\017 \001(\0132\'.google.containe" + + "r.v1.ClusterAutoscaling\022N\n\034desired_binar" + + "y_authorization\030\020 \001(\0132(.google.container" + + ".v1.BinaryAuthorization\022\037\n\027desired_loggi" + + "ng_service\030\023 \001(\t\022\\\n$desired_resource_usa" + + "ge_export_config\030\025 \001(\0132..google.containe" + + "r.v1.ResourceUsageExportConfig\022U\n desire" + + "d_vertical_pod_autoscaling\030\026 \001(\0132+.googl" + + "e.container.v1.VerticalPodAutoscaling\022Q\n" + + "\036desired_private_cluster_config\030\031 \001(\0132)." + + "google.container.v1.PrivateClusterConfig" + + "\022\\\n$desired_intra_node_visibility_config" + + "\030\032 \001(\0132..google.container.v1.IntraNodeVi" + + "sibilityConfig\022K\n\033desired_default_snat_s" + + "tatus\030\034 \001(\0132&.google.container.v1.Defaul" + + "tSnatStatus\022D\n\027desired_release_channel\030\037" + + " \001(\0132#.google.container.v1.ReleaseChanne" + + "l\022Q\n\037desired_l4ilb_subsetting_config\030\' \001" + + "(\0132(.google.container.v1.ILBSubsettingCo" + + "nfig\022H\n\031desired_datapath_provider\0302 \001(\0162" + + "%.google.container.v1.DatapathProvider\022X" + + "\n\"desired_private_ipv6_google_access\0303 \001" + + "(\0162,.google.container.v1.PrivateIPv6Goog" + + "leAccess\022L\n\033desired_notification_config\030" + + "7 \001(\0132\'.google.container.v1.Notification" + + "Config\022[\n#desired_authenticator_groups_c" + + "onfig\030? \001(\0132..google.container.v1.Authen" + + "ticatorGroupsConfig\022B\n\026desired_logging_c" + + "onfig\030@ \001(\0132\".google.container.v1.Loggin" + + "gConfig\022H\n\031desired_monitoring_config\030A \001" + + "(\0132%.google.container.v1.MonitoringConfi" + + "g\022S\n\037desired_identity_service_config\030B \001" + + "(\0132*.google.container.v1.IdentityService" + + "Config\022Z\n#desired_service_external_ips_c" + + "onfig\030< \001(\0132-.google.container.v1.Servic" + + "eExternalIPsConfig\022\036\n\026desired_master_ver" + + "sion\030d \001(\t\022<\n\023desired_gcfs_config\030m \001(\0132" + + "\037.google.container.v1.GcfsConfig\022T\n*desi" + + "red_node_pool_auto_config_network_tags\030n" + + " \001(\0132 .google.container.v1.NetworkTags\"\361" + + "\007\n\tOperation\022\014\n\004name\030\001 \001(\t\022\020\n\004zone\030\002 \001(\t" + + "B\002\030\001\022;\n\016operation_type\030\003 \001(\0162#.google.co" + + "ntainer.v1.Operation.Type\0225\n\006status\030\004 \001(" + + "\0162%.google.container.v1.Operation.Status" + + "\022\016\n\006detail\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\t" + + "B\005\030\001\340A\003\022\021\n\tself_link\030\006 \001(\t\022\023\n\013target_lin" + + "k\030\007 \001(\t\022\020\n\010location\030\t \001(\t\022\022\n\nstart_time\030" + + "\n \001(\t\022\020\n\010end_time\030\013 \001(\t\022=\n\010progress\030\014 \001(" + + "\0132&.google.container.v1.OperationProgres" + + "sB\003\340A\003\022D\n\022cluster_conditions\030\r \003(\0132$.goo" + + "gle.container.v1.StatusConditionB\002\030\001\022E\n\023" + + "nodepool_conditions\030\016 \003(\0132$.google.conta" + + "iner.v1.StatusConditionB\002\030\001\022!\n\005error\030\017 \001" + + "(\0132\022.google.rpc.Status\"R\n\006Status\022\026\n\022STAT" + + "US_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING" + + "\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375\002\n\004Type\022\024\n\020T" + + "YPE_UNSPECIFIED\020\000\022\022\n\016CREATE_CLUSTER\020\001\022\022\n" + + "\016DELETE_CLUSTER\020\002\022\022\n\016UPGRADE_MASTER\020\003\022\021\n" + + "\rUPGRADE_NODES\020\004\022\022\n\016REPAIR_CLUSTER\020\005\022\022\n\016" + + "UPDATE_CLUSTER\020\006\022\024\n\020CREATE_NODE_POOL\020\007\022\024" + + "\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_POOL_MA" + + "NAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026\n\022AUT" + + "O_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023\n\017SET" + + "_MASTER_AUTH\020\r\022\026\n\022SET_NODE_POOL_SIZE\020\016\022\026" + + "\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SET_MAINTENANC" + + "E_POLICY\020\020\"\273\002\n\021OperationProgress\022\014\n\004name" + + "\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%.google.containe" + + "r.v1.Operation.Status\022>\n\007metrics\030\003 \003(\0132-" + + ".google.container.v1.OperationProgress.M" + + "etric\0226\n\006stages\030\004 \003(\0132&.google.container" + + ".v1.OperationProgress\032i\n\006Metric\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014doubl" + + "e_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B" + + "\007\n\005value\"\204\001\n\024CreateClusterRequest\022\026\n\npro" + + "ject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\0222\n\007c" + + "luster\030\003 \001(\0132\034.google.container.v1.Clust" + + "erB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"c\n\021GetClusterReq" + + "uest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001" + + "(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005" + + " \001(\t\"\237\001\n\024UpdateClusterRequest\022\026\n\nproject" + + "_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclust" + + "er_id\030\003 \001(\tB\002\030\001\0227\n\006update\030\004 \001(\0132\".google" + + ".container.v1.ClusterUpdateB\003\340A\002\022\014\n\004name" + + "\030\005 \001(\t\"\342\006\n\025UpdateNodePoolRequest\022\026\n\nproj" + + "ect_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncl" + + "uster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\t" + + "B\002\030\001\022\031\n\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\nimage" + + "_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tlocati" + + "ons\030\r \003(\t\022M\n\030workload_metadata_config\030\016 " + + "\001(\0132+.google.container.v1.WorkloadMetada" + + "taConfig\022G\n\020upgrade_settings\030\017 \001(\0132-.goo" + + "gle.container.v1.NodePool.UpgradeSetting" + + "s\022.\n\004tags\030\020 \001(\0132 .google.container.v1.Ne" + + "tworkTags\022/\n\006taints\030\021 \001(\0132\037.google.conta" + + "iner.v1.NodeTaints\022/\n\006labels\030\022 \001(\0132\037.goo" + + "gle.container.v1.NodeLabels\022?\n\021linux_nod" + + "e_config\030\023 \001(\0132$.google.container.v1.Lin" + + "uxNodeConfig\022>\n\016kubelet_config\030\024 \001(\0132&.g" + + "oogle.container.v1.NodeKubeletConfig\022C\n\023" + + "node_network_config\030\025 \001(\0132&.google.conta" + + "iner.v1.NodeNetworkConfig\0224\n\013gcfs_config" + + "\030\026 \001(\0132\037.google.container.v1.GcfsConfig\022" + + "B\n\022confidential_nodes\030\027 \001(\0132&.google.con" + + "tainer.v1.ConfidentialNodes\022.\n\005gvnic\030\035 \001" + + "(\0132\037.google.container.v1.VirtualNIC\"\315\001\n\035" + + "SetNodePoolAutoscalingRequest\022\026\n\nproject" + + "_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclust" + + "er_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030" + + "\001\022B\n\013autoscaling\030\005 \001(\0132(.google.containe" + + "r.v1.NodePoolAutoscalingB\003\340A\002\022\014\n\004name\030\006 " + + "\001(\t\"\210\001\n\030SetLoggingServiceRequest\022\026\n\nproj" + + "ect_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncl" + + "uster_id\030\003 \001(\tB\002\030\001\022\034\n\017logging_service\030\004 " + + "\001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\216\001\n\033SetMonitoring" + + "ServiceRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020" + + "\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001" + + "\022\037\n\022monitoring_service\030\004 \001(\tB\003\340A\002\022\014\n\004nam" + + "e\030\006 \001(\t\"\247\001\n\026SetAddonsConfigRequest\022\026\n\npr" + + "oject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + + "cluster_id\030\003 \001(\tB\002\030\001\022=\n\raddons_config\030\004 " + + "\001(\0132!.google.container.v1.AddonsConfigB\003" + + "\340A\002\022\014\n\004name\030\006 \001(\t\"}\n\023SetLocationsRequest" + "\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002" - + "\030\001\022\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001" - + "(\t\"Q\n\025ListOperationsRequest\022\026\n\nproject_i" - + "d\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\016\n\006parent\030" - + "\004 \001(\t\"j\n\026CancelOperationRequest\022\026\n\nproje" - + "ct_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\030\n\014ope" - + "ration_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026Lis" - + "tOperationsResponse\0222\n\noperations\030\001 \003(\0132" - + "\036.google.container.v1.Operation\022\025\n\rmissi" - + "ng_zones\030\002 \003(\t\"P\n\026GetServerConfigRequest" - + "\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002" - + "\030\001\022\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027def" - + "ault_cluster_version\030\001 \001(\t\022\033\n\023valid_node" - + "_versions\030\003 \003(\t\022\032\n\022default_image_type\030\004 " - + "\001(\t\022\031\n\021valid_image_types\030\005 \003(\t\022\035\n\025valid_" - + "master_versions\030\006 \003(\t\022H\n\010channels\030\t \003(\0132" - + "6.google.container.v1.ServerConfig.Relea" - + "seChannelConfig\032\205\001\n\024ReleaseChannelConfig" - + "\022<\n\007channel\030\001 \001(\0162+.google.container.v1." - + "ReleaseChannel.Channel\022\027\n\017default_versio" - + "n\030\002 \001(\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025Crea" - + "teNodePoolRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030" - + "\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB" - + "\002\030\001\0225\n\tnode_pool\030\004 \001(\0132\035.google.containe" - + "r.v1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025D" - + "eleteNodePoolRequest\022\026\n\nproject_id\030\001 \001(\t" - + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001" - + "(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004name" - + "\030\006 \001(\t\"h\n\024ListNodePoolsRequest\022\026\n\nprojec" - + "t_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclus" - + "ter_id\030\003 \001(\tB\002\030\001\022\016\n\006parent\030\005 \001(\t\"~\n\022GetN" - + "odePoolRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020" - + "\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001", - "\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t" - + "\"\352\006\n\010NodePool\022\014\n\004name\030\001 \001(\t\022/\n\006config\030\002 " - + "\001(\0132\037.google.container.v1.NodeConfig\022\032\n\022" - + "initial_node_count\030\003 \001(\005\022\021\n\tlocations\030\r " - + "\003(\t\022>\n\016network_config\030\016 \001(\0132&.google.con" - + "tainer.v1.NodeNetworkConfig\022\021\n\tself_link" - + "\030d \001(\t\022\017\n\007version\030e \001(\t\022\033\n\023instance_grou" - + "p_urls\030f \003(\t\0224\n\006status\030g \001(\0162$.google.co" - + "ntainer.v1.NodePool.Status\022\032\n\016status_mes" - + "sage\030h \001(\tB\002\030\001\022=\n\013autoscaling\030\004 \001(\0132(.go" - + "ogle.container.v1.NodePoolAutoscaling\0227\n" - + "\nmanagement\030\005 \001(\0132#.google.container.v1." - + "NodeManagement\022C\n\023max_pods_constraint\030\006 " - + "\001(\0132&.google.container.v1.MaxPodsConstra" - + "int\0228\n\nconditions\030i \003(\0132$.google.contain" - + "er.v1.StatusCondition\022\032\n\022pod_ipv4_cidr_s" - + "ize\030\007 \001(\005\022G\n\020upgrade_settings\030k \001(\0132-.go" - + "ogle.container.v1.NodePool.UpgradeSettin" - + "gs\032=\n\017UpgradeSettings\022\021\n\tmax_surge\030\001 \001(\005" - + "\022\027\n\017max_unavailable\030\002 \001(\005\"\201\001\n\006Status\022\026\n\022" - + "STATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013" - + "\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERROR\020\003\022\017\n\013R" - + "ECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"}\n" - + "\016NodeManagement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n" - + "\013auto_repair\030\002 \001(\010\022@\n\017upgrade_options\030\n " - + "\001(\0132\'.google.container.v1.AutoUpgradeOpt" - + "ions\"J\n\022AutoUpgradeOptions\022\037\n\027auto_upgra" - + "de_start_time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t" - + "\"e\n\021MaintenancePolicy\0226\n\006window\030\001 \001(\0132&." - + "google.container.v1.MaintenanceWindow\022\030\n" - + "\020resource_version\030\003 \001(\t\"\366\002\n\021MaintenanceW" - + "indow\022O\n\030daily_maintenance_window\030\002 \001(\0132" - + "+.google.container.v1.DailyMaintenanceWi" - + "ndowH\000\022D\n\020recurring_window\030\003 \001(\0132(.googl" - + "e.container.v1.RecurringTimeWindowH\000\022a\n\026" - + "maintenance_exclusions\030\004 \003(\0132A.google.co" - + "ntainer.v1.MaintenanceWindow.Maintenance" - + "ExclusionsEntry\032]\n\032MaintenanceExclusions" - + "Entry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037.goog" - + "le.container.v1.TimeWindow:\0028\001B\010\n\006policy" - + "\"\320\001\n\nTimeWindow\022Y\n\035maintenance_exclusion" - + "_options\030\003 \001(\01320.google.container.v1.Mai" - + "ntenanceExclusionOptionsH\000\022.\n\nstart_time" - + "\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" - + "d_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "B\t\n\007options\"\264\001\n\033MaintenanceExclusionOpti" - + "ons\022E\n\005scope\030\001 \001(\01626.google.container.v1" - + ".MaintenanceExclusionOptions.Scope\"N\n\005Sc" - + "ope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021NO_MINOR_UPGRADE" - + "S\020\001\022\035\n\031NO_MINOR_OR_NODE_UPGRADES\020\002\"Z\n\023Re" - + "curringTimeWindow\022/\n\006window\030\001 \001(\0132\037.goog" - + "le.container.v1.TimeWindow\022\022\n\nrecurrence" - + "\030\002 \001(\t\">\n\026DailyMaintenanceWindow\022\022\n\nstar" - + "t_time\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\306\001\n\034SetNo" - + "dePoolManagementRequest\022\026\n\nproject_id\030\001 " - + "\001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030" - + "\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022<\n\nm" - + "anagement\030\005 \001(\0132#.google.container.v1.No" - + "deManagementB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\233\001\n\026SetN" - + "odePoolSizeRequest\022\026\n\nproject_id\030\001 \001(\tB\002" - + "\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\t" - + "B\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\027\n\nnode_c" - + "ount\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\"\212\001\n\036Rollba" - + "ckNodePoolUpgradeRequest\022\026\n\nproject_id\030\001" - + " \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id" - + "\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004" - + "name\030\006 \001(\t\"J\n\025ListNodePoolsResponse\0221\n\nn" - + "ode_pools\030\001 \003(\0132\035.google.container.v1.No" - + "dePool\"\257\003\n\022ClusterAutoscaling\022$\n\034enable_" - + "node_autoprovisioning\030\001 \001(\010\022;\n\017resource_" - + "limits\030\002 \003(\0132\".google.container.v1.Resou" - + "rceLimit\022W\n\023autoscaling_profile\030\003 \001(\0162:." - + "google.container.v1.ClusterAutoscaling.A" - + "utoscalingProfile\022b\n#autoprovisioning_no" - + "de_pool_defaults\030\004 \001(\01325.google.containe" - + "r.v1.AutoprovisioningNodePoolDefaults\022\"\n" - + "\032autoprovisioning_locations\030\005 \003(\t\"U\n\022Aut" - + "oscalingProfile\022\027\n\023PROFILE_UNSPECIFIED\020\000" - + "\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BALANCED\020\002" - + "\"\224\003\n AutoprovisioningNodePoolDefaults\022\024\n" - + "\014oauth_scopes\030\001 \003(\t\022\027\n\017service_account\030\002" - + " \001(\t\022G\n\020upgrade_settings\030\003 \001(\0132-.google." - + "container.v1.NodePool.UpgradeSettings\0227\n" - + "\nmanagement\030\004 \001(\0132#.google.container.v1." - + "NodeManagement\022\030\n\020min_cpu_platform\030\005 \001(\t" - + "\022\024\n\014disk_size_gb\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001(" - + "\t\022M\n\030shielded_instance_config\030\010 \001(\0132+.go" - + "ogle.container.v1.ShieldedInstanceConfig" - + "\022\031\n\021boot_disk_kms_key\030\t \001(\t\022\022\n\nimage_typ" - + "e\030\n \001(\t\"H\n\rResourceLimit\022\025\n\rresource_typ" - + "e\030\001 \001(\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007maximum\030\003 \001(" - + "\003\"o\n\023NodePoolAutoscaling\022\017\n\007enabled\030\001 \001(" - + "\010\022\026\n\016min_node_count\030\002 \001(\005\022\026\n\016max_node_co" - + "unt\030\003 \001(\005\022\027\n\017autoprovisioned\030\004 \001(\010\"\222\002\n\020S" - + "etLabelsRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022" - + "\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030" - + "\001\022W\n\017resource_labels\030\004 \003(\01329.google.cont" - + "ainer.v1.SetLabelsRequest.ResourceLabels" - + "EntryB\003\340A\002\022\036\n\021label_fingerprint\030\005 \001(\tB\003\340" - + "A\002\022\014\n\004name\030\007 \001(\t\0325\n\023ResourceLabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"|\n\024SetLe" - + "gacyAbacRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022" - + "\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030" - + "\001\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\204\001" - + "\n\026StartIPRotationRequest\022\026\n\nproject_id\030\001" + + "\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\026\n\tlocations\030" + + "\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\202\001\n\023UpdateMaste" + + "rRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone" + + "\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\033\n\016ma" + + "ster_version\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002" + + "\n\024SetMasterAuthRequest\022\026\n\nproject_id\030\001 \001" + + "(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003" + + " \001(\tB\002\030\001\022E\n\006action\030\004 \001(\01620.google.contai" + + "ner.v1.SetMasterAuthRequest.ActionB\003\340A\002\022" + + "4\n\006update\030\005 \001(\0132\037.google.container.v1.Ma" + + "sterAuthB\003\340A\002\022\014\n\004name\030\007 \001(\t\"P\n\006Action\022\013\n" + + "\007UNKNOWN\020\000\022\020\n\014SET_PASSWORD\020\001\022\025\n\021GENERATE" + + "_PASSWORD\020\002\022\020\n\014SET_USERNAME\020\003\"f\n\024DeleteC" + + "lusterRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n", + "\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022" + + "\014\n\004name\030\004 \001(\t\"O\n\023ListClustersRequest\022\026\n\n" + + "project_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\016" + + "\n\006parent\030\004 \001(\t\"]\n\024ListClustersResponse\022." + + "\n\010clusters\030\001 \003(\0132\034.google.container.v1.C" + + "luster\022\025\n\rmissing_zones\030\002 \003(\t\"g\n\023GetOper" + + "ationRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004" + + "zone\030\002 \001(\tB\002\030\001\022\030\n\014operation_id\030\003 \001(\tB\002\030\001" + + "\022\014\n\004name\030\005 \001(\t\"Q\n\025ListOperationsRequest\022" + + "\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030" + + "\001\022\016\n\006parent\030\004 \001(\t\"j\n\026CancelOperationRequ" + + "est\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(" + + "\tB\002\030\001\022\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030" + + "\004 \001(\t\"c\n\026ListOperationsResponse\0222\n\nopera" + + "tions\030\001 \003(\0132\036.google.container.v1.Operat" + + "ion\022\025\n\rmissing_zones\030\002 \003(\t\"P\n\026GetServerC" + + "onfigRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004" + + "zone\030\002 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerC" + + "onfig\022\037\n\027default_cluster_version\030\001 \001(\t\022\033" + + "\n\023valid_node_versions\030\003 \003(\t\022\032\n\022default_i" + + "mage_type\030\004 \001(\t\022\031\n\021valid_image_types\030\005 \003" + + "(\t\022\035\n\025valid_master_versions\030\006 \003(\t\022H\n\010cha" + + "nnels\030\t \003(\01326.google.container.v1.Server" + + "Config.ReleaseChannelConfig\032\205\001\n\024ReleaseC" + + "hannelConfig\022<\n\007channel\030\001 \001(\0162+.google.c" + + "ontainer.v1.ReleaseChannel.Channel\022\027\n\017de" + + "fault_version\030\002 \001(\t\022\026\n\016valid_versions\030\004 " + + "\003(\t\"\240\001\n\025CreateNodePoolRequest\022\026\n\nproject" + + "_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclust" + + "er_id\030\003 \001(\tB\002\030\001\0225\n\tnode_pool\030\004 \001(\0132\035.goo" + + "gle.container.v1.NodePoolB\003\340A\002\022\016\n\006parent" + + "\030\006 \001(\t\"\201\001\n\025DeleteNodePoolRequest\022\026\n\nproj" + + "ect_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncl" + + "uster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\t" + + "B\002\030\001\022\014\n\004name\030\006 \001(\t\"h\n\024ListNodePoolsReque" + + "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" + + "B\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\016\n\006parent\030\005" + + " \001(\t\"~\n\022GetNodePoolRequest\022\026\n\nproject_id" + + "\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_" + + "id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\014" + + "\n\004name\030\006 \001(\t\"\237\003\n\021BlueGreenSettings\022_\n\027st" + + "andard_rollout_policy\030\001 \001(\0132<.google.con" + + "tainer.v1.BlueGreenSettings.StandardRoll" + + "outPolicyH\000\022?\n\027node_pool_soak_duration\030\002" + + " \001(\0132\031.google.protobuf.DurationH\001\210\001\001\032\271\001\n" + + "\025StandardRolloutPolicy\022\032\n\020batch_percenta" + + "ge\030\001 \001(\002H\000\022\032\n\020batch_node_count\030\002 \001(\005H\000\022;" + + "\n\023batch_soak_duration\030\003 \001(\0132\031.google.pro" + + "tobuf.DurationH\001\210\001\001B\023\n\021update_batch_size" + + "B\026\n\024_batch_soak_durationB\020\n\016rollout_poli" + + "cyB\032\n\030_node_pool_soak_duration\"\355\014\n\010NodeP" + + "ool\022\014\n\004name\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037.goog" + + "le.container.v1.NodeConfig\022\032\n\022initial_no" + + "de_count\030\003 \001(\005\022\021\n\tlocations\030\r \003(\t\022>\n\016net" + + "work_config\030\016 \001(\0132&.google.container.v1." + + "NodeNetworkConfig\022\021\n\tself_link\030d \001(\t\022\017\n\007" + + "version\030e \001(\t\022\033\n\023instance_group_urls\030f \003" + + "(\t\0224\n\006status\030g \001(\0162$.google.container.v1" + + ".NodePool.Status\022\032\n\016status_message\030h \001(\t" + + "B\002\030\001\022=\n\013autoscaling\030\004 \001(\0132(.google.conta" + + "iner.v1.NodePoolAutoscaling\0227\n\nmanagemen" + + "t\030\005 \001(\0132#.google.container.v1.NodeManage" + + "ment\022C\n\023max_pods_constraint\030\006 \001(\0132&.goog" + + "le.container.v1.MaxPodsConstraint\0228\n\ncon" + + "ditions\030i \003(\0132$.google.container.v1.Stat" + + "usCondition\022\032\n\022pod_ipv4_cidr_size\030\007 \001(\005\022" + + "G\n\020upgrade_settings\030k \001(\0132-.google.conta" + + "iner.v1.NodePool.UpgradeSettings\022B\n\013upda" + + "te_info\030m \001(\0132(.google.container.v1.Node" + + "Pool.UpdateInfoB\003\340A\003\032\360\001\n\017UpgradeSettings" + + "\022\021\n\tmax_surge\030\001 \001(\005\022\027\n\017max_unavailable\030\002" + + " \001(\005\022B\n\010strategy\030\003 \001(\0162+.google.containe" + + "r.v1.NodePoolUpdateStrategyH\000\210\001\001\022H\n\023blue" + + "_green_settings\030\004 \001(\0132&.google.container" + + ".v1.BlueGreenSettingsH\001\210\001\001B\013\n\t_strategyB" + + "\026\n\024_blue_green_settings\032\210\004\n\nUpdateInfo\022O" + + "\n\017blue_green_info\030\001 \001(\01326.google.contain" + + "er.v1.NodePool.UpdateInfo.BlueGreenInfo\032" + + "\250\003\n\rBlueGreenInfo\022K\n\005phase\030\001 \001(\0162<.googl" + + "e.container.v1.NodePool.UpdateInfo.BlueG" + + "reenInfo.Phase\022 \n\030blue_instance_group_ur" + + "ls\030\002 \003(\t\022!\n\031green_instance_group_urls\030\003 " + + "\003(\t\022%\n\035blue_pool_deletion_start_time\030\004 \001" + + "(\t\022\032\n\022green_pool_version\030\005 \001(\t\"\301\001\n\005Phase" + + "\022\025\n\021PHASE_UNSPECIFIED\020\000\022\022\n\016UPDATE_STARTE" + + "D\020\001\022\027\n\023CREATING_GREEN_POOL\020\002\022\027\n\023CORDONIN" + + "G_BLUE_POOL\020\003\022\026\n\022DRAINING_BLUE_POOL\020\004\022\025\n" + + "\021NODE_POOL_SOAKING\020\005\022\026\n\022DELETING_BLUE_PO" + + "OL\020\006\022\024\n\020ROLLBACK_STARTED\020\007\"\201\001\n\006Status\022\026\n" + + "\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022" + + "\013\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERROR\020\003\022\017\n\013" + + "RECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"}" + + "\n\016NodeManagement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023" + + "\n\013auto_repair\030\002 \001(\010\022@\n\017upgrade_options\030\n" + + " \001(\0132\'.google.container.v1.AutoUpgradeOp" + + "tions\"J\n\022AutoUpgradeOptions\022\037\n\027auto_upgr" + + "ade_start_time\030\001 \001(\t\022\023\n\013description\030\002 \001(" + + "\t\"e\n\021MaintenancePolicy\0226\n\006window\030\001 \001(\0132&" + + ".google.container.v1.MaintenanceWindow\022\030" + + "\n\020resource_version\030\003 \001(\t\"\366\002\n\021Maintenance" + + "Window\022O\n\030daily_maintenance_window\030\002 \001(\013" + + "2+.google.container.v1.DailyMaintenanceW" + + "indowH\000\022D\n\020recurring_window\030\003 \001(\0132(.goog" + + "le.container.v1.RecurringTimeWindowH\000\022a\n" + + "\026maintenance_exclusions\030\004 \003(\0132A.google.c" + + "ontainer.v1.MaintenanceWindow.Maintenanc" + + "eExclusionsEntry\032]\n\032MaintenanceExclusion" + + "sEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037.goo" + + "gle.container.v1.TimeWindow:\0028\001B\010\n\006polic" + + "y\"\320\001\n\nTimeWindow\022Y\n\035maintenance_exclusio" + + "n_options\030\003 \001(\01320.google.container.v1.Ma" + + "intenanceExclusionOptionsH\000\022.\n\nstart_tim" + + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "pB\t\n\007options\"\264\001\n\033MaintenanceExclusionOpt" + + "ions\022E\n\005scope\030\001 \001(\01626.google.container.v" + + "1.MaintenanceExclusionOptions.Scope\"N\n\005S" + + "cope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021NO_MINOR_UPGRAD" + + "ES\020\001\022\035\n\031NO_MINOR_OR_NODE_UPGRADES\020\002\"Z\n\023R" + + "ecurringTimeWindow\022/\n\006window\030\001 \001(\0132\037.goo" + + "gle.container.v1.TimeWindow\022\022\n\nrecurrenc" + + "e\030\002 \001(\t\">\n\026DailyMaintenanceWindow\022\022\n\nsta" + + "rt_time\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\306\001\n\034SetN" + + "odePoolManagementRequest\022\026\n\nproject_id\030\001" + " \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id" - + "\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_crede" - + "ntials\030\007 \001(\010\"k\n\031CompleteIPRotationReques" - + "t\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB" - + "\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\007 \001(" - + "\t\"d\n\021AcceleratorConfig\022\031\n\021accelerator_co" - + "unt\030\001 \001(\003\022\030\n\020accelerator_type\030\002 \001(\t\022\032\n\022g" - + "pu_partition_size\030\003 \001(\t\"\232\001\n\026WorkloadMeta" + + "\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022<\n\n" + + "management\030\005 \001(\0132#.google.container.v1.N" + + "odeManagementB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\233\001\n\026Set" + + "NodePoolSizeRequest\022\026\n\nproject_id\030\001 \001(\tB" + + "\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(" + + "\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\027\n\nnode_" + + "count\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\".\n\036Comple" + + "teNodePoolUpgradeRequest\022\014\n\004name\030\001 \001(\t\"\237" + + "\001\n\036RollbackNodePoolUpgradeRequest\022\026\n\npro" + + "ject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nc" + + "luster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(" + + "\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\023\n\013respect_pdb\030\007 \001(\010" + + "\"J\n\025ListNodePoolsResponse\0221\n\nnode_pools\030" + + "\001 \003(\0132\035.google.container.v1.NodePool\"\257\003\n" + + "\022ClusterAutoscaling\022$\n\034enable_node_autop" + + "rovisioning\030\001 \001(\010\022;\n\017resource_limits\030\002 \003" + + "(\0132\".google.container.v1.ResourceLimit\022W" + + "\n\023autoscaling_profile\030\003 \001(\0162:.google.con" + + "tainer.v1.ClusterAutoscaling.Autoscaling" + + "Profile\022b\n#autoprovisioning_node_pool_de" + + "faults\030\004 \001(\01325.google.container.v1.Autop" + + "rovisioningNodePoolDefaults\022\"\n\032autoprovi" + + "sioning_locations\030\005 \003(\t\"U\n\022AutoscalingPr" + + "ofile\022\027\n\023PROFILE_UNSPECIFIED\020\000\022\030\n\024OPTIMI" + + "ZE_UTILIZATION\020\001\022\014\n\010BALANCED\020\002\"\230\003\n Autop" + + "rovisioningNodePoolDefaults\022\024\n\014oauth_sco" + + "pes\030\001 \003(\t\022\027\n\017service_account\030\002 \001(\t\022G\n\020up" + + "grade_settings\030\003 \001(\0132-.google.container." + + "v1.NodePool.UpgradeSettings\0227\n\nmanagemen" + + "t\030\004 \001(\0132#.google.container.v1.NodeManage" + + "ment\022\034\n\020min_cpu_platform\030\005 \001(\tB\002\030\001\022\024\n\014di" + + "sk_size_gb\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001(\t\022M\n\030s" + + "hielded_instance_config\030\010 \001(\0132+.google.c" + + "ontainer.v1.ShieldedInstanceConfig\022\031\n\021bo" + + "ot_disk_kms_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(" + + "\t\"H\n\rResourceLimit\022\025\n\rresource_type\030\001 \001(" + + "\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\307\002\n\023" + + "NodePoolAutoscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016" + + "min_node_count\030\002 \001(\005\022\026\n\016max_node_count\030\003" + + " \001(\005\022\027\n\017autoprovisioned\030\004 \001(\010\022P\n\017locatio" + + "n_policy\030\005 \001(\01627.google.container.v1.Nod" + + "ePoolAutoscaling.LocationPolicy\022\034\n\024total" + + "_min_node_count\030\006 \001(\005\022\034\n\024total_max_node_" + + "count\030\007 \001(\005\"H\n\016LocationPolicy\022\037\n\033LOCATIO" + + "N_POLICY_UNSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003" + + "ANY\020\002\"\222\002\n\020SetLabelsRequest\022\026\n\nproject_id" + + "\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_" + + "id\030\003 \001(\tB\002\030\001\022W\n\017resource_labels\030\004 \003(\01329." + + "google.container.v1.SetLabelsRequest.Res" + + "ourceLabelsEntryB\003\340A\002\022\036\n\021label_fingerpri" + + "nt\030\005 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023ResourceL" + + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\"|\n\024SetLegacyAbacRequest\022\026\n\nproject_id" + + "\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_" + + "id\030\003 \001(\tB\002\030\001\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004na" + + "me\030\006 \001(\t\"\204\001\n\026StartIPRotationRequest\022\026\n\np" + + "roject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n" + + "\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022r" + + "otate_credentials\030\007 \001(\010\"k\n\031CompleteIPRot" + + "ationRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004" + + "zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014" + + "\n\004name\030\007 \001(\t\"\303\001\n\021AcceleratorConfig\022\031\n\021ac" + + "celerator_count\030\001 \001(\003\022\030\n\020accelerator_typ" + + "e\030\002 \001(\t\022\032\n\022gpu_partition_size\030\003 \001(\t\022F\n\022g" + + "pu_sharing_config\030\005 \001(\0132%.google.contain" + + "er.v1.GPUSharingConfigH\000\210\001\001B\025\n\023_gpu_shar" + + "ing_config\"\372\001\n\020GPUSharingConfig\022\"\n\032max_s" + + "hared_clients_per_gpu\030\001 \001(\003\022[\n\024gpu_shari" + + "ng_strategy\030\002 \001(\01628.google.container.v1." + + "GPUSharingConfig.GPUSharingStrategyH\000\210\001\001" + + "\"L\n\022GPUSharingStrategy\022$\n GPU_SHARING_ST" + + "RATEGY_UNSPECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027" + + "\n\025_gpu_sharing_strategy\"\232\001\n\026WorkloadMeta" + "dataConfig\022>\n\004mode\030\002 \001(\01620.google.contai" + "ner.v1.WorkloadMetadataConfig.Mode\"@\n\004Mo" + "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA" @@ -1146,326 +1287,339 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "PECIFIED\020\000\022\r\n\tVPC_SCOPE\020\002\".\n\021MaxPodsCons" + "traint\022\031\n\021max_pods_per_node\030\001 \001(\003\"/\n\026Wor" + "kloadIdentityConfig\022\025\n\rworkload_pool\030\002 \001" - + "(\t\"K\n\020MeshCertificates\0227\n\023enable_certifi" - + "cates\030\001 \001(\0132\032.google.protobuf.BoolValue\"" - + "\230\001\n\022DatabaseEncryption\022<\n\005state\030\002 \001(\0162-." - + "google.container.v1.DatabaseEncryption.S" - + "tate\022\020\n\010key_name\030\001 \001(\t\"2\n\005State\022\013\n\007UNKNO" - + "WN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYPTED\020\002\"e\n\034Li" - + "stUsableSubnetworksRequest\022\016\n\006parent\030\001 \001" - + "(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n" - + "\npage_token\030\004 \001(\t\"t\n\035ListUsableSubnetwor" - + "ksResponse\022:\n\013subnetworks\030\001 \003(\0132%.google" - + ".container.v1.UsableSubnetwork\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"\200\002\n\036UsableSubnetworkSeco" - + "ndaryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\rip_cid" - + "r_range\030\002 \001(\t\022J\n\006status\030\003 \001(\0162:.google.c" - + "ontainer.v1.UsableSubnetworkSecondaryRan" - + "ge.Status\"g\n\006Status\022\013\n\007UNKNOWN\020\000\022\n\n\006UNUS" - + "ED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024IN_USE_SHARE" - + "ABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_POD\020\004\"\270\001\n\020U" - + "sableSubnetwork\022\022\n\nsubnetwork\030\001 \001(\t\022\017\n\007n" - + "etwork\030\002 \001(\t\022\025\n\rip_cidr_range\030\003 \001(\t\022P\n\023s" - + "econdary_ip_ranges\030\004 \003(\01323.google.contai" - + "ner.v1.UsableSubnetworkSecondaryRange\022\026\n" - + "\016status_message\030\005 \001(\t\"\355\002\n\031ResourceUsageE" - + "xportConfig\022`\n\024bigquery_destination\030\001 \001(" - + "\0132B.google.container.v1.ResourceUsageExp" - + "ortConfig.BigQueryDestination\022&\n\036enable_" - + "network_egress_metering\030\002 \001(\010\022m\n\033consump" - + "tion_metering_config\030\003 \001(\0132H.google.cont" - + "ainer.v1.ResourceUsageExportConfig.Consu" - + "mptionMeteringConfig\032)\n\023BigQueryDestinat" - + "ion\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031ConsumptionMe" - + "teringConfig\022\017\n\007enabled\030\001 \001(\010\")\n\026Vertica" - + "lPodAutoscaling\022\017\n\007enabled\030\001 \001(\010\"%\n\021Defa" - + "ultSnatStatus\022\020\n\010disabled\030\001 \001(\010\" \n\rShiel" - + "dedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtualNIC\022" - + "\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfig\022" - + ">\n\006pubsub\030\001 \001(\0132..google.container.v1.No" - + "tificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007en" - + "abled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsub." - + "googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132..g" - + "oogle.container.v1.NotificationConfig.Fi" - + "lter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.goo" - + "gle.container.v1.NotificationConfig.Even" - + "tType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPECI" - + "FIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n\rU" - + "PGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EVEN" - + "T\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 \001(" - + "\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 \001(" - + "\0162(.google.container.v1.UpgradeResourceT" - + "ype\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_star" - + "t_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_vers" - + "ion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025UpgradeA" - + "vailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rresour" - + "ce_type\030\002 \001(\0162(.google.container.v1.Upgr" - + "adeResourceType\022<\n\017release_channel\030\003 \001(\013" - + "2#.google.container.v1.ReleaseChannel\022\020\n" - + "\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEven" - + "t\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013bul" - + "letin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sever" - + "ity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021brief" - + "_description\030\006 \001(\t\022!\n\031affected_supported" - + "_minors\030\007 \003(\t\022\030\n\020patched_versions\030\010 \003(\t\022" - + " \n\030suggested_upgrade_target\030\t \001(\t\022\035\n\025man" - + "ual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022\017\n" - + "\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020compo" - + "nent_config\030\001 \001(\0132+.google.container.v1." - + "LoggingComponentConfig\"\270\001\n\026LoggingCompon" - + "entConfig\022P\n\021enable_components\030\001 \003(\01625.g" - + "oogle.container.v1.LoggingComponentConfi" - + "g.Component\"L\n\tComponent\022\031\n\025COMPONENT_UN" - + "SPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWO" - + "RKLOADS\020\002\"\\\n\020MonitoringConfig\022H\n\020compone" - + "nt_config\030\001 \001(\0132..google.container.v1.Mo" - + "nitoringComponentConfig\"\257\001\n\031MonitoringCo" - + "mponentConfig\022S\n\021enable_components\030\001 \003(\016" - + "28.google.container.v1.MonitoringCompone" - + "ntConfig.Component\"=\n\tComponent\022\031\n\025COMPO" - + "NENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020" - + "\001*\306\001\n\027PrivateIPv6GoogleAccess\022*\n&PRIVATE" - + "_IPV6_GOOGLE_ACCESS_UNSPECIFIED\020\000\022\'\n#PRI" - + "VATE_IPV6_GOOGLE_ACCESS_DISABLED\020\001\022(\n$PR" - + "IVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE\020\002\022,\n(" - + "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - + "\020\003*a\n\020DatapathProvider\022!\n\035DATAPATH_PROVI" - + "DER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025" - + "\n\021ADVANCED_DATAPATH\020\002*W\n\023UpgradeResource" - + "Type\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\0022\205F\n\016Clust" - + "erManager\022\350\001\n\014ListClusters\022(.google.cont" - + "ainer.v1.ListClustersRequest\032).google.co" - + "ntainer.v1.ListClustersResponse\"\202\001\202\323\344\223\002a" - + "\022,/v1/{parent=projects/*/locations/*}/cl" - + "ustersZ1\022//v1/projects/{project_id}/zone" - + "s/{zone}/clusters\332A\017project_id,zone\332A\006pa" - + "rent\022\355\001\n\nGetCluster\022&.google.container.v" - + "1.GetClusterRequest\032\034.google.container.v" - + "1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{name=projects/*" - + "/locations/*/clusters/*}Z>\022\n\006pubsub\030\001 \001(\0132..google.container.v1." + + "NotificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007" + + "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu" + + "b.googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132." + + ".google.container.v1.NotificationConfig." + + "Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.g" + + "oogle.container.v1.NotificationConfig.Ev" + + "entType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE" + + "CIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n" + + "\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EV" + + "ENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 " + + "\001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 " + + "\001(\0162(.google.container.v1.UpgradeResourc" + + "eType\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_st" + + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_ve" + + "rsion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Upgrad" + + "eAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rreso" + + "urce_type\030\002 \001(\0162(.google.container.v1.Up" + + "gradeResourceType\022<\n\017release_channel\030\003 \001" + + "(\0132#.google.container.v1.ReleaseChannel\022" + + "\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEv" + + "ent\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013b" + + "ulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sev" + + "erity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021bri" + + "ef_description\030\006 \001(\t\022!\n\031affected_support" + + "ed_minors\030\007 \003(\t\022\030\n\020patched_versions\030\010 \003(" + + "\t\022 \n\030suggested_upgrade_target\030\t \001(\t\022\035\n\025m" + + "anual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022" + + "\017\n\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020com" + + "ponent_config\030\001 \001(\0132+.google.container.v" + + "1.LoggingComponentConfig\"\270\001\n\026LoggingComp" + + "onentConfig\022P\n\021enable_components\030\001 \003(\01625" + + ".google.container.v1.LoggingComponentCon" + + "fig.Component\"L\n\tComponent\022\031\n\025COMPONENT_" + + "UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\t" + + "WORKLOADS\020\002\"\255\001\n\020MonitoringConfig\022H\n\020comp" + + "onent_config\030\001 \001(\0132..google.container.v1" + + ".MonitoringComponentConfig\022O\n\031managed_pr" + + "ometheus_config\030\002 \001(\0132,.google.container" + + ".v1.ManagedPrometheusConfig\"\345\001\n\031Monitori" + + "ngComponentConfig\022S\n\021enable_components\030\001" + + " \003(\01628.google.container.v1.MonitoringCom" + + "ponentConfig.Component\"s\n\tComponent\022\031\n\025C" + + "OMPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONE" + + "NTS\020\001\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022C" + + "ONTROLLER_MANAGER\020\005\"*\n\027ManagedPrometheus" + + "Config\022\017\n\007enabled\030\001 \001(\010*\306\001\n\027PrivateIPv6G" + + "oogleAccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCES" + + "S_UNSPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_A" + + "CCESS_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_" + + "ACCESS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGL" + + "E_ACCESS_BIDIRECTIONAL\020\003*W\n\023UpgradeResou" + + "rceType\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECI" + + "FIED\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020Dat" + + "apathProvider\022!\n\035DATAPATH_PROVIDER_UNSPE" + + "CIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n\021ADVANCE" + + "D_DATAPATH\020\002*^\n\026NodePoolUpdateStrategy\022)" + + "\n%NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED\020" + + "\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SURGE\020\0032\303G\n\016Cluster" + + "Manager\022\350\001\n\014ListClusters\022(.google.contai" + + "ner.v1.ListClustersRequest\032).google.cont" + + "ainer.v1.ListClustersResponse\"\202\001\202\323\344\223\002a\022," + + "/v1/{parent=projects/*/locations/*}/clus" + + "tersZ1\022//v1/projects/{project_id}/zones/" + + "{zone}/clusters\332A\017project_id,zone\332A\006pare" + + "nt\022\355\001\n\nGetCluster\022&.google.container.v1." + + "GetClusterRequest\032\034.google.container.v1." + + "Cluster\"\230\001\202\323\344\223\002n\022,/v1/{name=projects/*/l" + + "ocations/*/clusters/*}Z>\022**/v1/{name=projects/*/locations" + + "/*/clusters/*}:setResourceLabels:\001*ZP\"K/" + "v1/projects/{project_id}/zones/{zone}/cl" - + "usters/{cluster_id}/nodePools/{node_pool" - + "_id}:rollback:\001*\332A\'project_id,zone,clust" - + "er_id,node_pool_id\332A\004name\022\251\002\n\025SetNodePoo" - + "lManagement\0221.google.container.v1.SetNod" - + "ePoolManagementRequest\032\036.google.containe" - + "r.v1.Operation\"\274\001\202\323\344\223\002\265\001\"F/v1/{name=proj" - + "ects/*/locations/*/clusters/*/nodePools/" - + "*}:setManagement:\001*Zh\"c/v1/projects/{pro" - + "ject_id}/zones/{zone}/clusters/{cluster_" - + "id}/nodePools/{node_pool_id}/setManageme" - + "nt:\001*\022\361\001\n\tSetLabels\022%.google.container.v" - + "1.SetLabelsRequest\032\036.google.container.v1" - + ".Operation\"\234\001\202\323\344\223\002\225\001\">/v1/{name=projects" - + "/*/locations/*/clusters/*}:setResourceLa" - + "bels:\001*ZP\"K/v1/projects/{project_id}/zon" - + "es/{zone}/clusters/{cluster_id}/resource" - + "Labels:\001*\022\245\002\n\rSetLegacyAbac\022).google.con" - + "tainer.v1.SetLegacyAbacRequest\032\036.google." - + "container.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1/{n" + + "usters/{cluster_id}/resourceLabels:\001*\022\245\002" + + "\n\rSetLegacyAbac\022).google.container.v1.Se" + + "tLegacyAbacRequest\032\036.google.container.v1" + + ".Operation\"\310\001\202\323\344\223\002\215\001\":/v1/{name=projects" + + "/*/locations/*/clusters/*}:setLegacyAbac" + + ":\001*ZL\"G/v1/projects/{project_id}/zones/{" + + "zone}/clusters/{cluster_id}/legacyAbac:\001" + + "*\332A\"project_id,zone,cluster_id,enabled\332A" + + "\014name,enabled\022\240\002\n\017StartIPRotation\022+.goog" + + "le.container.v1.StartIPRotationRequest\032\036" + + ".google.container.v1.Operation\"\277\001\202\323\344\223\002\224\001" + + "\" + * The desired Identity Service component configuration. + * + * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * + * @return Whether the desiredIdentityServiceConfig field is set. + */ + @java.lang.Override + public boolean hasDesiredIdentityServiceConfig() { + return desiredIdentityServiceConfig_ != null; + } + /** + * + * + *
+   * The desired Identity Service component configuration.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * + * @return The desiredIdentityServiceConfig. + */ + @java.lang.Override + public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig() { + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; + } + /** + * + * + *
+   * The desired Identity Service component configuration.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + @java.lang.Override + public com.google.container.v1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder() { + return getDesiredIdentityServiceConfig(); + } + public static final int DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 60; private com.google.container.v1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; /** @@ -2228,6 +2309,58 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder return getDesiredGcfsConfig(); } + public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER = 110; + private com.google.container.v1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. + */ + @java.lang.Override + public boolean hasDesiredNodePoolAutoConfigNetworkTags() { + return desiredNodePoolAutoConfigNetworkTags_ != null; + } + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * @return The desiredNodePoolAutoConfigNetworkTags. + */ + @java.lang.Override + public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; + } + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + */ + @java.lang.Override + public com.google.container.v1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + return getDesiredNodePoolAutoConfigNetworkTags(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2332,6 +2465,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredMonitoringConfig_ != null) { output.writeMessage(65, getDesiredMonitoringConfig()); } + if (desiredIdentityServiceConfig_ != null) { + output.writeMessage(66, getDesiredIdentityServiceConfig()); + } if (desiredMeshCertificates_ != null) { output.writeMessage(67, getDesiredMeshCertificates()); } @@ -2341,6 +2477,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredGcfsConfig_ != null) { output.writeMessage(109, getDesiredGcfsConfig()); } + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + output.writeMessage(110, getDesiredNodePoolAutoConfigNetworkTags()); + } unknownFields.writeTo(output); } @@ -2483,6 +2622,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 65, getDesiredMonitoringConfig()); } + if (desiredIdentityServiceConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 66, getDesiredIdentityServiceConfig()); + } if (desiredMeshCertificates_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -2494,6 +2638,11 @@ public int getSerializedSize() { if (desiredGcfsConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getDesiredGcfsConfig()); } + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 110, getDesiredNodePoolAutoConfigNetworkTags()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2620,6 +2769,11 @@ public boolean equals(final java.lang.Object obj) { if (hasDesiredMonitoringConfig()) { if (!getDesiredMonitoringConfig().equals(other.getDesiredMonitoringConfig())) return false; } + if (hasDesiredIdentityServiceConfig() != other.hasDesiredIdentityServiceConfig()) return false; + if (hasDesiredIdentityServiceConfig()) { + if (!getDesiredIdentityServiceConfig().equals(other.getDesiredIdentityServiceConfig())) + return false; + } if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) return false; if (hasDesiredServiceExternalIpsConfig()) { @@ -2631,6 +2785,12 @@ public boolean equals(final java.lang.Object obj) { if (hasDesiredGcfsConfig()) { if (!getDesiredGcfsConfig().equals(other.getDesiredGcfsConfig())) return false; } + if (hasDesiredNodePoolAutoConfigNetworkTags() + != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; + if (hasDesiredNodePoolAutoConfigNetworkTags()) { + if (!getDesiredNodePoolAutoConfigNetworkTags() + .equals(other.getDesiredNodePoolAutoConfigNetworkTags())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2744,6 +2904,10 @@ public int hashCode() { hash = (37 * hash) + DESIRED_MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDesiredMonitoringConfig().hashCode(); } + if (hasDesiredIdentityServiceConfig()) { + hash = (37 * hash) + DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDesiredIdentityServiceConfig().hashCode(); + } if (hasDesiredServiceExternalIpsConfig()) { hash = (37 * hash) + DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDesiredServiceExternalIpsConfig().hashCode(); @@ -2754,6 +2918,10 @@ public int hashCode() { hash = (37 * hash) + DESIRED_GCFS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDesiredGcfsConfig().hashCode(); } + if (hasDesiredNodePoolAutoConfigNetworkTags()) { + hash = (37 * hash) + DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getDesiredNodePoolAutoConfigNetworkTags().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3042,6 +3210,12 @@ public Builder clear() { desiredMonitoringConfig_ = null; desiredMonitoringConfigBuilder_ = null; } + if (desiredIdentityServiceConfigBuilder_ == null) { + desiredIdentityServiceConfig_ = null; + } else { + desiredIdentityServiceConfig_ = null; + desiredIdentityServiceConfigBuilder_ = null; + } if (desiredServiceExternalIpsConfigBuilder_ == null) { desiredServiceExternalIpsConfig_ = null; } else { @@ -3056,6 +3230,12 @@ public Builder clear() { desiredGcfsConfig_ = null; desiredGcfsConfigBuilder_ = null; } + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTags_ = null; + } else { + desiredNodePoolAutoConfigNetworkTags_ = null; + desiredNodePoolAutoConfigNetworkTagsBuilder_ = null; + } return this; } @@ -3202,6 +3382,11 @@ public com.google.container.v1.ClusterUpdate buildPartial() { } else { result.desiredMonitoringConfig_ = desiredMonitoringConfigBuilder_.build(); } + if (desiredIdentityServiceConfigBuilder_ == null) { + result.desiredIdentityServiceConfig_ = desiredIdentityServiceConfig_; + } else { + result.desiredIdentityServiceConfig_ = desiredIdentityServiceConfigBuilder_.build(); + } if (desiredServiceExternalIpsConfigBuilder_ == null) { result.desiredServiceExternalIpsConfig_ = desiredServiceExternalIpsConfig_; } else { @@ -3213,6 +3398,12 @@ public com.google.container.v1.ClusterUpdate buildPartial() { } else { result.desiredGcfsConfig_ = desiredGcfsConfigBuilder_.build(); } + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTags_; + } else { + result.desiredNodePoolAutoConfigNetworkTags_ = + desiredNodePoolAutoConfigNetworkTagsBuilder_.build(); + } onBuilt(); return result; } @@ -3362,6 +3553,9 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) { if (other.hasDesiredMonitoringConfig()) { mergeDesiredMonitoringConfig(other.getDesiredMonitoringConfig()); } + if (other.hasDesiredIdentityServiceConfig()) { + mergeDesiredIdentityServiceConfig(other.getDesiredIdentityServiceConfig()); + } if (other.hasDesiredServiceExternalIpsConfig()) { mergeDesiredServiceExternalIpsConfig(other.getDesiredServiceExternalIpsConfig()); } @@ -3372,6 +3566,9 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) { if (other.hasDesiredGcfsConfig()) { mergeDesiredGcfsConfig(other.getDesiredGcfsConfig()); } + if (other.hasDesiredNodePoolAutoConfigNetworkTags()) { + mergeDesiredNodePoolAutoConfigNetworkTags(other.getDesiredNodePoolAutoConfigNetworkTags()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -8569,6 +8766,197 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon return desiredMonitoringConfigBuilder_; } + private com.google.container.v1.IdentityServiceConfig desiredIdentityServiceConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> + desiredIdentityServiceConfigBuilder_; + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * + * @return Whether the desiredIdentityServiceConfig field is set. + */ + public boolean hasDesiredIdentityServiceConfig() { + return desiredIdentityServiceConfigBuilder_ != null || desiredIdentityServiceConfig_ != null; + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * + * @return The desiredIdentityServiceConfig. + */ + public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig() { + if (desiredIdentityServiceConfigBuilder_ == null) { + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; + } else { + return desiredIdentityServiceConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + public Builder setDesiredIdentityServiceConfig( + com.google.container.v1.IdentityServiceConfig value) { + if (desiredIdentityServiceConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredIdentityServiceConfig_ = value; + onChanged(); + } else { + desiredIdentityServiceConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + public Builder setDesiredIdentityServiceConfig( + com.google.container.v1.IdentityServiceConfig.Builder builderForValue) { + if (desiredIdentityServiceConfigBuilder_ == null) { + desiredIdentityServiceConfig_ = builderForValue.build(); + onChanged(); + } else { + desiredIdentityServiceConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + public Builder mergeDesiredIdentityServiceConfig( + com.google.container.v1.IdentityServiceConfig value) { + if (desiredIdentityServiceConfigBuilder_ == null) { + if (desiredIdentityServiceConfig_ != null) { + desiredIdentityServiceConfig_ = + com.google.container.v1.IdentityServiceConfig.newBuilder( + desiredIdentityServiceConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + desiredIdentityServiceConfig_ = value; + } + onChanged(); + } else { + desiredIdentityServiceConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + public Builder clearDesiredIdentityServiceConfig() { + if (desiredIdentityServiceConfigBuilder_ == null) { + desiredIdentityServiceConfig_ = null; + onChanged(); + } else { + desiredIdentityServiceConfig_ = null; + desiredIdentityServiceConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + public com.google.container.v1.IdentityServiceConfig.Builder + getDesiredIdentityServiceConfigBuilder() { + + onChanged(); + return getDesiredIdentityServiceConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + public com.google.container.v1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder() { + if (desiredIdentityServiceConfigBuilder_ != null) { + return desiredIdentityServiceConfigBuilder_.getMessageOrBuilder(); + } else { + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; + } + } + /** + * + * + *
+     * The desired Identity Service component configuration.
+     * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> + getDesiredIdentityServiceConfigFieldBuilder() { + if (desiredIdentityServiceConfigBuilder_ == null) { + desiredIdentityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder>( + getDesiredIdentityServiceConfig(), getParentForChildren(), isClean()); + desiredIdentityServiceConfig_ = null; + } + return desiredIdentityServiceConfigBuilder_; + } + private com.google.container.v1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1.ServiceExternalIPsConfig, @@ -9106,6 +9494,215 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder return desiredGcfsConfigBuilder_; } + private com.google.container.v1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + desiredNodePoolAutoConfigNetworkTagsBuilder_; + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. + */ + public boolean hasDesiredNodePoolAutoConfigNetworkTags() { + return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null + || desiredNodePoolAutoConfigNetworkTags_ != null; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return The desiredNodePoolAutoConfigNetworkTags. + */ + public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; + } else { + return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder setDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1.NetworkTags value) { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredNodePoolAutoConfigNetworkTags_ = value; + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTagsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder setDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1.NetworkTags.Builder builderForValue) { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTags_ = builderForValue.build(); + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTagsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder mergeDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1.NetworkTags value) { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + desiredNodePoolAutoConfigNetworkTags_ = + com.google.container.v1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_) + .mergeFrom(value) + .buildPartial(); + } else { + desiredNodePoolAutoConfigNetworkTags_ = value; + } + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTagsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder clearDesiredNodePoolAutoConfigNetworkTags() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTags_ = null; + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTags_ = null; + desiredNodePoolAutoConfigNetworkTagsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public com.google.container.v1.NetworkTags.Builder + getDesiredNodePoolAutoConfigNetworkTagsBuilder() { + + onChanged(); + return getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public com.google.container.v1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ != null) { + return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessageOrBuilder(); + } else { + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; + } + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder>( + getDesiredNodePoolAutoConfigNetworkTags(), getParentForChildren(), isClean()); + desiredNodePoolAutoConfigNetworkTags_ = null; + } + return desiredNodePoolAutoConfigNetworkTagsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java index 73cc5b46ff2f..5e8d7b8c15b3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java @@ -1095,6 +1095,41 @@ public interface ClusterUpdateOrBuilder */ com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder(); + /** + * + * + *
+   * The desired Identity Service component configuration.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * + * @return Whether the desiredIdentityServiceConfig field is set. + */ + boolean hasDesiredIdentityServiceConfig(); + /** + * + * + *
+   * The desired Identity Service component configuration.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * + * @return The desiredIdentityServiceConfig. + */ + com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig(); + /** + * + * + *
+   * The desired Identity Service component configuration.
+   * 
+ * + * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + */ + com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder(); + /** * * @@ -1210,4 +1245,42 @@ public interface ClusterUpdateOrBuilder * .google.container.v1.GcfsConfig desired_gcfs_config = 109; */ com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder(); + + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. + */ + boolean hasDesiredNodePoolAutoConfigNetworkTags(); + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * @return The desiredNodePoolAutoConfigNetworkTags. + */ + com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags(); + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + */ + com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index 7552e7d235cf..3a2f9963bfc5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -144,14 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return The projectId. */ @java.lang.Override @@ -172,14 +172,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return The bytes for projectId. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return The zone. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return The bytes for zone. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return The clusterId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return The bytes for clusterId. */ @java.lang.Override @@ -320,7 +320,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -344,7 +344,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -737,14 +737,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return The projectId. */ @java.lang.Deprecated @@ -764,14 +764,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -791,14 +791,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @param value The projectId to set. * @return This builder for chaining. */ @@ -817,14 +817,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return This builder for chaining. */ @java.lang.Deprecated @@ -839,14 +839,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -876,7 +876,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return The zone. */ @java.lang.Deprecated @@ -904,7 +904,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return The bytes for zone. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @param value The zone to set. * @return This builder for chaining. */ @@ -959,7 +959,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return This builder for chaining. */ @java.lang.Deprecated @@ -982,7 +982,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return The clusterId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1087,7 +1087,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1129,7 +1129,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1152,7 +1152,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1175,7 +1175,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1197,7 +1197,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1215,7 +1215,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index d7b9604a80ce..ba1539e4c6b4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface CompleteIPRotationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface CompleteIPRotationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3189 + * google/container/v1/cluster_service.proto;l=3492 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3195 + * google/container/v1/cluster_service.proto;l=3498 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3199 + * google/container/v1/cluster_service.proto;l=3502 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -132,7 +132,7 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -145,7 +145,7 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java new file mode 100644 index 000000000000..a3cefda50487 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java @@ -0,0 +1,656 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
+ * upgrade.
+ * 
+ * + * Protobuf type {@code google.container.v1.CompleteNodePoolUpgradeRequest} + */ +public final class CompleteNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.CompleteNodePoolUpgradeRequest) + CompleteNodePoolUpgradeRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CompleteNodePoolUpgradeRequest.newBuilder() to construct. + private CompleteNodePoolUpgradeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CompleteNodePoolUpgradeRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CompleteNodePoolUpgradeRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CompleteNodePoolUpgradeRequest( + 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 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.CompleteNodePoolUpgradeRequest.class, + com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The name (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @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 (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, 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.container.v1.CompleteNodePoolUpgradeRequest)) { + return super.equals(obj); + } + com.google.container.v1.CompleteNodePoolUpgradeRequest other = + (com.google.container.v1.CompleteNodePoolUpgradeRequest) obj; + + 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(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest 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.container.v1.CompleteNodePoolUpgradeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest 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.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest 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.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest 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.container.v1.CompleteNodePoolUpgradeRequest 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; + } + /** + * + * + *
+   * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
+   * upgrade.
+   * 
+ * + * Protobuf type {@code google.container.v1.CompleteNodePoolUpgradeRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.CompleteNodePoolUpgradeRequest) + com.google.container.v1.CompleteNodePoolUpgradeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.CompleteNodePoolUpgradeRequest.class, + com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class); + } + + // Construct using com.google.container.v1.CompleteNodePoolUpgradeRequest.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_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor; + } + + @java.lang.Override + public com.google.container.v1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { + return com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.CompleteNodePoolUpgradeRequest build() { + com.google.container.v1.CompleteNodePoolUpgradeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.CompleteNodePoolUpgradeRequest buildPartial() { + com.google.container.v1.CompleteNodePoolUpgradeRequest result = + new com.google.container.v1.CompleteNodePoolUpgradeRequest(this); + result.name_ = name_; + 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.container.v1.CompleteNodePoolUpgradeRequest) { + return mergeFrom((com.google.container.v1.CompleteNodePoolUpgradeRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.CompleteNodePoolUpgradeRequest other) { + if (other == com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + 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.container.v1.CompleteNodePoolUpgradeRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1.CompleteNodePoolUpgradeRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @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 (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + 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.container.v1.CompleteNodePoolUpgradeRequest) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.CompleteNodePoolUpgradeRequest) + private static final com.google.container.v1.CompleteNodePoolUpgradeRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.CompleteNodePoolUpgradeRequest(); + } + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompleteNodePoolUpgradeRequest(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.container.v1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java new file mode 100644 index 000000000000..ad8333cc2658 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface CompleteNodePoolUpgradeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.CompleteNodePoolUpgradeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java index 2ee739e3ed11..bef0ac64d0ab 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java @@ -116,8 +116,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Whether Confidential Nodes feature is enabled for all nodes in this
-   * cluster.
+   * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; @@ -450,8 +449,7 @@ public Builder mergeFrom( * * *
-     * Whether Confidential Nodes feature is enabled for all nodes in this
-     * cluster.
+     * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; @@ -466,8 +464,7 @@ public boolean getEnabled() { * * *
-     * Whether Confidential Nodes feature is enabled for all nodes in this
-     * cluster.
+     * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; @@ -485,8 +482,7 @@ public Builder setEnabled(boolean value) { * * *
-     * Whether Confidential Nodes feature is enabled for all nodes in this
-     * cluster.
+     * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java index 0272b8c4aa57..845f4a12dd51 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java @@ -27,8 +27,7 @@ public interface ConfidentialNodesOrBuilder * * *
-   * Whether Confidential Nodes feature is enabled for all nodes in this
-   * cluster.
+   * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index 25fe6c71c0e5..8900326e00fa 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -151,14 +151,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return The projectId. */ @java.lang.Override @@ -179,14 +179,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return The bytes for projectId. */ @java.lang.Override @@ -218,7 +218,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return The zone. */ @java.lang.Override @@ -247,7 +247,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return The bytes for zone. */ @java.lang.Override @@ -749,14 +749,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return The projectId. */ @java.lang.Deprecated @@ -776,14 +776,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -803,14 +803,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @param value The projectId to set. * @return This builder for chaining. */ @@ -829,14 +829,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return This builder for chaining. */ @java.lang.Deprecated @@ -851,14 +851,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -888,7 +888,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return The zone. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return The bytes for zone. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @param value The zone to set. * @return This builder for chaining. */ @@ -971,7 +971,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return This builder for chaining. */ @java.lang.Deprecated @@ -994,7 +994,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 2e7bd03acec8..807384c30e9b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface CreateClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface CreateClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1938 + * google/container/v1/cluster_service.proto;l=2054 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1944 + * google/container/v1/cluster_service.proto;l=2060 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 7a9f6f9de9e3..71ab0212fc37 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -159,14 +159,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return The projectId. */ @java.lang.Override @@ -187,14 +187,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return The bytes for projectId. */ @java.lang.Override @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return The zone. */ @java.lang.Override @@ -255,7 +255,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return The bytes for zone. */ @java.lang.Override @@ -285,7 +285,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return The clusterId. */ @java.lang.Override @@ -312,7 +312,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return The bytes for clusterId. */ @java.lang.Override @@ -384,7 +384,7 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
@@ -409,7 +409,7 @@ public java.lang.String getParent() { * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
@@ -829,14 +829,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return The projectId. */ @java.lang.Deprecated @@ -856,14 +856,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -883,14 +883,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,14 +909,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return This builder for chaining. */ @java.lang.Deprecated @@ -931,14 +931,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -968,7 +968,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return The zone. */ @java.lang.Deprecated @@ -996,7 +996,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @param value The zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return The clusterId. */ @java.lang.Deprecated @@ -1128,7 +1128,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1154,7 +1154,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1179,7 +1179,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1415,7 +1415,7 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1439,7 +1439,7 @@ public java.lang.String getParent() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1463,7 +1463,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1486,7 +1486,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1505,7 +1505,7 @@ public Builder clearParent() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index e31cce7f9b82..5a4103c4fc10 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface CreateNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface CreateNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2488 + * google/container/v1/cluster_service.proto;l=2626 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2494 + * google/container/v1/cluster_service.proto;l=2632 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2498 + * google/container/v1/cluster_service.proto;l=2636 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -170,7 +170,7 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
@@ -184,7 +184,7 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java index 9d5e4b980a10..89b85b88b22c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java @@ -158,7 +158,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); + return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2); } private static final DatapathProvider[] VALUES = values(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index cab202bf26ec..4c9a4f6eff27 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -144,14 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return The projectId. */ @java.lang.Override @@ -172,14 +172,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return The bytes for projectId. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return The zone. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return The bytes for zone. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return The clusterId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return The bytes for clusterId. */ @java.lang.Override @@ -735,14 +735,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return The projectId. */ @java.lang.Deprecated @@ -762,14 +762,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -789,14 +789,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @param value The projectId to set. * @return This builder for chaining. */ @@ -815,14 +815,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return This builder for chaining. */ @java.lang.Deprecated @@ -837,14 +837,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return The clusterId. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index ae6443a54325..3bff46cc28cb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface DeleteClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface DeleteClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2312 + * google/container/v1/cluster_service.proto;l=2450 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2318 + * google/container/v1/cluster_service.proto;l=2456 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2322 + * google/container/v1/cluster_service.proto;l=2460 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 93a1b6b65f6c..ae9f8f44a2ef 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -152,14 +152,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return The projectId. */ @java.lang.Override @@ -180,14 +180,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return The bytes for zone. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return The clusterId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return The bytes for clusterId. */ @java.lang.Override @@ -335,7 +335,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return The nodePoolId. */ @java.lang.Override @@ -362,7 +362,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -818,14 +818,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return The projectId. */ @java.lang.Deprecated @@ -845,14 +845,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -872,14 +872,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @param value The projectId to set. * @return This builder for chaining. */ @@ -898,14 +898,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return This builder for chaining. */ @java.lang.Deprecated @@ -920,14 +920,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1217,7 +1217,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1243,7 +1243,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1269,7 +1269,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1294,7 +1294,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1315,7 +1315,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index a87a7d1857b0..004ea35c1080 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface DeleteNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface DeleteNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2514 + * google/container/v1/cluster_service.proto;l=2652 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2520 + * google/container/v1/cluster_service.proto;l=2658 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2524 + * google/container/v1/cluster_service.proto;l=2662 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2528 + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java new file mode 100644 index 000000000000..bb681d5e2355 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java @@ -0,0 +1,904 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * GPUSharingConfig represents the GPU sharing configuration for Hardware
+ * Accelerators.
+ * 
+ * + * Protobuf type {@code google.container.v1.GPUSharingConfig} + */ +public final class GPUSharingConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.GPUSharingConfig) + GPUSharingConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use GPUSharingConfig.newBuilder() to construct. + private GPUSharingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GPUSharingConfig() { + gpuSharingStrategy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GPUSharingConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GPUSharingConfig( + 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 8: + { + maxSharedClientsPerGpu_ = input.readInt64(); + break; + } + case 16: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + gpuSharingStrategy_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GPUSharingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.GPUSharingConfig.class, + com.google.container.v1.GPUSharingConfig.Builder.class); + } + + /** + * + * + *
+   * The type of GPU sharing strategy currently provided.
+   * 
+ * + * Protobuf enum {@code google.container.v1.GPUSharingConfig.GPUSharingStrategy} + */ + public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value.
+     * 
+ * + * GPU_SHARING_STRATEGY_UNSPECIFIED = 0; + */ + GPU_SHARING_STRATEGY_UNSPECIFIED(0), + /** + * + * + *
+     * GPUs are time-shared between containers.
+     * 
+ * + * TIME_SHARING = 1; + */ + TIME_SHARING(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value.
+     * 
+ * + * GPU_SHARING_STRATEGY_UNSPECIFIED = 0; + */ + public static final int GPU_SHARING_STRATEGY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * GPUs are time-shared between containers.
+     * 
+ * + * TIME_SHARING = 1; + */ + public static final int TIME_SHARING_VALUE = 1; + + 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 GPUSharingStrategy 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 GPUSharingStrategy forNumber(int value) { + switch (value) { + case 0: + return GPU_SHARING_STRATEGY_UNSPECIFIED; + case 1: + return TIME_SHARING; + 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 GPUSharingStrategy findValueByNumber(int number) { + return GPUSharingStrategy.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.container.v1.GPUSharingConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final GPUSharingStrategy[] VALUES = values(); + + public static GPUSharingStrategy 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 GPUSharingStrategy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1.GPUSharingConfig.GPUSharingStrategy) + } + + private int bitField0_; + public static final int MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 1; + private long maxSharedClientsPerGpu_; + /** + * + * + *
+   * The max number of containers that can share a physical GPU.
+   * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return The maxSharedClientsPerGpu. + */ + @java.lang.Override + public long getMaxSharedClientsPerGpu() { + return maxSharedClientsPerGpu_; + } + + public static final int GPU_SHARING_STRATEGY_FIELD_NUMBER = 2; + private int gpuSharingStrategy_; + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return Whether the gpuSharingStrategy field is set. + */ + @java.lang.Override + public boolean hasGpuSharingStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The enum numeric value on the wire for gpuSharingStrategy. + */ + @java.lang.Override + public int getGpuSharingStrategyValue() { + return gpuSharingStrategy_; + } + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The gpuSharingStrategy. + */ + @java.lang.Override + public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null + ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (maxSharedClientsPerGpu_ != 0L) { + output.writeInt64(1, maxSharedClientsPerGpu_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(2, gpuSharingStrategy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (maxSharedClientsPerGpu_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxSharedClientsPerGpu_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gpuSharingStrategy_); + } + 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.container.v1.GPUSharingConfig)) { + return super.equals(obj); + } + com.google.container.v1.GPUSharingConfig other = (com.google.container.v1.GPUSharingConfig) obj; + + if (getMaxSharedClientsPerGpu() != other.getMaxSharedClientsPerGpu()) return false; + if (hasGpuSharingStrategy() != other.hasGpuSharingStrategy()) return false; + if (hasGpuSharingStrategy()) { + if (gpuSharingStrategy_ != other.gpuSharingStrategy_) 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) + MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSharedClientsPerGpu()); + if (hasGpuSharingStrategy()) { + hash = (37 * hash) + GPU_SHARING_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + gpuSharingStrategy_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.GPUSharingConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.GPUSharingConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.GPUSharingConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.GPUSharingConfig 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.container.v1.GPUSharingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.GPUSharingConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.GPUSharingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.GPUSharingConfig 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.container.v1.GPUSharingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.GPUSharingConfig 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.container.v1.GPUSharingConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.GPUSharingConfig 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.container.v1.GPUSharingConfig 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; + } + /** + * + * + *
+   * GPUSharingConfig represents the GPU sharing configuration for Hardware
+   * Accelerators.
+   * 
+ * + * Protobuf type {@code google.container.v1.GPUSharingConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.GPUSharingConfig) + com.google.container.v1.GPUSharingConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GPUSharingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.GPUSharingConfig.class, + com.google.container.v1.GPUSharingConfig.Builder.class); + } + + // Construct using com.google.container.v1.GPUSharingConfig.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(); + maxSharedClientsPerGpu_ = 0L; + + gpuSharingStrategy_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GPUSharingConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1.GPUSharingConfig getDefaultInstanceForType() { + return com.google.container.v1.GPUSharingConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.GPUSharingConfig build() { + com.google.container.v1.GPUSharingConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.GPUSharingConfig buildPartial() { + com.google.container.v1.GPUSharingConfig result = + new com.google.container.v1.GPUSharingConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.maxSharedClientsPerGpu_ = maxSharedClientsPerGpu_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.gpuSharingStrategy_ = gpuSharingStrategy_; + 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.container.v1.GPUSharingConfig) { + return mergeFrom((com.google.container.v1.GPUSharingConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.GPUSharingConfig other) { + if (other == com.google.container.v1.GPUSharingConfig.getDefaultInstance()) return this; + if (other.getMaxSharedClientsPerGpu() != 0L) { + setMaxSharedClientsPerGpu(other.getMaxSharedClientsPerGpu()); + } + if (other.hasGpuSharingStrategy()) { + setGpuSharingStrategy(other.getGpuSharingStrategy()); + } + 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.container.v1.GPUSharingConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.GPUSharingConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private long maxSharedClientsPerGpu_; + /** + * + * + *
+     * The max number of containers that can share a physical GPU.
+     * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return The maxSharedClientsPerGpu. + */ + @java.lang.Override + public long getMaxSharedClientsPerGpu() { + return maxSharedClientsPerGpu_; + } + /** + * + * + *
+     * The max number of containers that can share a physical GPU.
+     * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @param value The maxSharedClientsPerGpu to set. + * @return This builder for chaining. + */ + public Builder setMaxSharedClientsPerGpu(long value) { + + maxSharedClientsPerGpu_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The max number of containers that can share a physical GPU.
+     * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxSharedClientsPerGpu() { + + maxSharedClientsPerGpu_ = 0L; + onChanged(); + return this; + } + + private int gpuSharingStrategy_ = 0; + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return Whether the gpuSharingStrategy field is set. + */ + @java.lang.Override + public boolean hasGpuSharingStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The enum numeric value on the wire for gpuSharingStrategy. + */ + @java.lang.Override + public int getGpuSharingStrategyValue() { + return gpuSharingStrategy_; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @param value The enum numeric value on the wire for gpuSharingStrategy to set. + * @return This builder for chaining. + */ + public Builder setGpuSharingStrategyValue(int value) { + bitField0_ |= 0x00000001; + gpuSharingStrategy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The gpuSharingStrategy. + */ + @java.lang.Override + public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null + ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @param value The gpuSharingStrategy to set. + * @return This builder for chaining. + */ + public Builder setGpuSharingStrategy( + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + gpuSharingStrategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearGpuSharingStrategy() { + bitField0_ = (bitField0_ & ~0x00000001); + gpuSharingStrategy_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1.GPUSharingConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.GPUSharingConfig) + private static final com.google.container.v1.GPUSharingConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.GPUSharingConfig(); + } + + public static com.google.container.v1.GPUSharingConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GPUSharingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GPUSharingConfig(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.container.v1.GPUSharingConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java new file mode 100644 index 000000000000..b259514e2645 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java @@ -0,0 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GPUSharingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GPUSharingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The max number of containers that can share a physical GPU.
+   * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return The maxSharedClientsPerGpu. + */ + long getMaxSharedClientsPerGpu(); + + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return Whether the gpuSharingStrategy field is set. + */ + boolean hasGpuSharingStrategy(); + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The enum numeric value on the wire for gpuSharingStrategy. + */ + int getGpuSharingStrategyValue(); + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The gpuSharingStrategy. + */ + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index da4799c7513d..0704085528c3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -144,14 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return The projectId. */ @java.lang.Override @@ -172,14 +172,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return The bytes for projectId. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return The zone. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return The bytes for zone. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return The clusterId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return The bytes for clusterId. */ @java.lang.Override @@ -735,14 +735,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return The projectId. */ @java.lang.Deprecated @@ -762,14 +762,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -789,14 +789,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @param value The projectId to set. * @return This builder for chaining. */ @@ -815,14 +815,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return This builder for chaining. */ @java.lang.Deprecated @@ -837,14 +837,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return The clusterId. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 3a9195015b01..19dbff4c279d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface GetClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface GetClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1960 + * google/container/v1/cluster_service.proto;l=2076 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1966 + * google/container/v1/cluster_service.proto;l=2082 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1970 + * google/container/v1/cluster_service.proto;l=2086 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java index 0a069f00fbe4..c666a99d0c1d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java @@ -122,7 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -146,7 +146,7 @@ public java.lang.String getParent() { * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -491,7 +491,7 @@ public Builder mergeFrom( * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -514,7 +514,7 @@ public java.lang.String getParent() { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -537,7 +537,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -559,7 +559,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -577,7 +577,7 @@ public Builder clearParent() { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java index 4d62e20fba44..bb47f6a3dd8f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface GetJSONWebKeysRequestOrBuilder * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -40,7 +40,7 @@ public interface GetJSONWebKeysRequestOrBuilder * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index 0826ee393a30..9f69561bdd50 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -152,14 +152,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return The projectId. */ @java.lang.Override @@ -180,14 +180,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return The bytes for zone. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return The clusterId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return The bytes for clusterId. */ @java.lang.Override @@ -335,7 +335,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return The nodePoolId. */ @java.lang.Override @@ -362,7 +362,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -818,14 +818,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return The projectId. */ @java.lang.Deprecated @@ -845,14 +845,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -872,14 +872,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @param value The projectId to set. * @return This builder for chaining. */ @@ -898,14 +898,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return This builder for chaining. */ @java.lang.Deprecated @@ -920,14 +920,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1217,7 +1217,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1243,7 +1243,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1269,7 +1269,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1294,7 +1294,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1315,7 +1315,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index 24a387940ac3..8e2d0dc350aa 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface GetNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface GetNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2563 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * google/container/v1/cluster_service.proto;l=2707 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2573 + * google/container/v1/cluster_service.proto;l=2711 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2577 + * google/container/v1/cluster_service.proto;l=2715 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index 3119b6669d56..afc576b1fb53 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -144,14 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return The projectId. */ @java.lang.Override @@ -172,14 +172,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return The bytes for projectId. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return The zone. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return The bytes for zone. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return The operationId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return The bytes for operationId. */ @java.lang.Override @@ -735,14 +735,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return The projectId. */ @java.lang.Deprecated @@ -762,14 +762,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -789,14 +789,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @param value The projectId to set. * @return This builder for chaining. */ @@ -815,14 +815,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return This builder for chaining. */ @java.lang.Deprecated @@ -837,14 +837,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return The operationId. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index 6eae4adbb793..0b3c6204db1e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface GetOperationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface GetOperationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2364 + * google/container/v1/cluster_service.proto;l=2502 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2370 + * google/container/v1/cluster_service.proto;l=2508 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return The operationId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2374 + * google/container/v1/cluster_service.proto;l=2512 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 265b3d6b2ac9..2989a57c8851 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -136,14 +136,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return The projectId. */ @java.lang.Override @@ -164,14 +164,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return The bytes for projectId. */ @java.lang.Override @@ -203,7 +203,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return The zone. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return The bytes for zone. */ @java.lang.Override @@ -654,14 +654,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return The projectId. */ @java.lang.Deprecated @@ -681,14 +681,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -708,14 +708,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @param value The projectId to set. * @return This builder for chaining. */ @@ -734,14 +734,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return This builder for chaining. */ @java.lang.Deprecated @@ -756,14 +756,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -793,7 +793,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return The zone. */ @java.lang.Deprecated @@ -821,7 +821,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return The bytes for zone. */ @java.lang.Deprecated @@ -849,7 +849,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @param value The zone to set. * @return This builder for chaining. */ @@ -876,7 +876,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return This builder for chaining. */ @java.lang.Deprecated @@ -899,7 +899,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index ff31633a4280..cd5b560612c9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface GetServerConfigRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface GetServerConfigRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2437 + * google/container/v1/cluster_service.proto;l=2575 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2443 + * google/container/v1/cluster_service.proto;l=2581 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index f3937f64e11a..e713a223f6e2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -305,7 +305,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -331,7 +331,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -360,7 +360,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -386,7 +386,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -415,7 +415,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -441,7 +441,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -1622,7 +1622,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1647,7 +1647,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1672,7 +1672,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -1696,7 +1696,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1716,7 +1716,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -1743,7 +1743,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -1768,7 +1768,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -1793,7 +1793,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -1817,7 +1817,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1837,7 +1837,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -1864,7 +1864,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -1889,7 +1889,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -1914,7 +1914,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -1938,7 +1938,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1958,7 +1958,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index ede5ee952b07..3dfa8b388698 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java @@ -92,7 +92,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1159 + * google/container/v1/cluster_service.proto;l=1250 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1162 + * google/container/v1/cluster_service.proto;l=1253 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -154,7 +154,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1165 + * google/container/v1/cluster_service.proto;l=1256 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java new file mode 100644 index 000000000000..63e2af088a67 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java @@ -0,0 +1,548 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * IdentityServiceConfig is configuration for Identity Service which allows
+ * customers to use external identity providers with the K8S API
+ * 
+ * + * Protobuf type {@code google.container.v1.IdentityServiceConfig} + */ +public final class IdentityServiceConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.IdentityServiceConfig) + IdentityServiceConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use IdentityServiceConfig.newBuilder() to construct. + private IdentityServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private IdentityServiceConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IdentityServiceConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private IdentityServiceConfig( + 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 8: + { + enabled_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IdentityServiceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.IdentityServiceConfig.class, + com.google.container.v1.IdentityServiceConfig.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_; + /** + * + * + *
+   * Whether to enable the Identity Service component
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + 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 (enabled_ != false) { + output.writeBool(1, enabled_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + 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.container.v1.IdentityServiceConfig)) { + return super.equals(obj); + } + com.google.container.v1.IdentityServiceConfig other = + (com.google.container.v1.IdentityServiceConfig) obj; + + if (getEnabled() != other.getEnabled()) 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) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.IdentityServiceConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.IdentityServiceConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.IdentityServiceConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.IdentityServiceConfig 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.container.v1.IdentityServiceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.IdentityServiceConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.IdentityServiceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.IdentityServiceConfig 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.container.v1.IdentityServiceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.IdentityServiceConfig 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.container.v1.IdentityServiceConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.IdentityServiceConfig 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.container.v1.IdentityServiceConfig 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; + } + /** + * + * + *
+   * IdentityServiceConfig is configuration for Identity Service which allows
+   * customers to use external identity providers with the K8S API
+   * 
+ * + * Protobuf type {@code google.container.v1.IdentityServiceConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.IdentityServiceConfig) + com.google.container.v1.IdentityServiceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IdentityServiceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.IdentityServiceConfig.class, + com.google.container.v1.IdentityServiceConfig.Builder.class); + } + + // Construct using com.google.container.v1.IdentityServiceConfig.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(); + enabled_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IdentityServiceConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1.IdentityServiceConfig getDefaultInstanceForType() { + return com.google.container.v1.IdentityServiceConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.IdentityServiceConfig build() { + com.google.container.v1.IdentityServiceConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.IdentityServiceConfig buildPartial() { + com.google.container.v1.IdentityServiceConfig result = + new com.google.container.v1.IdentityServiceConfig(this); + result.enabled_ = enabled_; + 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.container.v1.IdentityServiceConfig) { + return mergeFrom((com.google.container.v1.IdentityServiceConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.IdentityServiceConfig other) { + if (other == com.google.container.v1.IdentityServiceConfig.getDefaultInstance()) return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + 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.container.v1.IdentityServiceConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.IdentityServiceConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean enabled_; + /** + * + * + *
+     * Whether to enable the Identity Service component
+     * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + * + * + *
+     * Whether to enable the Identity Service component
+     * 
+ * + * bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Whether to enable the Identity Service component
+     * 
+ * + * bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + + enabled_ = 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.container.v1.IdentityServiceConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.IdentityServiceConfig) + private static final com.google.container.v1.IdentityServiceConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.IdentityServiceConfig(); + } + + public static com.google.container.v1.IdentityServiceConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityServiceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentityServiceConfig(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.container.v1.IdentityServiceConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java new file mode 100644 index 000000000000..7be1d3e9bf67 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface IdentityServiceConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.IdentityServiceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether to enable the Identity Service component
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java index 479bdf246a3f..a63fc7d7fe9a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java @@ -162,6 +162,8 @@ public int getSysctlsCount() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -195,6 +197,8 @@ public java.util.Map getSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -219,6 +223,8 @@ public java.util.Map getSysctlsMap() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -247,6 +253,8 @@ public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.Stri * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -647,6 +655,8 @@ public int getSysctlsCount() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -680,6 +690,8 @@ public java.util.Map getSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -704,6 +716,8 @@ public java.util.Map getSysctlsMap() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -733,6 +747,8 @@ public java.lang.String getSysctlsOrDefault( * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -769,6 +785,8 @@ public Builder clearSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -801,6 +819,8 @@ public java.util.Map getMutableSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -832,6 +852,8 @@ public Builder putSysctls(java.lang.String key, java.lang.String value) { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java index 8bb445156c12..c0b4b5ad212b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java @@ -30,6 +30,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -51,6 +53,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -75,6 +79,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -96,6 +102,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -122,6 +130,8 @@ java.lang.String getSysctlsOrDefault( * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index 934858658841..9186ed2fda43 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -136,14 +136,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return The projectId. */ @java.lang.Override @@ -164,14 +164,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return The bytes for projectId. */ @java.lang.Override @@ -203,7 +203,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return The zone. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return The bytes for zone. */ @java.lang.Override @@ -656,14 +656,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return The projectId. */ @java.lang.Deprecated @@ -683,14 +683,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,14 +710,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @param value The projectId to set. * @return This builder for chaining. */ @@ -736,14 +736,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return This builder for chaining. */ @java.lang.Deprecated @@ -758,14 +758,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -795,7 +795,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return The zone. */ @java.lang.Deprecated @@ -823,7 +823,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return The bytes for zone. */ @java.lang.Deprecated @@ -851,7 +851,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @param value The zone to set. * @return This builder for chaining. */ @@ -878,7 +878,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return This builder for chaining. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index 6aaffba14941..3e9bebc1ed74 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface ListClustersRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface ListClustersRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2334 + * google/container/v1/cluster_service.proto;l=2472 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * google/container/v1/cluster_service.proto;l=2478 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index f8fd0c8713df..365e55bcadb3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -144,14 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return The projectId. */ @java.lang.Override @@ -172,14 +172,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for projectId. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return The zone. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return The bytes for zone. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return The clusterId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return The bytes for clusterId. */ @java.lang.Override @@ -320,7 +320,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -344,7 +344,7 @@ public java.lang.String getParent() { * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -735,14 +735,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return The projectId. */ @java.lang.Deprecated @@ -762,14 +762,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -789,14 +789,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @param value The projectId to set. * @return This builder for chaining. */ @@ -815,14 +815,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return This builder for chaining. */ @java.lang.Deprecated @@ -837,14 +837,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return The clusterId. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1127,7 +1127,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1150,7 +1150,7 @@ public java.lang.String getParent() { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1173,7 +1173,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1195,7 +1195,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1213,7 +1213,7 @@ public Builder clearParent() { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 1ecaa2d3f8c7..03a98d501011 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface ListNodePoolsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface ListNodePoolsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2541 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2685 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * google/container/v1/cluster_service.proto;l=2689 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -132,7 +132,7 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -145,7 +145,7 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index 6e387af7f629..00cc97735739 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -136,14 +136,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return The projectId. */ @java.lang.Override @@ -164,14 +164,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return The bytes for projectId. */ @java.lang.Override @@ -203,7 +203,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return The zone. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return The bytes for zone. */ @java.lang.Override @@ -656,14 +656,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return The projectId. */ @java.lang.Deprecated @@ -683,14 +683,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,14 +710,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @param value The projectId to set. * @return This builder for chaining. */ @@ -736,14 +736,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return This builder for chaining. */ @java.lang.Deprecated @@ -758,14 +758,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -795,7 +795,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return The zone. */ @java.lang.Deprecated @@ -823,7 +823,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return The bytes for zone. */ @java.lang.Deprecated @@ -851,7 +851,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @param value The zone to set. * @return This builder for chaining. */ @@ -878,7 +878,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return This builder for chaining. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index ef347536a260..9cd66052205a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface ListOperationsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface ListOperationsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2524 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2392 + * google/container/v1/cluster_service.proto;l=2530 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java new file mode 100644 index 000000000000..3f3eaa8b4238 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java @@ -0,0 +1,549 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * ManagedPrometheusConfig defines the configuration for
+ * Google Cloud Managed Service for Prometheus.
+ * 
+ * + * Protobuf type {@code google.container.v1.ManagedPrometheusConfig} + */ +public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.ManagedPrometheusConfig) + ManagedPrometheusConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ManagedPrometheusConfig.newBuilder() to construct. + private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ManagedPrometheusConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ManagedPrometheusConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ManagedPrometheusConfig( + 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 8: + { + enabled_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.ManagedPrometheusConfig.class, + com.google.container.v1.ManagedPrometheusConfig.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_; + /** + * + * + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + 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 (enabled_ != false) { + output.writeBool(1, enabled_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + 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.container.v1.ManagedPrometheusConfig)) { + return super.equals(obj); + } + com.google.container.v1.ManagedPrometheusConfig other = + (com.google.container.v1.ManagedPrometheusConfig) obj; + + if (getEnabled() != other.getEnabled()) 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) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.ManagedPrometheusConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.ManagedPrometheusConfig 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.container.v1.ManagedPrometheusConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.ManagedPrometheusConfig 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.container.v1.ManagedPrometheusConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.ManagedPrometheusConfig 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.container.v1.ManagedPrometheusConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.ManagedPrometheusConfig 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.container.v1.ManagedPrometheusConfig 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; + } + /** + * + * + *
+   * ManagedPrometheusConfig defines the configuration for
+   * Google Cloud Managed Service for Prometheus.
+   * 
+ * + * Protobuf type {@code google.container.v1.ManagedPrometheusConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.ManagedPrometheusConfig) + com.google.container.v1.ManagedPrometheusConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.ManagedPrometheusConfig.class, + com.google.container.v1.ManagedPrometheusConfig.Builder.class); + } + + // Construct using com.google.container.v1.ManagedPrometheusConfig.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(); + enabled_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1.ManagedPrometheusConfig getDefaultInstanceForType() { + return com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.ManagedPrometheusConfig build() { + com.google.container.v1.ManagedPrometheusConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.ManagedPrometheusConfig buildPartial() { + com.google.container.v1.ManagedPrometheusConfig result = + new com.google.container.v1.ManagedPrometheusConfig(this); + result.enabled_ = enabled_; + 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.container.v1.ManagedPrometheusConfig) { + return mergeFrom((com.google.container.v1.ManagedPrometheusConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.ManagedPrometheusConfig other) { + if (other == com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance()) + return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + 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.container.v1.ManagedPrometheusConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.ManagedPrometheusConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean enabled_; + /** + * + * + *
+     * Enable Managed Collection.
+     * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + * + * + *
+     * Enable Managed Collection.
+     * 
+ * + * bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable Managed Collection.
+     * 
+ * + * bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + + enabled_ = 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.container.v1.ManagedPrometheusConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.ManagedPrometheusConfig) + private static final com.google.container.v1.ManagedPrometheusConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.ManagedPrometheusConfig(); + } + + public static com.google.container.v1.ManagedPrometheusConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagedPrometheusConfig(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.container.v1.ManagedPrometheusConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..31d5392d9566 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ManagedPrometheusConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index 0eefafd4a54f..5a1378f43036 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -181,7 +181,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return The username. */ @java.lang.Override @@ -213,7 +213,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return The bytes for username. */ @java.lang.Override @@ -249,7 +249,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return The password. */ @java.lang.Override @@ -282,7 +282,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return The bytes for password. */ @java.lang.Override @@ -932,7 +932,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return The username. */ @java.lang.Deprecated @@ -963,7 +963,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return The bytes for username. */ @java.lang.Deprecated @@ -994,7 +994,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @param value The username to set. * @return This builder for chaining. */ @@ -1024,7 +1024,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return The password. */ @java.lang.Deprecated @@ -1116,7 +1116,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return The bytes for password. */ @java.lang.Deprecated @@ -1148,7 +1148,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @param value The password to set. * @return This builder for chaining. */ @@ -1179,7 +1179,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1206,7 +1206,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index 34d03f8231be..0d3f1e78f8f2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java @@ -39,7 +39,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return The username. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=879 + * google/container/v1/cluster_service.proto;l=951 * @return The bytes for username. */ @java.lang.Deprecated @@ -83,7 +83,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return The password. */ @java.lang.Deprecated @@ -105,7 +105,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=890 + * google/container/v1/cluster_service.proto;l=962 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java index 57a40e6c1954..5737a29659b2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java @@ -165,6 +165,36 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { * SYSTEM_COMPONENTS = 1; */ SYSTEM_COMPONENTS(1), + /** + * + * + *
+     * kube-apiserver
+     * 
+ * + * APISERVER = 3; + */ + APISERVER(3), + /** + * + * + *
+     * kube-scheduler
+     * 
+ * + * SCHEDULER = 4; + */ + SCHEDULER(4), + /** + * + * + *
+     * kube-controller-manager
+     * 
+ * + * CONTROLLER_MANAGER = 5; + */ + CONTROLLER_MANAGER(5), UNRECOGNIZED(-1), ; @@ -188,6 +218,36 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { * SYSTEM_COMPONENTS = 1; */ public static final int SYSTEM_COMPONENTS_VALUE = 1; + /** + * + * + *
+     * kube-apiserver
+     * 
+ * + * APISERVER = 3; + */ + public static final int APISERVER_VALUE = 3; + /** + * + * + *
+     * kube-scheduler
+     * 
+ * + * SCHEDULER = 4; + */ + public static final int SCHEDULER_VALUE = 4; + /** + * + * + *
+     * kube-controller-manager
+     * 
+ * + * CONTROLLER_MANAGER = 5; + */ + public static final int CONTROLLER_MANAGER_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -217,6 +277,12 @@ public static Component forNumber(int value) { return COMPONENT_UNSPECIFIED; case 1: return SYSTEM_COMPONENTS; + case 3: + return APISERVER; + case 4: + return SCHEDULER; + case 5: + return CONTROLLER_MANAGER; default: return null; } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java index eb72d54abf51..8858dc08f90f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java @@ -83,6 +83,22 @@ private MonitoringConfig( componentConfig_ = subBuilder.buildPartial(); } + break; + } + case 18: + { + com.google.container.v1.ManagedPrometheusConfig.Builder subBuilder = null; + if (managedPrometheusConfig_ != null) { + subBuilder = managedPrometheusConfig_.toBuilder(); + } + managedPrometheusConfig_ = + input.readMessage( + com.google.container.v1.ManagedPrometheusConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managedPrometheusConfig_); + managedPrometheusConfig_ = subBuilder.buildPartial(); + } + break; } default: @@ -169,6 +185,58 @@ public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentCo return getComponentConfig(); } + public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; + private com.google.container.v1.ManagedPrometheusConfig managedPrometheusConfig_; + /** + * + * + *
+   * Enable Google Cloud Managed Service for Prometheus
+   * in the cluster.
+   * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * @return Whether the managedPrometheusConfig field is set. + */ + @java.lang.Override + public boolean hasManagedPrometheusConfig() { + return managedPrometheusConfig_ != null; + } + /** + * + * + *
+   * Enable Google Cloud Managed Service for Prometheus
+   * in the cluster.
+   * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * @return The managedPrometheusConfig. + */ + @java.lang.Override + public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { + return managedPrometheusConfig_ == null + ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; + } + /** + * + * + *
+   * Enable Google Cloud Managed Service for Prometheus
+   * in the cluster.
+   * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + @java.lang.Override + public com.google.container.v1.ManagedPrometheusConfigOrBuilder + getManagedPrometheusConfigOrBuilder() { + return getManagedPrometheusConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -186,6 +254,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } + if (managedPrometheusConfig_ != null) { + output.writeMessage(2, getManagedPrometheusConfig()); + } unknownFields.writeTo(output); } @@ -198,6 +269,10 @@ public int getSerializedSize() { if (componentConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); } + if (managedPrometheusConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -217,6 +292,10 @@ public boolean equals(final java.lang.Object obj) { if (hasComponentConfig()) { if (!getComponentConfig().equals(other.getComponentConfig())) return false; } + if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false; + if (hasManagedPrometheusConfig()) { + if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,6 +311,10 @@ public int hashCode() { hash = (37 * hash) + COMPONENT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getComponentConfig().hashCode(); } + if (hasManagedPrometheusConfig()) { + hash = (37 * hash) + MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getManagedPrometheusConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -383,6 +466,12 @@ public Builder clear() { componentConfig_ = null; componentConfigBuilder_ = null; } + if (managedPrometheusConfigBuilder_ == null) { + managedPrometheusConfig_ = null; + } else { + managedPrometheusConfig_ = null; + managedPrometheusConfigBuilder_ = null; + } return this; } @@ -415,6 +504,11 @@ public com.google.container.v1.MonitoringConfig buildPartial() { } else { result.componentConfig_ = componentConfigBuilder_.build(); } + if (managedPrometheusConfigBuilder_ == null) { + result.managedPrometheusConfig_ = managedPrometheusConfig_; + } else { + result.managedPrometheusConfig_ = managedPrometheusConfigBuilder_.build(); + } onBuilt(); return result; } @@ -467,6 +561,9 @@ public Builder mergeFrom(com.google.container.v1.MonitoringConfig other) { if (other.hasComponentConfig()) { mergeComponentConfig(other.getComponentConfig()); } + if (other.hasManagedPrometheusConfig()) { + mergeManagedPrometheusConfig(other.getManagedPrometheusConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -683,6 +780,205 @@ public com.google.container.v1.MonitoringComponentConfig.Builder getComponentCon return componentConfigBuilder_; } + private com.google.container.v1.ManagedPrometheusConfig managedPrometheusConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ManagedPrometheusConfig, + com.google.container.v1.ManagedPrometheusConfig.Builder, + com.google.container.v1.ManagedPrometheusConfigOrBuilder> + managedPrometheusConfigBuilder_; + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * @return Whether the managedPrometheusConfig field is set. + */ + public boolean hasManagedPrometheusConfig() { + return managedPrometheusConfigBuilder_ != null || managedPrometheusConfig_ != null; + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * @return The managedPrometheusConfig. + */ + public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { + if (managedPrometheusConfigBuilder_ == null) { + return managedPrometheusConfig_ == null + ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; + } else { + return managedPrometheusConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + public Builder setManagedPrometheusConfig( + com.google.container.v1.ManagedPrometheusConfig value) { + if (managedPrometheusConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + managedPrometheusConfig_ = value; + onChanged(); + } else { + managedPrometheusConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + public Builder setManagedPrometheusConfig( + com.google.container.v1.ManagedPrometheusConfig.Builder builderForValue) { + if (managedPrometheusConfigBuilder_ == null) { + managedPrometheusConfig_ = builderForValue.build(); + onChanged(); + } else { + managedPrometheusConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + public Builder mergeManagedPrometheusConfig( + com.google.container.v1.ManagedPrometheusConfig value) { + if (managedPrometheusConfigBuilder_ == null) { + if (managedPrometheusConfig_ != null) { + managedPrometheusConfig_ = + com.google.container.v1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + managedPrometheusConfig_ = value; + } + onChanged(); + } else { + managedPrometheusConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + public Builder clearManagedPrometheusConfig() { + if (managedPrometheusConfigBuilder_ == null) { + managedPrometheusConfig_ = null; + onChanged(); + } else { + managedPrometheusConfig_ = null; + managedPrometheusConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + public com.google.container.v1.ManagedPrometheusConfig.Builder + getManagedPrometheusConfigBuilder() { + + onChanged(); + return getManagedPrometheusConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + public com.google.container.v1.ManagedPrometheusConfigOrBuilder + getManagedPrometheusConfigOrBuilder() { + if (managedPrometheusConfigBuilder_ != null) { + return managedPrometheusConfigBuilder_.getMessageOrBuilder(); + } else { + return managedPrometheusConfig_ == null + ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; + } + } + /** + * + * + *
+     * Enable Google Cloud Managed Service for Prometheus
+     * in the cluster.
+     * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ManagedPrometheusConfig, + com.google.container.v1.ManagedPrometheusConfig.Builder, + com.google.container.v1.ManagedPrometheusConfigOrBuilder> + getManagedPrometheusConfigFieldBuilder() { + if (managedPrometheusConfigBuilder_ == null) { + managedPrometheusConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ManagedPrometheusConfig, + com.google.container.v1.ManagedPrometheusConfig.Builder, + com.google.container.v1.ManagedPrometheusConfigOrBuilder>( + getManagedPrometheusConfig(), getParentForChildren(), isClean()); + managedPrometheusConfig_ = null; + } + return managedPrometheusConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java index 7234d9703184..a7987b4fac57 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java @@ -57,4 +57,42 @@ public interface MonitoringConfigOrBuilder * .google.container.v1.MonitoringComponentConfig component_config = 1; */ com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder(); + + /** + * + * + *
+   * Enable Google Cloud Managed Service for Prometheus
+   * in the cluster.
+   * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * @return Whether the managedPrometheusConfig field is set. + */ + boolean hasManagedPrometheusConfig(); + /** + * + * + *
+   * Enable Google Cloud Managed Service for Prometheus
+   * in the cluster.
+   * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * @return The managedPrometheusConfig. + */ + com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig(); + /** + * + * + *
+   * Enable Google Cloud Managed Service for Prometheus
+   * in the cluster.
+   * 
+ * + * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + */ + com.google.container.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java new file mode 100644 index 000000000000..9caaa25369a8 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java @@ -0,0 +1,736 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * Collection of Compute Engine network tags that can be applied to a node's
+ * underlying VM instance.
+ * 
+ * + * Protobuf type {@code google.container.v1.NetworkTags} + */ +public final class NetworkTags extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NetworkTags) + NetworkTagsOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkTags.newBuilder() to construct. + private NetworkTags(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkTags(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NetworkTags( + 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 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = tags_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkTags_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkTags_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NetworkTags.class, + com.google.container.v1.NetworkTags.Builder.class); + } + + public static final int TAGS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList tags_; + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList getTagsList() { + return tags_; + } + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString getTagsBytes(int index) { + return tags_.getByteString(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 < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + 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.container.v1.NetworkTags)) { + return super.equals(obj); + } + com.google.container.v1.NetworkTags other = (com.google.container.v1.NetworkTags) obj; + + if (!getTagsList().equals(other.getTagsList())) 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 (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NetworkTags parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NetworkTags parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NetworkTags parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NetworkTags 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.container.v1.NetworkTags parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NetworkTags parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NetworkTags parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NetworkTags 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.container.v1.NetworkTags parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NetworkTags 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.container.v1.NetworkTags parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NetworkTags 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.container.v1.NetworkTags 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; + } + /** + * + * + *
+   * Collection of Compute Engine network tags that can be applied to a node's
+   * underlying VM instance.
+   * 
+ * + * Protobuf type {@code google.container.v1.NetworkTags} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkTags) + com.google.container.v1.NetworkTagsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkTags_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkTags_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NetworkTags.class, + com.google.container.v1.NetworkTags.Builder.class); + } + + // Construct using com.google.container.v1.NetworkTags.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(); + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkTags_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NetworkTags getDefaultInstanceForType() { + return com.google.container.v1.NetworkTags.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NetworkTags build() { + com.google.container.v1.NetworkTags result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NetworkTags buildPartial() { + com.google.container.v1.NetworkTags result = new com.google.container.v1.NetworkTags(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.tags_ = tags_; + 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.container.v1.NetworkTags) { + return mergeFrom((com.google.container.v1.NetworkTags) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.NetworkTags other) { + if (other == com.google.container.v1.NetworkTags.getDefaultInstance()) return this; + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + 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.container.v1.NetworkTags parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.NetworkTags) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @param index The index to set the value at. + * @param value The tags to set. + * @return This builder for chaining. + */ + public Builder setTags(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @param value The tags to add. + * @return This builder for chaining. + */ + public Builder addTags(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @param values The tags to add. + * @return This builder for chaining. + */ + public Builder addAllTags(java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + onChanged(); + return this; + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @return This builder for chaining. + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * List of network tags.
+     * 
+ * + * repeated string tags = 1; + * + * @param value The bytes of the tags to add. + * @return This builder for chaining. + */ + public Builder addTagsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTagsIsMutable(); + tags_.add(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.container.v1.NetworkTags) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NetworkTags) + private static final com.google.container.v1.NetworkTags DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NetworkTags(); + } + + public static com.google.container.v1.NetworkTags getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkTags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkTags(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.container.v1.NetworkTags getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java new file mode 100644 index 000000000000..c31c0a25f76b --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java @@ -0,0 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface NetworkTagsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkTags) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @return A list containing the tags. + */ + java.util.List getTagsList(); + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @return The count of tags. + */ + int getTagsCount(); + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @param index The index of the element to return. + * @return The tags at the given index. + */ + java.lang.String getTags(int index); + /** + * + * + *
+   * List of network tags.
+   * 
+ * + * repeated string tags = 1; + * + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + com.google.protobuf.ByteString getTagsBytes(int index); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index 8fcb4d5c3bc3..131636acb5ed 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java @@ -23,6 +23,10 @@ * *
  * Parameters that describe the nodes in a cluster.
+ * GKE Autopilot clusters do not
+ * recognize parameters in `NodeConfig`. Use
+ * [AutoprovisioningNodePoolDefaults][google.container.v1.AutoprovisioningNodePoolDefaults]
+ * instead.
  * 
* * Protobuf type {@code google.container.v1.NodeConfig} @@ -355,6 +359,27 @@ private NodeConfig( gvnic_ = subBuilder.buildPartial(); } + break; + } + case 256: + { + spot_ = input.readBool(); + break; + } + case 282: + { + com.google.container.v1.ConfidentialNodes.Builder subBuilder = null; + if (confidentialNodes_ != null) { + subBuilder = confidentialNodes_.toBuilder(); + } + confidentialNodes_ = + input.readMessage( + com.google.container.v1.ConfidentialNodes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(confidentialNodes_); + confidentialNodes_ = subBuilder.buildPartial(); + } + break; } default: @@ -1976,6 +2001,76 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { return getGvnic(); } + public static final int SPOT_FIELD_NUMBER = 32; + private boolean spot_; + /** + * + * + *
+   * Spot flag for enabling Spot VM, which is a rebrand of
+   * the existing preemptible flag.
+   * 
+ * + * bool spot = 32; + * + * @return The spot. + */ + @java.lang.Override + public boolean getSpot() { + return spot_; + } + + public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 35; + private com.google.container.v1.ConfidentialNodes confidentialNodes_; + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * + * @return Whether the confidentialNodes field is set. + */ + @java.lang.Override + public boolean hasConfidentialNodes() { + return confidentialNodes_ != null; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * + * @return The confidentialNodes. + */ + @java.lang.Override + public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + @java.lang.Override + public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + return getConfidentialNodes(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2063,6 +2158,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (gvnic_ != null) { output.writeMessage(29, getGvnic()); } + if (spot_ != false) { + output.writeBool(32, spot_); + } + if (confidentialNodes_ != null) { + output.writeMessage(35, getConfidentialNodes()); + } unknownFields.writeTo(output); } @@ -2176,6 +2277,12 @@ public int getSerializedSize() { if (gvnic_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); } + if (spot_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, spot_); + } + if (confidentialNodes_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getConfidentialNodes()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2243,6 +2350,11 @@ public boolean equals(final java.lang.Object obj) { if (hasGvnic()) { if (!getGvnic().equals(other.getGvnic())) return false; } + if (getSpot() != other.getSpot()) return false; + if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; + if (hasConfidentialNodes()) { + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2334,6 +2446,12 @@ public int hashCode() { hash = (37 * hash) + GVNIC_FIELD_NUMBER; hash = (53 * hash) + getGvnic().hashCode(); } + hash = (37 * hash) + SPOT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpot()); + if (hasConfidentialNodes()) { + hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; + hash = (53 * hash) + getConfidentialNodes().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2438,6 +2556,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Parameters that describe the nodes in a cluster.
+   * GKE Autopilot clusters do not
+   * recognize parameters in `NodeConfig`. Use
+   * [AutoprovisioningNodePoolDefaults][google.container.v1.AutoprovisioningNodePoolDefaults]
+   * instead.
    * 
* * Protobuf type {@code google.container.v1.NodeConfig} @@ -2597,6 +2719,14 @@ public Builder clear() { gvnic_ = null; gvnicBuilder_ = null; } + spot_ = false; + + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } return this; } @@ -2711,6 +2841,12 @@ public com.google.container.v1.NodeConfig buildPartial() { } else { result.gvnic_ = gvnicBuilder_.build(); } + result.spot_ = spot_; + if (confidentialNodesBuilder_ == null) { + result.confidentialNodes_ = confidentialNodes_; + } else { + result.confidentialNodes_ = confidentialNodesBuilder_.build(); + } onBuilt(); return result; } @@ -2900,6 +3036,12 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) { if (other.hasGvnic()) { mergeGvnic(other.getGvnic()); } + if (other.getSpot() != false) { + setSpot(other.getSpot()); + } + if (other.hasConfidentialNodes()) { + mergeConfidentialNodes(other.getConfidentialNodes()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -7446,6 +7588,256 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { return gvnicBuilder_; } + private boolean spot_; + /** + * + * + *
+     * Spot flag for enabling Spot VM, which is a rebrand of
+     * the existing preemptible flag.
+     * 
+ * + * bool spot = 32; + * + * @return The spot. + */ + @java.lang.Override + public boolean getSpot() { + return spot_; + } + /** + * + * + *
+     * Spot flag for enabling Spot VM, which is a rebrand of
+     * the existing preemptible flag.
+     * 
+ * + * bool spot = 32; + * + * @param value The spot to set. + * @return This builder for chaining. + */ + public Builder setSpot(boolean value) { + + spot_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Spot flag for enabling Spot VM, which is a rebrand of
+     * the existing preemptible flag.
+     * 
+ * + * bool spot = 32; + * + * @return This builder for chaining. + */ + public Builder clearSpot() { + + spot_ = false; + onChanged(); + return this; + } + + private com.google.container.v1.ConfidentialNodes confidentialNodes_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * + * @return Whether the confidentialNodes field is set. + */ + public boolean hasConfidentialNodes() { + return confidentialNodesBuilder_ != null || confidentialNodes_ != null; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * + * @return The confidentialNodes. + */ + public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } else { + return confidentialNodesBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + confidentialNodes_ = value; + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder setConfidentialNodes( + com.google.container.v1.ConfidentialNodes.Builder builderForValue) { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = builderForValue.build(); + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (confidentialNodes_ != null) { + confidentialNodes_ = + com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_) + .mergeFrom(value) + .buildPartial(); + } else { + confidentialNodes_ = value; + } + onChanged(); + } else { + confidentialNodesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder clearConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + onChanged(); + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() { + + onChanged(); + return getConfidentialNodesFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + if (confidentialNodesBuilder_ != null) { + return confidentialNodesBuilder_.getMessageOrBuilder(); + } else { + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + getConfidentialNodesFieldBuilder() { + if (confidentialNodesBuilder_ == null) { + confidentialNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder>( + getConfidentialNodes(), getParentForChildren(), isClean()); + confidentialNodes_ = null; + } + return confidentialNodesBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java index 05105b4b565a..587e00f34706 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java @@ -125,7 +125,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -140,7 +140,7 @@ public boolean hasGcfsConfig() { * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -157,7 +157,7 @@ public com.google.container.v1.GcfsConfig getGcfsConfig() { * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -505,7 +505,7 @@ public Builder mergeFrom( * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -519,7 +519,7 @@ public boolean hasGcfsConfig() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -539,7 +539,7 @@ public com.google.container.v1.GcfsConfig getGcfsConfig() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -561,7 +561,7 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -580,7 +580,7 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderF * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -606,7 +606,7 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -626,7 +626,7 @@ public Builder clearGcfsConfig() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -640,7 +640,7 @@ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -658,7 +658,7 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java index ec53f90b7a20..faa4fc20046f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java @@ -27,7 +27,7 @@ public interface NodeConfigDefaultsOrBuilder * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -39,7 +39,7 @@ public interface NodeConfigDefaultsOrBuilder * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; @@ -51,7 +51,7 @@ public interface NodeConfigDefaultsOrBuilder * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java index 97ad66c1aca4..1aa7f2fde0bc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java @@ -1179,4 +1179,56 @@ java.lang.String getLabelsOrDefault( * .google.container.v1.VirtualNIC gvnic = 29; */ com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder(); + + /** + * + * + *
+   * Spot flag for enabling Spot VM, which is a rebrand of
+   * the existing preemptible flag.
+   * 
+ * + * bool spot = 32; + * + * @return The spot. + */ + boolean getSpot(); + + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * + * @return Whether the confidentialNodes field is set. + */ + boolean hasConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * + * @return The confidentialNodes. + */ + com.google.container.v1.ConfidentialNodes getConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + */ + com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java index a45e8c0c8a74..ec2032755e53 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java @@ -100,6 +100,11 @@ private NodeKubeletConfig( cpuCfsQuotaPeriod_ = s; break; } + case 32: + { + podPidsLimit_ = input.readInt64(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -323,6 +328,27 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { } } + public static final int POD_PIDS_LIMIT_FIELD_NUMBER = 4; + private long podPidsLimit_; + /** + * + * + *
+   * Set the Pod PID limits. See
+   * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+   * Controls the maximum number of processes allowed to run in a pod. The value
+   * must be greater than or equal to 1024 and less than 4194304.
+   * 
+ * + * int64 pod_pids_limit = 4; + * + * @return The podPidsLimit. + */ + @java.lang.Override + public long getPodPidsLimit() { + return podPidsLimit_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -346,6 +372,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cpuCfsQuotaPeriod_); } + if (podPidsLimit_ != 0L) { + output.writeInt64(4, podPidsLimit_); + } unknownFields.writeTo(output); } @@ -364,6 +393,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cpuCfsQuotaPeriod_); } + if (podPidsLimit_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, podPidsLimit_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -386,6 +418,7 @@ public boolean equals(final java.lang.Object obj) { if (!getCpuCfsQuota().equals(other.getCpuCfsQuota())) return false; } if (!getCpuCfsQuotaPeriod().equals(other.getCpuCfsQuotaPeriod())) return false; + if (getPodPidsLimit() != other.getPodPidsLimit()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,6 +438,8 @@ public int hashCode() { } hash = (37 * hash) + CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCpuCfsQuotaPeriod().hashCode(); + hash = (37 * hash) + POD_PIDS_LIMIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPodPidsLimit()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -560,6 +595,8 @@ public Builder clear() { } cpuCfsQuotaPeriod_ = ""; + podPidsLimit_ = 0L; + return this; } @@ -594,6 +631,7 @@ public com.google.container.v1.NodeKubeletConfig buildPartial() { result.cpuCfsQuota_ = cpuCfsQuotaBuilder_.build(); } result.cpuCfsQuotaPeriod_ = cpuCfsQuotaPeriod_; + result.podPidsLimit_ = podPidsLimit_; onBuilt(); return result; } @@ -654,6 +692,9 @@ public Builder mergeFrom(com.google.container.v1.NodeKubeletConfig other) { cpuCfsQuotaPeriod_ = other.cpuCfsQuotaPeriod_; onChanged(); } + if (other.getPodPidsLimit() != 0L) { + setPodPidsLimit(other.getPodPidsLimit()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1198,6 +1239,67 @@ public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) { return this; } + private long podPidsLimit_; + /** + * + * + *
+     * Set the Pod PID limits. See
+     * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+     * Controls the maximum number of processes allowed to run in a pod. The value
+     * must be greater than or equal to 1024 and less than 4194304.
+     * 
+ * + * int64 pod_pids_limit = 4; + * + * @return The podPidsLimit. + */ + @java.lang.Override + public long getPodPidsLimit() { + return podPidsLimit_; + } + /** + * + * + *
+     * Set the Pod PID limits. See
+     * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+     * Controls the maximum number of processes allowed to run in a pod. The value
+     * must be greater than or equal to 1024 and less than 4194304.
+     * 
+ * + * int64 pod_pids_limit = 4; + * + * @param value The podPidsLimit to set. + * @return This builder for chaining. + */ + public Builder setPodPidsLimit(long value) { + + podPidsLimit_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Set the Pod PID limits. See
+     * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+     * Controls the maximum number of processes allowed to run in a pod. The value
+     * must be greater than or equal to 1024 and less than 4194304.
+     * 
+ * + * int64 pod_pids_limit = 4; + * + * @return This builder for chaining. + */ + public Builder clearPodPidsLimit() { + + podPidsLimit_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java index d87d56a87175..be3530bb1888 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java @@ -150,4 +150,20 @@ public interface NodeKubeletConfigOrBuilder * @return The bytes for cpuCfsQuotaPeriod. */ com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes(); + + /** + * + * + *
+   * Set the Pod PID limits. See
+   * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+   * Controls the maximum number of processes allowed to run in a pod. The value
+   * must be greater than or equal to 1024 and less than 4194304.
+   * 
+ * + * int64 pod_pids_limit = 4; + * + * @return The podPidsLimit. + */ + long getPodPidsLimit(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java new file mode 100644 index 000000000000..44abe1548215 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java @@ -0,0 +1,780 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * Collection of node-level [Kubernetes
+ * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
+ * 
+ * + * Protobuf type {@code google.container.v1.NodeLabels} + */ +public final class NodeLabels extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NodeLabels) + NodeLabelsOrBuilder { + private static final long serialVersionUID = 0L; + // Use NodeLabels.newBuilder() to construct. + private NodeLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeLabels() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeLabels(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NodeLabels( + 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 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeLabels_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 1: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeLabels_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodeLabels.class, + com.google.container.v1.NodeLabels.Builder.class); + } + + public static final int LABELS_FIELD_NUMBER = 1; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + 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, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1); + 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 : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__); + } + 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.container.v1.NodeLabels)) { + return super.equals(obj); + } + com.google.container.v1.NodeLabels other = (com.google.container.v1.NodeLabels) obj; + + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NodeLabels parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeLabels parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodeLabels parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeLabels 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.container.v1.NodeLabels parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeLabels parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodeLabels parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeLabels 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.container.v1.NodeLabels parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeLabels 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.container.v1.NodeLabels parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeLabels 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.container.v1.NodeLabels 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; + } + /** + * + * + *
+   * Collection of node-level [Kubernetes
+   * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
+   * 
+ * + * Protobuf type {@code google.container.v1.NodeLabels} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NodeLabels) + com.google.container.v1.NodeLabelsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeLabels_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 1: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 1: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeLabels_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodeLabels.class, + com.google.container.v1.NodeLabels.Builder.class); + } + + // Construct using com.google.container.v1.NodeLabels.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(); + internalGetMutableLabels().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeLabels_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NodeLabels getDefaultInstanceForType() { + return com.google.container.v1.NodeLabels.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NodeLabels build() { + com.google.container.v1.NodeLabels result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NodeLabels buildPartial() { + com.google.container.v1.NodeLabels result = new com.google.container.v1.NodeLabels(this); + int from_bitField0_ = bitField0_; + result.labels_ = internalGetLabels(); + result.labels_.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.container.v1.NodeLabels) { + return mergeFrom((com.google.container.v1.NodeLabels) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.NodeLabels other) { + if (other == com.google.container.v1.NodeLabels.getDefaultInstance()) return this; + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + 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.container.v1.NodeLabels parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.NodeLabels) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableLabels().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Map of node label keys and node label values.
+     * 
+ * + * map<string, string> labels = 1; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().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.container.v1.NodeLabels) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NodeLabels) + private static final com.google.container.v1.NodeLabels DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NodeLabels(); + } + + public static com.google.container.v1.NodeLabels getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeLabels(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.container.v1.NodeLabels getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java new file mode 100644 index 000000000000..f4310a7fede1 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java @@ -0,0 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface NodeLabelsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NodeLabels) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + int getLabelsCount(); + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
+   * Map of node label keys and node label values.
+   * 
+ * + * map<string, string> labels = 1; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java index d345cd4adcf7..86f4a96da569 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java @@ -61,6 +61,7 @@ private NodeNetworkConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -90,6 +91,24 @@ private NodeNetworkConfig( podIpv4CidrBlock_ = s; break; } + case 90: + { + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = networkPerformanceConfig_.toBuilder(); + } + networkPerformanceConfig_ = + input.readMessage( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkPerformanceConfig_); + networkPerformanceConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -126,6 +145,872 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1.NodeNetworkConfig.Builder.class); } + public interface NetworkPerformanceConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return Whether the totalEgressBandwidthTier field is set. + */ + boolean hasTotalEgressBandwidthTier(); + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The enum numeric value on the wire for totalEgressBandwidthTier. + */ + int getTotalEgressBandwidthTierValue(); + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The totalEgressBandwidthTier. + */ + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier(); + } + /** + * + * + *
+   * Configuration of all network bandwidth tiers
+   * 
+ * + * Protobuf type {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig} + */ + public static final class NetworkPerformanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) + NetworkPerformanceConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkPerformanceConfig.newBuilder() to construct. + private NetworkPerformanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkPerformanceConfig() { + totalEgressBandwidthTier_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkPerformanceConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NetworkPerformanceConfig( + 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 8: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + totalEgressBandwidthTier_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + } + + /** + * + * + *
+     * Node network tier
+     * 
+ * + * Protobuf enum {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} + */ + public enum Tier implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Default value
+       * 
+ * + * TIER_UNSPECIFIED = 0; + */ + TIER_UNSPECIFIED(0), + /** + * + * + *
+       * Higher bandwidth, actual values based on VM size.
+       * 
+ * + * TIER_1 = 1; + */ + TIER_1(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Default value
+       * 
+ * + * TIER_UNSPECIFIED = 0; + */ + public static final int TIER_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Higher bandwidth, actual values based on VM size.
+       * 
+ * + * TIER_1 = 1; + */ + public static final int TIER_1_VALUE = 1; + + 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 Tier 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 Tier forNumber(int value) { + switch (value) { + case 0: + return TIER_UNSPECIFIED; + case 1: + return TIER_1; + 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 Tier findValueByNumber(int number) { + return Tier.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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Tier[] VALUES = values(); + + public static Tier 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 Tier(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier) + } + + private int bitField0_; + public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 1; + private int totalEgressBandwidthTier_; + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return Whether the totalEgressBandwidthTier field is set. + */ + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The enum numeric value on the wire for totalEgressBandwidthTier. + */ + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { + return totalEgressBandwidthTier_; + } + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The totalEgressBandwidthTier. + */ + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, totalEgressBandwidthTier_); + } + 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.computeEnumSize(1, totalEgressBandwidthTier_); + } + 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig)) { + return super.equals(obj); + } + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other = + (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) obj; + + if (hasTotalEgressBandwidthTier() != other.hasTotalEgressBandwidthTier()) return false; + if (hasTotalEgressBandwidthTier()) { + if (totalEgressBandwidthTier_ != other.totalEgressBandwidthTier_) 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 (hasTotalEgressBandwidthTier()) { + hash = (37 * hash) + TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER; + hash = (53 * hash) + totalEgressBandwidthTier_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig 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; + } + /** + * + * + *
+     * Configuration of all network bandwidth tiers
+     * 
+ * + * Protobuf type {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + } + + // Construct using + // com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.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(); + totalEgressBandwidthTier_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { + return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig build() { + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig buildPartial() { + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig result = + new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.totalEgressBandwidthTier_ = totalEgressBandwidthTier_; + 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) { + return mergeFrom( + (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other) { + if (other + == com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) return this; + if (other.hasTotalEgressBandwidthTier()) { + setTotalEgressBandwidthTier(other.getTotalEgressBandwidthTier()); + } + 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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int totalEgressBandwidthTier_ = 0; + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return Whether the totalEgressBandwidthTier field is set. + */ + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The enum numeric value on the wire for totalEgressBandwidthTier. + */ + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { + return totalEgressBandwidthTier_; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @param value The enum numeric value on the wire for totalEgressBandwidthTier to set. + * @return This builder for chaining. + */ + public Builder setTotalEgressBandwidthTierValue(int value) { + bitField0_ |= 0x00000001; + totalEgressBandwidthTier_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The totalEgressBandwidthTier. + */ + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @param value The totalEgressBandwidthTier to set. + * @return This builder for chaining. + */ + public Builder setTotalEgressBandwidthTier( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + totalEgressBandwidthTier_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearTotalEgressBandwidthTier() { + bitField0_ = (bitField0_ & ~0x00000001); + totalEgressBandwidthTier_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) + private static final com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(); + } + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPerformanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkPerformanceConfig(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.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; public static final int CREATE_POD_RANGE_FIELD_NUMBER = 4; private boolean createPodRange_; /** @@ -277,6 +1162,65 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { } } + public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER = 11; + private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return Whether the networkPerformanceConfig field is set. + */ + @java.lang.Override + public boolean hasNetworkPerformanceConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return The networkPerformanceConfig. + */ + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() + : networkPerformanceConfig_; + } + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() + : networkPerformanceConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -300,6 +1244,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podIpv4CidrBlock_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, podIpv4CidrBlock_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(11, getNetworkPerformanceConfig()); + } unknownFields.writeTo(output); } @@ -318,6 +1265,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, podIpv4CidrBlock_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getNetworkPerformanceConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -337,6 +1289,10 @@ public boolean equals(final java.lang.Object obj) { if (getCreatePodRange() != other.getCreatePodRange()) return false; if (!getPodRange().equals(other.getPodRange())) return false; if (!getPodIpv4CidrBlock().equals(other.getPodIpv4CidrBlock())) return false; + if (hasNetworkPerformanceConfig() != other.hasNetworkPerformanceConfig()) return false; + if (hasNetworkPerformanceConfig()) { + if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,6 +1310,10 @@ public int hashCode() { hash = (53 * hash) + getPodRange().hashCode(); hash = (37 * hash) + POD_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getPodIpv4CidrBlock().hashCode(); + if (hasNetworkPerformanceConfig()) { + hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNetworkPerformanceConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -493,7 +1453,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNetworkPerformanceConfigFieldBuilder(); + } } @java.lang.Override @@ -505,6 +1467,12 @@ public Builder clear() { podIpv4CidrBlock_ = ""; + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfig_ = null; + } else { + networkPerformanceConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -532,9 +1500,20 @@ public com.google.container.v1.NodeNetworkConfig build() { public com.google.container.v1.NodeNetworkConfig buildPartial() { com.google.container.v1.NodeNetworkConfig result = new com.google.container.v1.NodeNetworkConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.createPodRange_ = createPodRange_; result.podRange_ = podRange_; result.podIpv4CidrBlock_ = podIpv4CidrBlock_; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (networkPerformanceConfigBuilder_ == null) { + result.networkPerformanceConfig_ = networkPerformanceConfig_; + } else { + result.networkPerformanceConfig_ = networkPerformanceConfigBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -595,6 +1574,9 @@ public Builder mergeFrom(com.google.container.v1.NodeNetworkConfig other) { podIpv4CidrBlock_ = other.podIpv4CidrBlock_; onChanged(); } + if (other.hasNetworkPerformanceConfig()) { + mergeNetworkPerformanceConfig(other.getNetworkPerformanceConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -624,6 +1606,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean createPodRange_; /** * @@ -979,6 +1963,223 @@ public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + networkPerformanceConfigBuilder_; + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return Whether the networkPerformanceConfig field is set. + */ + public boolean hasNetworkPerformanceConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return The networkPerformanceConfig. + */ + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { + if (networkPerformanceConfigBuilder_ == null) { + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; + } else { + return networkPerformanceConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder setNetworkPerformanceConfig( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { + if (networkPerformanceConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkPerformanceConfig_ = value; + onChanged(); + } else { + networkPerformanceConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder setNetworkPerformanceConfig( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + builderForValue) { + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfig_ = builderForValue.build(); + onChanged(); + } else { + networkPerformanceConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder mergeNetworkPerformanceConfig( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { + if (networkPerformanceConfigBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && networkPerformanceConfig_ != null + && networkPerformanceConfig_ + != com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) { + networkPerformanceConfig_ = + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder( + networkPerformanceConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + networkPerformanceConfig_ = value; + } + onChanged(); + } else { + networkPerformanceConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder clearNetworkPerformanceConfig() { + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfig_ = null; + onChanged(); + } else { + networkPerformanceConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + getNetworkPerformanceConfigBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getNetworkPerformanceConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { + if (networkPerformanceConfigBuilder_ != null) { + return networkPerformanceConfigBuilder_.getMessageOrBuilder(); + } else { + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; + } + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + getNetworkPerformanceConfigFieldBuilder() { + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( + getNetworkPerformanceConfig(), getParentForChildren(), isClean()); + networkPerformanceConfig_ = null; + } + return networkPerformanceConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java index d043914be580..37fab1c8c8f1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java @@ -120,4 +120,46 @@ public interface NodeNetworkConfigOrBuilder * @return The bytes for podIpv4CidrBlock. */ com.google.protobuf.ByteString getPodIpv4CidrBlockBytes(); + + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return Whether the networkPerformanceConfig field is set. + */ + boolean hasNetworkPerformanceConfig(); + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return The networkPerformanceConfig. + */ + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig(); + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index 5ce03f940e05..f5c2e87379a9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -252,6 +252,22 @@ private NodePool( upgradeSettings_ = subBuilder.buildPartial(); } + break; + } + case 874: + { + com.google.container.v1.NodePool.UpdateInfo.Builder subBuilder = null; + if (updateInfo_ != null) { + subBuilder = updateInfo_.toBuilder(); + } + updateInfo_ = + input.readMessage( + com.google.container.v1.NodePool.UpdateInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateInfo_); + updateInfo_ = subBuilder.buildPartial(); + } + break; } default: @@ -590,6 +606,78 @@ public interface UpgradeSettingsOrBuilder * @return The maxUnavailable. */ int getMaxUnavailable(); + + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return Whether the strategy field is set. + */ + boolean hasStrategy(); + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return The enum numeric value on the wire for strategy. + */ + int getStrategyValue(); + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return The strategy. + */ + com.google.container.v1.NodePoolUpdateStrategy getStrategy(); + + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * + * @return Whether the blueGreenSettings field is set. + */ + boolean hasBlueGreenSettings(); + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * + * @return The blueGreenSettings. + */ + com.google.container.v1.BlueGreenSettings getBlueGreenSettings(); + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder(); } /** * @@ -613,6 +701,26 @@ public interface UpgradeSettingsOrBuilder * simultaneously. It creates 2 additional (upgraded) nodes, then it brings * down 3 old (not yet upgraded) nodes at the same time. This ensures that * there are always at least 4 nodes available. + * These upgrade settings configure the upgrade strategy for the node pool. + * Use strategy to switch between the strategies applied to the node pool. + * If the strategy is ROLLING, use max_surge and max_unavailable to control + * the level of parallelism and the level of disruption caused by upgrade. + * 1. maxSurge controls the number of additional nodes that can be added to + * the node pool temporarily for the time of the upgrade to increase the + * number of available nodes. + * 2. maxUnavailable controls the number of nodes that can be simultaneously + * unavailable. + * 3. (maxUnavailable + maxSurge) determines the level of parallelism (how + * many nodes are being upgraded at the same time). + * If the strategy is BLUE_GREEN, use blue_green_settings to configure the + * blue-green upgrade related settings. + * 1. standard_rollout_policy is the default policy. The policy is used to + * control the way blue pool gets drained. The draining is executed in the + * batch mode. The batch size could be specified as either percentage of the + * node pool size or the number of nodes. batch_soak_duration is the soak + * time after each batch gets drained. + * 2. node_pool_soak_duration is the soak time after all blue nodes are + * drained. After this period, the blue pool nodes will be deleted. * * * Protobuf type {@code google.container.v1.NodePool.UpgradeSettings} @@ -627,7 +735,9 @@ private UpgradeSettings(com.google.protobuf.GeneratedMessageV3.Builder builde super(builder); } - private UpgradeSettings() {} + private UpgradeSettings() { + strategy_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -648,6 +758,7 @@ private UpgradeSettings( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -668,6 +779,29 @@ private UpgradeSettings( maxUnavailable_ = input.readInt32(); break; } + case 24: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + strategy_ = rawValue; + break; + } + case 34: + { + com.google.container.v1.BlueGreenSettings.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = blueGreenSettings_.toBuilder(); + } + blueGreenSettings_ = + input.readMessage( + com.google.container.v1.BlueGreenSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blueGreenSettings_); + blueGreenSettings_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -704,6 +838,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1.NodePool.UpgradeSettings.Builder.class); } + private int bitField0_; public static final int MAX_SURGE_FIELD_NUMBER = 1; private int maxSurge_; /** @@ -743,6 +878,107 @@ public int getMaxUnavailable() { return maxUnavailable_; } + public static final int STRATEGY_FIELD_NUMBER = 3; + private int strategy_; + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return Whether the strategy field is set. + */ + @java.lang.Override + public boolean hasStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return The enum numeric value on the wire for strategy. + */ + @java.lang.Override + public int getStrategyValue() { + return strategy_; + } + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return The strategy. + */ + @java.lang.Override + public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodePoolUpdateStrategy result = + com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED : result; + } + + public static final int BLUE_GREEN_SETTINGS_FIELD_NUMBER = 4; + private com.google.container.v1.BlueGreenSettings blueGreenSettings_; + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * + * @return Whether the blueGreenSettings field is set. + */ + @java.lang.Override + public boolean hasBlueGreenSettings() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * + * @return The blueGreenSettings. + */ + @java.lang.Override + public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + @java.lang.Override + public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -763,6 +999,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (maxUnavailable_ != 0) { output.writeInt32(2, maxUnavailable_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(3, strategy_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(4, getBlueGreenSettings()); + } unknownFields.writeTo(output); } @@ -778,6 +1020,12 @@ public int getSerializedSize() { if (maxUnavailable_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, strategy_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBlueGreenSettings()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -796,6 +1044,14 @@ public boolean equals(final java.lang.Object obj) { if (getMaxSurge() != other.getMaxSurge()) return false; if (getMaxUnavailable() != other.getMaxUnavailable()) return false; + if (hasStrategy() != other.hasStrategy()) return false; + if (hasStrategy()) { + if (strategy_ != other.strategy_) return false; + } + if (hasBlueGreenSettings() != other.hasBlueGreenSettings()) return false; + if (hasBlueGreenSettings()) { + if (!getBlueGreenSettings().equals(other.getBlueGreenSettings())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -811,6 +1067,14 @@ public int hashCode() { hash = (53 * hash) + getMaxSurge(); hash = (37 * hash) + MAX_UNAVAILABLE_FIELD_NUMBER; hash = (53 * hash) + getMaxUnavailable(); + if (hasStrategy()) { + hash = (37 * hash) + STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + strategy_; + } + if (hasBlueGreenSettings()) { + hash = (37 * hash) + BLUE_GREEN_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getBlueGreenSettings().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -934,6 +1198,26 @@ protected Builder newBuilderForType( * simultaneously. It creates 2 additional (upgraded) nodes, then it brings * down 3 old (not yet upgraded) nodes at the same time. This ensures that * there are always at least 4 nodes available. + * These upgrade settings configure the upgrade strategy for the node pool. + * Use strategy to switch between the strategies applied to the node pool. + * If the strategy is ROLLING, use max_surge and max_unavailable to control + * the level of parallelism and the level of disruption caused by upgrade. + * 1. maxSurge controls the number of additional nodes that can be added to + * the node pool temporarily for the time of the upgrade to increase the + * number of available nodes. + * 2. maxUnavailable controls the number of nodes that can be simultaneously + * unavailable. + * 3. (maxUnavailable + maxSurge) determines the level of parallelism (how + * many nodes are being upgraded at the same time). + * If the strategy is BLUE_GREEN, use blue_green_settings to configure the + * blue-green upgrade related settings. + * 1. standard_rollout_policy is the default policy. The policy is used to + * control the way blue pool gets drained. The draining is executed in the + * batch mode. The batch size could be specified as either percentage of the + * node pool size or the number of nodes. batch_soak_duration is the soak + * time after each batch gets drained. + * 2. node_pool_soak_duration is the soak time after all blue nodes are + * drained. After this period, the blue pool nodes will be deleted. * * * Protobuf type {@code google.container.v1.NodePool.UpgradeSettings} @@ -969,7 +1253,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBlueGreenSettingsFieldBuilder(); + } } @java.lang.Override @@ -979,6 +1265,14 @@ public Builder clear() { maxUnavailable_ = 0; + strategy_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettings_ = null; + } else { + blueGreenSettingsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -1006,8 +1300,23 @@ public com.google.container.v1.NodePool.UpgradeSettings build() { public com.google.container.v1.NodePool.UpgradeSettings buildPartial() { com.google.container.v1.NodePool.UpgradeSettings result = new com.google.container.v1.NodePool.UpgradeSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.maxSurge_ = maxSurge_; result.maxUnavailable_ = maxUnavailable_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.strategy_ = strategy_; + if (((from_bitField0_ & 0x00000002) != 0)) { + if (blueGreenSettingsBuilder_ == null) { + result.blueGreenSettings_ = blueGreenSettings_; + } else { + result.blueGreenSettings_ = blueGreenSettingsBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1066,6 +1375,12 @@ public Builder mergeFrom(com.google.container.v1.NodePool.UpgradeSettings other) if (other.getMaxUnavailable() != 0) { setMaxUnavailable(other.getMaxUnavailable()); } + if (other.hasStrategy()) { + setStrategy(other.getStrategy()); + } + if (other.hasBlueGreenSettings()) { + mergeBlueGreenSettings(other.getBlueGreenSettings()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1096,117 +1411,3245 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private int maxSurge_; /** * * *
-       * The maximum number of nodes that can be created beyond the current size
-       * of the node pool during the upgrade process.
+       * The maximum number of nodes that can be created beyond the current size
+       * of the node pool during the upgrade process.
+       * 
+ * + * int32 max_surge = 1; + * + * @return The maxSurge. + */ + @java.lang.Override + public int getMaxSurge() { + return maxSurge_; + } + /** + * + * + *
+       * The maximum number of nodes that can be created beyond the current size
+       * of the node pool during the upgrade process.
+       * 
+ * + * int32 max_surge = 1; + * + * @param value The maxSurge to set. + * @return This builder for chaining. + */ + public Builder setMaxSurge(int value) { + + maxSurge_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The maximum number of nodes that can be created beyond the current size
+       * of the node pool during the upgrade process.
+       * 
+ * + * int32 max_surge = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxSurge() { + + maxSurge_ = 0; + onChanged(); + return this; + } + + private int maxUnavailable_; + /** + * + * + *
+       * The maximum number of nodes that can be simultaneously unavailable during
+       * the upgrade process. A node is considered available if its status is
+       * Ready.
+       * 
+ * + * int32 max_unavailable = 2; + * + * @return The maxUnavailable. + */ + @java.lang.Override + public int getMaxUnavailable() { + return maxUnavailable_; + } + /** + * + * + *
+       * The maximum number of nodes that can be simultaneously unavailable during
+       * the upgrade process. A node is considered available if its status is
+       * Ready.
+       * 
+ * + * int32 max_unavailable = 2; + * + * @param value The maxUnavailable to set. + * @return This builder for chaining. + */ + public Builder setMaxUnavailable(int value) { + + maxUnavailable_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The maximum number of nodes that can be simultaneously unavailable during
+       * the upgrade process. A node is considered available if its status is
+       * Ready.
+       * 
+ * + * int32 max_unavailable = 2; + * + * @return This builder for chaining. + */ + public Builder clearMaxUnavailable() { + + maxUnavailable_ = 0; + onChanged(); + return this; + } + + private int strategy_ = 0; + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return Whether the strategy field is set. + */ + @java.lang.Override + public boolean hasStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return The enum numeric value on the wire for strategy. + */ + @java.lang.Override + public int getStrategyValue() { + return strategy_; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @param value The enum numeric value on the wire for strategy to set. + * @return This builder for chaining. + */ + public Builder setStrategyValue(int value) { + bitField0_ |= 0x00000001; + strategy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return The strategy. + */ + @java.lang.Override + public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodePoolUpdateStrategy result = + com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null + ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @param value The strategy to set. + * @return This builder for chaining. + */ + public Builder setStrategy(com.google.container.v1.NodePoolUpdateStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + strategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * + * @return This builder for chaining. + */ + public Builder clearStrategy() { + bitField0_ = (bitField0_ & ~0x00000001); + strategy_ = 0; + onChanged(); + return this; + } + + private com.google.container.v1.BlueGreenSettings blueGreenSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings, + com.google.container.v1.BlueGreenSettings.Builder, + com.google.container.v1.BlueGreenSettingsOrBuilder> + blueGreenSettingsBuilder_; + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * + * @return Whether the blueGreenSettings field is set. + */ + public boolean hasBlueGreenSettings() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * + * @return The blueGreenSettings. + */ + public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { + if (blueGreenSettingsBuilder_ == null) { + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } else { + return blueGreenSettingsBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder setBlueGreenSettings(com.google.container.v1.BlueGreenSettings value) { + if (blueGreenSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + blueGreenSettings_ = value; + onChanged(); + } else { + blueGreenSettingsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder setBlueGreenSettings( + com.google.container.v1.BlueGreenSettings.Builder builderForValue) { + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettings_ = builderForValue.build(); + onChanged(); + } else { + blueGreenSettingsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder mergeBlueGreenSettings(com.google.container.v1.BlueGreenSettings value) { + if (blueGreenSettingsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && blueGreenSettings_ != null + && blueGreenSettings_ + != com.google.container.v1.BlueGreenSettings.getDefaultInstance()) { + blueGreenSettings_ = + com.google.container.v1.BlueGreenSettings.newBuilder(blueGreenSettings_) + .mergeFrom(value) + .buildPartial(); + } else { + blueGreenSettings_ = value; + } + onChanged(); + } else { + blueGreenSettingsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder clearBlueGreenSettings() { + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettings_ = null; + onChanged(); + } else { + blueGreenSettingsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + public com.google.container.v1.BlueGreenSettings.Builder getBlueGreenSettingsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getBlueGreenSettingsFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { + if (blueGreenSettingsBuilder_ != null) { + return blueGreenSettingsBuilder_.getMessageOrBuilder(); + } else { + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings, + com.google.container.v1.BlueGreenSettings.Builder, + com.google.container.v1.BlueGreenSettingsOrBuilder> + getBlueGreenSettingsFieldBuilder() { + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings, + com.google.container.v1.BlueGreenSettings.Builder, + com.google.container.v1.BlueGreenSettingsOrBuilder>( + getBlueGreenSettings(), getParentForChildren(), isClean()); + blueGreenSettings_ = null; + } + return blueGreenSettingsBuilder_; + } + + @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.container.v1.NodePool.UpgradeSettings) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpgradeSettings) + private static final com.google.container.v1.NodePool.UpgradeSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpgradeSettings(); + } + + public static com.google.container.v1.NodePool.UpgradeSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeSettings(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.container.v1.NodePool.UpgradeSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface UpdateInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpdateInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return Whether the blueGreenInfo field is set. + */ + boolean hasBlueGreenInfo(); + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return The blueGreenInfo. + */ + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo(); + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + */ + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder(); + } + /** + * + * + *
+   * UpdateInfo contains resource (instance groups, etc), status and other
+   * intermediate information relevant to a node pool upgrade.
+   * 
+ * + * Protobuf type {@code google.container.v1.NodePool.UpdateInfo} + */ + public static final class UpdateInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpdateInfo) + UpdateInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateInfo.newBuilder() to construct. + private UpdateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateInfo() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpdateInfo( + 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 10: + { + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder subBuilder = null; + if (blueGreenInfo_ != null) { + subBuilder = blueGreenInfo_.toBuilder(); + } + blueGreenInfo_ = + input.readMessage( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blueGreenInfo_); + blueGreenInfo_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodePool.UpdateInfo.class, + com.google.container.v1.NodePool.UpdateInfo.Builder.class); + } + + public interface BlueGreenInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The enum numeric value on the wire for phase. + */ + int getPhaseValue(); + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The phase. + */ + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(); + + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return A list containing the blueInstanceGroupUrls. + */ + java.util.List getBlueInstanceGroupUrlsList(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return The count of blueInstanceGroupUrls. + */ + int getBlueInstanceGroupUrlsCount(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the element to return. + * @return The blueInstanceGroupUrls at the given index. + */ + java.lang.String getBlueInstanceGroupUrls(int index); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the value to return. + * @return The bytes of the blueInstanceGroupUrls at the given index. + */ + com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index); + + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return A list containing the greenInstanceGroupUrls. + */ + java.util.List getGreenInstanceGroupUrlsList(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return The count of greenInstanceGroupUrls. + */ + int getGreenInstanceGroupUrlsCount(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the element to return. + * @return The greenInstanceGroupUrls at the given index. + */ + java.lang.String getGreenInstanceGroupUrls(int index); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the value to return. + * @return The bytes of the greenInstanceGroupUrls at the given index. + */ + com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index); + + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bluePoolDeletionStartTime. + */ + java.lang.String getBluePoolDeletionStartTime(); + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bytes for bluePoolDeletionStartTime. + */ + com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes(); + + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The greenPoolVersion. + */ + java.lang.String getGreenPoolVersion(); + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The bytes for greenPoolVersion. + */ + com.google.protobuf.ByteString getGreenPoolVersionBytes(); + } + /** + * + * + *
+     * Information relevant to blue-green upgrade.
+     * 
+ * + * Protobuf type {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo} + */ + public static final class BlueGreenInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) + BlueGreenInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use BlueGreenInfo.newBuilder() to construct. + private BlueGreenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BlueGreenInfo() { + phase_ = 0; + blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bluePoolDeletionStartTime_ = ""; + greenPoolVersion_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BlueGreenInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BlueGreenInfo( + 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 8: + { + int rawValue = input.readEnum(); + + phase_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + blueInstanceGroupUrls_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + greenInstanceGroupUrls_.add(s); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + bluePoolDeletionStartTime_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + greenPoolVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = blueInstanceGroupUrls_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = greenInstanceGroupUrls_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + } + + /** + * + * + *
+       * Phase represents the different stages blue-green upgrade is running in.
+       * 
+ * + * Protobuf enum {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase} + */ + public enum Phase implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+         * Unspecified phase.
+         * 
+ * + * PHASE_UNSPECIFIED = 0; + */ + PHASE_UNSPECIFIED(0), + /** + * + * + *
+         * blue-green upgrade has been initiated.
+         * 
+ * + * UPDATE_STARTED = 1; + */ + UPDATE_STARTED(1), + /** + * + * + *
+         * Start creating green pool nodes.
+         * 
+ * + * CREATING_GREEN_POOL = 2; + */ + CREATING_GREEN_POOL(2), + /** + * + * + *
+         * Start cordoning blue pool nodes.
+         * 
+ * + * CORDONING_BLUE_POOL = 3; + */ + CORDONING_BLUE_POOL(3), + /** + * + * + *
+         * Start draining blue pool nodes.
+         * 
+ * + * DRAINING_BLUE_POOL = 4; + */ + DRAINING_BLUE_POOL(4), + /** + * + * + *
+         * Start soaking time after draining entire blue pool.
+         * 
+ * + * NODE_POOL_SOAKING = 5; + */ + NODE_POOL_SOAKING(5), + /** + * + * + *
+         * Start deleting blue nodes.
+         * 
+ * + * DELETING_BLUE_POOL = 6; + */ + DELETING_BLUE_POOL(6), + /** + * + * + *
+         * Rollback has been initiated.
+         * 
+ * + * ROLLBACK_STARTED = 7; + */ + ROLLBACK_STARTED(7), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+         * Unspecified phase.
+         * 
+ * + * PHASE_UNSPECIFIED = 0; + */ + public static final int PHASE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+         * blue-green upgrade has been initiated.
+         * 
+ * + * UPDATE_STARTED = 1; + */ + public static final int UPDATE_STARTED_VALUE = 1; + /** + * + * + *
+         * Start creating green pool nodes.
+         * 
+ * + * CREATING_GREEN_POOL = 2; + */ + public static final int CREATING_GREEN_POOL_VALUE = 2; + /** + * + * + *
+         * Start cordoning blue pool nodes.
+         * 
+ * + * CORDONING_BLUE_POOL = 3; + */ + public static final int CORDONING_BLUE_POOL_VALUE = 3; + /** + * + * + *
+         * Start draining blue pool nodes.
+         * 
+ * + * DRAINING_BLUE_POOL = 4; + */ + public static final int DRAINING_BLUE_POOL_VALUE = 4; + /** + * + * + *
+         * Start soaking time after draining entire blue pool.
+         * 
+ * + * NODE_POOL_SOAKING = 5; + */ + public static final int NODE_POOL_SOAKING_VALUE = 5; + /** + * + * + *
+         * Start deleting blue nodes.
+         * 
+ * + * DELETING_BLUE_POOL = 6; + */ + public static final int DELETING_BLUE_POOL_VALUE = 6; + /** + * + * + *
+         * Rollback has been initiated.
+         * 
+ * + * ROLLBACK_STARTED = 7; + */ + public static final int ROLLBACK_STARTED_VALUE = 7; + + 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 Phase 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 Phase forNumber(int value) { + switch (value) { + case 0: + return PHASE_UNSPECIFIED; + case 1: + return UPDATE_STARTED; + case 2: + return CREATING_GREEN_POOL; + case 3: + return CORDONING_BLUE_POOL; + case 4: + return DRAINING_BLUE_POOL; + case 5: + return NODE_POOL_SOAKING; + case 6: + return DELETING_BLUE_POOL; + case 7: + return ROLLBACK_STARTED; + 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 Phase findValueByNumber(int number) { + return Phase.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.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Phase[] VALUES = values(); + + public static Phase 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 Phase(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase) + } + + public static final int PHASE_FIELD_NUMBER = 1; + private int phase_; + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The enum numeric value on the wire for phase. + */ + @java.lang.Override + public int getPhaseValue() { + return phase_; + } + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The phase. + */ + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; + } + + public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_; + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return A list containing the blueInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + return blueInstanceGroupUrls_; + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return The count of blueInstanceGroupUrls. + */ + public int getBlueInstanceGroupUrlsCount() { + return blueInstanceGroupUrls_.size(); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the element to return. + * @return The blueInstanceGroupUrls at the given index. + */ + public java.lang.String getBlueInstanceGroupUrls(int index) { + return blueInstanceGroupUrls_.get(index); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the value to return. + * @return The bytes of the blueInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + return blueInstanceGroupUrls_.getByteString(index); + } + + public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_; + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return A list containing the greenInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + return greenInstanceGroupUrls_; + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return The count of greenInstanceGroupUrls. + */ + public int getGreenInstanceGroupUrlsCount() { + return greenInstanceGroupUrls_.size(); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the element to return. + * @return The greenInstanceGroupUrls at the given index. + */ + public java.lang.String getGreenInstanceGroupUrls(int index) { + return greenInstanceGroupUrls_.get(index); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the value to return. + * @return The bytes of the greenInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + return greenInstanceGroupUrls_.getByteString(index); + } + + public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER = 4; + private volatile java.lang.Object bluePoolDeletionStartTime_; + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bluePoolDeletionStartTime. + */ + @java.lang.Override + public java.lang.String getBluePoolDeletionStartTime() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bluePoolDeletionStartTime_ = s; + return s; + } + } + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bytes for bluePoolDeletionStartTime. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bluePoolDeletionStartTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GREEN_POOL_VERSION_FIELD_NUMBER = 5; + private volatile java.lang.Object greenPoolVersion_; + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The greenPoolVersion. + */ + @java.lang.Override + public java.lang.String getGreenPoolVersion() { + java.lang.Object ref = greenPoolVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greenPoolVersion_ = s; + return s; + } + } + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The bytes for greenPoolVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + java.lang.Object ref = greenPoolVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + greenPoolVersion_ = 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 (phase_ + != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, phase_); + } + for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, blueInstanceGroupUrls_.getRaw(i)); + } + for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, greenInstanceGroupUrls_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, bluePoolDeletionStartTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, greenPoolVersion_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (phase_ + != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, phase_); + } + { + int dataSize = 0; + for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { + dataSize += computeStringSizeNoTag(blueInstanceGroupUrls_.getRaw(i)); + } + size += dataSize; + size += 1 * getBlueInstanceGroupUrlsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { + dataSize += computeStringSizeNoTag(greenInstanceGroupUrls_.getRaw(i)); + } + size += dataSize; + size += 1 * getGreenInstanceGroupUrlsList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 4, bluePoolDeletionStartTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, greenPoolVersion_); + } + 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo)) { + return super.equals(obj); + } + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other = + (com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) obj; + + if (phase_ != other.phase_) return false; + if (!getBlueInstanceGroupUrlsList().equals(other.getBlueInstanceGroupUrlsList())) + return false; + if (!getGreenInstanceGroupUrlsList().equals(other.getGreenInstanceGroupUrlsList())) + return false; + if (!getBluePoolDeletionStartTime().equals(other.getBluePoolDeletionStartTime())) + return false; + if (!getGreenPoolVersion().equals(other.getGreenPoolVersion())) 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) + PHASE_FIELD_NUMBER; + hash = (53 * hash) + phase_; + if (getBlueInstanceGroupUrlsCount() > 0) { + hash = (37 * hash) + BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER; + hash = (53 * hash) + getBlueInstanceGroupUrlsList().hashCode(); + } + if (getGreenInstanceGroupUrlsCount() > 0) { + hash = (37 * hash) + GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER; + hash = (53 * hash) + getGreenInstanceGroupUrlsList().hashCode(); + } + hash = (37 * hash) + BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getBluePoolDeletionStartTime().hashCode(); + hash = (37 * hash) + GREEN_POOL_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getGreenPoolVersion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Information relevant to blue-green upgrade.
+       * 
+ * + * Protobuf type {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + } + + // Construct using com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.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(); + phase_ = 0; + + blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + bluePoolDeletionStartTime_ = ""; + + greenPoolVersion_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstanceForType() { + return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo build() { + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() { + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo result = + new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(this); + int from_bitField0_ = bitField0_; + result.phase_ = phase_; + if (((bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = blueInstanceGroupUrls_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.blueInstanceGroupUrls_ = blueInstanceGroupUrls_; + if (((bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = greenInstanceGroupUrls_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.greenInstanceGroupUrls_ = greenInstanceGroupUrls_; + result.bluePoolDeletionStartTime_ = bluePoolDeletionStartTime_; + result.greenPoolVersion_ = greenPoolVersion_; + 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo) { + return mergeFrom((com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other) { + if (other + == com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) + return this; + if (other.phase_ != 0) { + setPhaseValue(other.getPhaseValue()); + } + if (!other.blueInstanceGroupUrls_.isEmpty()) { + if (blueInstanceGroupUrls_.isEmpty()) { + blueInstanceGroupUrls_ = other.blueInstanceGroupUrls_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.addAll(other.blueInstanceGroupUrls_); + } + onChanged(); + } + if (!other.greenInstanceGroupUrls_.isEmpty()) { + if (greenInstanceGroupUrls_.isEmpty()) { + greenInstanceGroupUrls_ = other.greenInstanceGroupUrls_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.addAll(other.greenInstanceGroupUrls_); + } + onChanged(); + } + if (!other.getBluePoolDeletionStartTime().isEmpty()) { + bluePoolDeletionStartTime_ = other.bluePoolDeletionStartTime_; + onChanged(); + } + if (!other.getGreenPoolVersion().isEmpty()) { + greenPoolVersion_ = other.greenPoolVersion_; + 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int phase_ = 0; + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The enum numeric value on the wire for phase. + */ + @java.lang.Override + public int getPhaseValue() { + return phase_; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @param value The enum numeric value on the wire for phase to set. + * @return This builder for chaining. + */ + public Builder setPhaseValue(int value) { + + phase_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The phase. + */ + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @param value The phase to set. + * @return This builder for chaining. + */ + public Builder setPhase( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { + if (value == null) { + throw new NullPointerException(); + } + + phase_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return This builder for chaining. + */ + public Builder clearPhase() { + + phase_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureBlueInstanceGroupUrlsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return A list containing the blueInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + return blueInstanceGroupUrls_.getUnmodifiableView(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return The count of blueInstanceGroupUrls. + */ + public int getBlueInstanceGroupUrlsCount() { + return blueInstanceGroupUrls_.size(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the element to return. + * @return The blueInstanceGroupUrls at the given index. + */ + public java.lang.String getBlueInstanceGroupUrls(int index) { + return blueInstanceGroupUrls_.get(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the value to return. + * @return The bytes of the blueInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + return blueInstanceGroupUrls_.getByteString(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index to set the value at. + * @param value The blueInstanceGroupUrls to set. + * @return This builder for chaining. + */ + public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param value The blueInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addBlueInstanceGroupUrls(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param values The blueInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable values) { + ensureBlueInstanceGroupUrlsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blueInstanceGroupUrls_); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return This builder for chaining. + */ + public Builder clearBlueInstanceGroupUrls() { + blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param value The bytes of the blueInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureGreenInstanceGroupUrlsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return A list containing the greenInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + return greenInstanceGroupUrls_.getUnmodifiableView(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return The count of greenInstanceGroupUrls. + */ + public int getGreenInstanceGroupUrlsCount() { + return greenInstanceGroupUrls_.size(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the element to return. + * @return The greenInstanceGroupUrls at the given index. + */ + public java.lang.String getGreenInstanceGroupUrls(int index) { + return greenInstanceGroupUrls_.get(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the value to return. + * @return The bytes of the greenInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + return greenInstanceGroupUrls_.getByteString(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index to set the value at. + * @param value The greenInstanceGroupUrls to set. + * @return This builder for chaining. + */ + public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param value The greenInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addGreenInstanceGroupUrls(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param values The greenInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable values) { + ensureGreenInstanceGroupUrlsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, greenInstanceGroupUrls_); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return This builder for chaining. + */ + public Builder clearGreenInstanceGroupUrls() { + greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param value The bytes of the greenInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + + private java.lang.Object bluePoolDeletionStartTime_ = ""; + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bluePoolDeletionStartTime. + */ + public java.lang.String getBluePoolDeletionStartTime() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bluePoolDeletionStartTime_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bytes for bluePoolDeletionStartTime. + */ + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bluePoolDeletionStartTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @param value The bluePoolDeletionStartTime to set. + * @return This builder for chaining. + */ + public Builder setBluePoolDeletionStartTime(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + bluePoolDeletionStartTime_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return This builder for chaining. + */ + public Builder clearBluePoolDeletionStartTime() { + + bluePoolDeletionStartTime_ = getDefaultInstance().getBluePoolDeletionStartTime(); + onChanged(); + return this; + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @param value The bytes for bluePoolDeletionStartTime to set. + * @return This builder for chaining. + */ + public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + bluePoolDeletionStartTime_ = value; + onChanged(); + return this; + } + + private java.lang.Object greenPoolVersion_ = ""; + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @return The greenPoolVersion. + */ + public java.lang.String getGreenPoolVersion() { + java.lang.Object ref = greenPoolVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greenPoolVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @return The bytes for greenPoolVersion. + */ + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + java.lang.Object ref = greenPoolVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + greenPoolVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @param value The greenPoolVersion to set. + * @return This builder for chaining. + */ + public Builder setGreenPoolVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + greenPoolVersion_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @return This builder for chaining. + */ + public Builder clearGreenPoolVersion() { + + greenPoolVersion_ = getDefaultInstance().getGreenPoolVersion(); + onChanged(); + return this; + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @param value The bytes for greenPoolVersion to set. + * @return This builder for chaining. + */ + public Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + greenPoolVersion_ = 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.container.v1.NodePool.UpdateInfo.BlueGreenInfo) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) + private static final com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(); + } + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BlueGreenInfo(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.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int BLUE_GREEN_INFO_FIELD_NUMBER = 1; + private com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return Whether the blueGreenInfo field is set. + */ + @java.lang.Override + public boolean hasBlueGreenInfo() { + return blueGreenInfo_ != null; + } + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return The blueGreenInfo. + */ + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { + return blueGreenInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; + } + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + */ + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { + return getBlueGreenInfo(); + } + + 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 (blueGreenInfo_ != null) { + output.writeMessage(1, getBlueGreenInfo()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (blueGreenInfo_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBlueGreenInfo()); + } + 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.container.v1.NodePool.UpdateInfo)) { + return super.equals(obj); + } + com.google.container.v1.NodePool.UpdateInfo other = + (com.google.container.v1.NodePool.UpdateInfo) obj; + + if (hasBlueGreenInfo() != other.hasBlueGreenInfo()) return false; + if (hasBlueGreenInfo()) { + if (!getBlueGreenInfo().equals(other.getBlueGreenInfo())) 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 (hasBlueGreenInfo()) { + hash = (37 * hash) + BLUE_GREEN_INFO_FIELD_NUMBER; + hash = (53 * hash) + getBlueGreenInfo().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NodePool.UpdateInfo parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePool.UpdateInfo 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.container.v1.NodePool.UpdateInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodePool.UpdateInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePool.UpdateInfo 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.container.v1.NodePool.UpdateInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePool.UpdateInfo 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.container.v1.NodePool.UpdateInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePool.UpdateInfo 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.container.v1.NodePool.UpdateInfo 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; + } + /** + * + * + *
+     * UpdateInfo contains resource (instance groups, etc), status and other
+     * intermediate information relevant to a node pool upgrade.
+     * 
+ * + * Protobuf type {@code google.container.v1.NodePool.UpdateInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpdateInfo) + com.google.container.v1.NodePool.UpdateInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodePool.UpdateInfo.class, + com.google.container.v1.NodePool.UpdateInfo.Builder.class); + } + + // Construct using com.google.container.v1.NodePool.UpdateInfo.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 (blueGreenInfoBuilder_ == null) { + blueGreenInfo_ = null; + } else { + blueGreenInfo_ = null; + blueGreenInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo getDefaultInstanceForType() { + return com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo build() { + com.google.container.v1.NodePool.UpdateInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo buildPartial() { + com.google.container.v1.NodePool.UpdateInfo result = + new com.google.container.v1.NodePool.UpdateInfo(this); + if (blueGreenInfoBuilder_ == null) { + result.blueGreenInfo_ = blueGreenInfo_; + } else { + result.blueGreenInfo_ = blueGreenInfoBuilder_.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.container.v1.NodePool.UpdateInfo) { + return mergeFrom((com.google.container.v1.NodePool.UpdateInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.NodePool.UpdateInfo other) { + if (other == com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance()) return this; + if (other.hasBlueGreenInfo()) { + mergeBlueGreenInfo(other.getBlueGreenInfo()); + } + 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.container.v1.NodePool.UpdateInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.NodePool.UpdateInfo) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + blueGreenInfoBuilder_; + /** + * + * + *
+       * Information of a blue-green upgrade.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return Whether the blueGreenInfo field is set. + */ + public boolean hasBlueGreenInfo() { + return blueGreenInfoBuilder_ != null || blueGreenInfo_ != null; + } + /** + * + * + *
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_surge = 1; + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; * - * @return The maxSurge. + * @return The blueGreenInfo. */ - @java.lang.Override - public int getMaxSurge() { - return maxSurge_; + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { + if (blueGreenInfoBuilder_ == null) { + return blueGreenInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; + } else { + return blueGreenInfoBuilder_.getMessage(); + } } /** * * *
-       * The maximum number of nodes that can be created beyond the current size
-       * of the node pool during the upgrade process.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_surge = 1; - * - * @param value The maxSurge to set. - * @return This builder for chaining. + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder setMaxSurge(int value) { + public Builder setBlueGreenInfo( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { + if (blueGreenInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + blueGreenInfo_ = value; + onChanged(); + } else { + blueGreenInfoBuilder_.setMessage(value); + } - maxSurge_ = value; - onChanged(); return this; } /** * * *
-       * The maximum number of nodes that can be created beyond the current size
-       * of the node pool during the upgrade process.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_surge = 1; - * - * @return This builder for chaining. + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder clearMaxSurge() { + public Builder setBlueGreenInfo( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder builderForValue) { + if (blueGreenInfoBuilder_ == null) { + blueGreenInfo_ = builderForValue.build(); + onChanged(); + } else { + blueGreenInfoBuilder_.setMessage(builderForValue.build()); + } - maxSurge_ = 0; - onChanged(); return this; } - - private int maxUnavailable_; /** * * *
-       * The maximum number of nodes that can be simultaneously unavailable during
-       * the upgrade process. A node is considered available if its status is
-       * Ready.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_unavailable = 2; - * - * @return The maxUnavailable. + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - @java.lang.Override - public int getMaxUnavailable() { - return maxUnavailable_; + public Builder mergeBlueGreenInfo( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { + if (blueGreenInfoBuilder_ == null) { + if (blueGreenInfo_ != null) { + blueGreenInfo_ = + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_) + .mergeFrom(value) + .buildPartial(); + } else { + blueGreenInfo_ = value; + } + onChanged(); + } else { + blueGreenInfoBuilder_.mergeFrom(value); + } + + return this; } /** * * *
-       * The maximum number of nodes that can be simultaneously unavailable during
-       * the upgrade process. A node is considered available if its status is
-       * Ready.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_unavailable = 2; - * - * @param value The maxUnavailable to set. - * @return This builder for chaining. + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder setMaxUnavailable(int value) { + public Builder clearBlueGreenInfo() { + if (blueGreenInfoBuilder_ == null) { + blueGreenInfo_ = null; + onChanged(); + } else { + blueGreenInfo_ = null; + blueGreenInfoBuilder_ = null; + } - maxUnavailable_ = value; - onChanged(); return this; } /** * * *
-       * The maximum number of nodes that can be simultaneously unavailable during
-       * the upgrade process. A node is considered available if its status is
-       * Ready.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_unavailable = 2; - * - * @return This builder for chaining. + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder clearMaxUnavailable() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder + getBlueGreenInfoBuilder() { - maxUnavailable_ = 0; onChanged(); - return this; + return getBlueGreenInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Information of a blue-green upgrade.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + */ + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { + if (blueGreenInfoBuilder_ != null) { + return blueGreenInfoBuilder_.getMessageOrBuilder(); + } else { + return blueGreenInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; + } + } + /** + * + * + *
+       * Information of a blue-green upgrade.
+       * 
+ * + * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + getBlueGreenInfoFieldBuilder() { + if (blueGreenInfoBuilder_ == null) { + blueGreenInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( + getBlueGreenInfo(), getParentForChildren(), isClean()); + blueGreenInfo_ = null; + } + return blueGreenInfoBuilder_; } @java.lang.Override @@ -1221,42 +4664,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpgradeSettings) + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpdateInfo) } - // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpgradeSettings) - private static final com.google.container.v1.NodePool.UpgradeSettings DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpdateInfo) + private static final com.google.container.v1.NodePool.UpdateInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpgradeSettings(); + DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpdateInfo(); } - public static com.google.container.v1.NodePool.UpgradeSettings getDefaultInstance() { + public static com.google.container.v1.NodePool.UpdateInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public UpgradeSettings parsePartialFrom( + public UpdateInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeSettings(input, extensionRegistry); + return new UpdateInfo(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.container.v1.NodePool.UpgradeSettings getDefaultInstanceForType() { + public com.google.container.v1.NodePool.UpdateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } @@ -1624,6 +5067,8 @@ public com.google.protobuf.ByteString getVersionBytes() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -1640,6 +5085,8 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -1656,6 +5103,8 @@ public int getInstanceGroupUrlsCount() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -1673,6 +5122,8 @@ public java.lang.String getInstanceGroupUrls(int index) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -1734,7 +5185,7 @@ public com.google.container.v1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return The statusMessage. */ @java.lang.Override @@ -1762,7 +5213,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2064,6 +5515,63 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti return getUpgradeSettings(); } + public static final int UPDATE_INFO_FIELD_NUMBER = 109; + private com.google.container.v1.NodePool.UpdateInfo updateInfo_; + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateInfo field is set. + */ + @java.lang.Override + public boolean hasUpdateInfo() { + return updateInfo_ != null; + } + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateInfo. + */ + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo getUpdateInfo() { + return updateInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; + } + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { + return getUpdateInfo(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2126,6 +5634,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (upgradeSettings_ != null) { output.writeMessage(107, getUpgradeSettings()); } + if (updateInfo_ != null) { + output.writeMessage(109, getUpdateInfo()); + } unknownFields.writeTo(output); } @@ -2193,6 +5704,9 @@ public int getSerializedSize() { if (upgradeSettings_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getUpgradeSettings()); } + if (updateInfo_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getUpdateInfo()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2242,6 +5756,10 @@ public boolean equals(final java.lang.Object obj) { if (hasUpgradeSettings()) { if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; } + if (hasUpdateInfo() != other.hasUpdateInfo()) return false; + if (hasUpdateInfo()) { + if (!getUpdateInfo().equals(other.getUpdateInfo())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2303,6 +5821,10 @@ public int hashCode() { hash = (37 * hash) + UPGRADE_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getUpgradeSettings().hashCode(); } + if (hasUpdateInfo()) { + hash = (37 * hash) + UPDATE_INFO_FIELD_NUMBER; + hash = (53 * hash) + getUpdateInfo().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2514,6 +6036,12 @@ public Builder clear() { upgradeSettings_ = null; upgradeSettingsBuilder_ = null; } + if (updateInfoBuilder_ == null) { + updateInfo_ = null; + } else { + updateInfo_ = null; + updateInfoBuilder_ = null; + } return this; } @@ -2597,6 +6125,11 @@ public com.google.container.v1.NodePool buildPartial() { } else { result.upgradeSettings_ = upgradeSettingsBuilder_.build(); } + if (updateInfoBuilder_ == null) { + result.updateInfo_ = updateInfo_; + } else { + result.updateInfo_ = updateInfoBuilder_.build(); + } onBuilt(); return result; } @@ -2736,6 +6269,9 @@ public Builder mergeFrom(com.google.container.v1.NodePool other) { if (other.hasUpgradeSettings()) { mergeUpgradeSettings(other.getUpgradeSettings()); } + if (other.hasUpdateInfo()) { + mergeUpdateInfo(other.getUpdateInfo()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3769,6 +7305,8 @@ private void ensureInstanceGroupUrlsIsMutable() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3785,6 +7323,8 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3801,6 +7341,8 @@ public int getInstanceGroupUrlsCount() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3818,6 +7360,8 @@ public java.lang.String getInstanceGroupUrls(int index) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3835,6 +7379,8 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3859,6 +7405,8 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3882,6 +7430,8 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3902,6 +7452,8 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -3921,6 +7473,8 @@ public Builder clearInstanceGroupUrls() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4043,7 +7597,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return The statusMessage. */ @java.lang.Deprecated @@ -4070,7 +7624,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -4097,7 +7651,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -4123,7 +7677,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return This builder for chaining. */ @java.lang.Deprecated @@ -4145,7 +7699,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -5323,6 +8877,219 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti return upgradeSettingsBuilder_; } + private com.google.container.v1.NodePool.UpdateInfo updateInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo, + com.google.container.v1.NodePool.UpdateInfo.Builder, + com.google.container.v1.NodePool.UpdateInfoOrBuilder> + updateInfoBuilder_; + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateInfo field is set. + */ + public boolean hasUpdateInfo() { + return updateInfoBuilder_ != null || updateInfo_ != null; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateInfo. + */ + public com.google.container.v1.NodePool.UpdateInfo getUpdateInfo() { + if (updateInfoBuilder_ == null) { + return updateInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; + } else { + return updateInfoBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) { + if (updateInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateInfo_ = value; + onChanged(); + } else { + updateInfoBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateInfo( + com.google.container.v1.NodePool.UpdateInfo.Builder builderForValue) { + if (updateInfoBuilder_ == null) { + updateInfo_ = builderForValue.build(); + onChanged(); + } else { + updateInfoBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) { + if (updateInfoBuilder_ == null) { + if (updateInfo_ != null) { + updateInfo_ = + com.google.container.v1.NodePool.UpdateInfo.newBuilder(updateInfo_) + .mergeFrom(value) + .buildPartial(); + } else { + updateInfo_ = value; + } + onChanged(); + } else { + updateInfoBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateInfo() { + if (updateInfoBuilder_ == null) { + updateInfo_ = null; + onChanged(); + } else { + updateInfo_ = null; + updateInfoBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.container.v1.NodePool.UpdateInfo.Builder getUpdateInfoBuilder() { + + onChanged(); + return getUpdateInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { + if (updateInfoBuilder_ != null) { + return updateInfoBuilder_.getMessageOrBuilder(); + } else { + return updateInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; + } + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo, + com.google.container.v1.NodePool.UpdateInfo.Builder, + com.google.container.v1.NodePool.UpdateInfoOrBuilder> + getUpdateInfoFieldBuilder() { + if (updateInfoBuilder_ == null) { + updateInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo, + com.google.container.v1.NodePool.UpdateInfo.Builder, + com.google.container.v1.NodePool.UpdateInfoOrBuilder>( + getUpdateInfo(), getParentForChildren(), isClean()); + updateInfo_ = null; + } + return updateInfoBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java new file mode 100644 index 000000000000..3aff2bd3fee8 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java @@ -0,0 +1,771 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * Node pool configs that apply to all auto-provisioned node pools
+ * in autopilot clusters and node auto-provisioning enabled clusters.
+ * 
+ * + * Protobuf type {@code google.container.v1.NodePoolAutoConfig} + */ +public final class NodePoolAutoConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolAutoConfig) + NodePoolAutoConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use NodePoolAutoConfig.newBuilder() to construct. + private NodePoolAutoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodePoolAutoConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodePoolAutoConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NodePoolAutoConfig( + 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 10: + { + com.google.container.v1.NetworkTags.Builder subBuilder = null; + if (networkTags_ != null) { + subBuilder = networkTags_.toBuilder(); + } + networkTags_ = + input.readMessage( + com.google.container.v1.NetworkTags.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkTags_); + networkTags_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolAutoConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodePoolAutoConfig.class, + com.google.container.v1.NodePoolAutoConfig.Builder.class); + } + + public static final int NETWORK_TAGS_FIELD_NUMBER = 1; + private com.google.container.v1.NetworkTags networkTags_; + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + * + * @return Whether the networkTags field is set. + */ + @java.lang.Override + public boolean hasNetworkTags() { + return networkTags_ != null; + } + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + * + * @return The networkTags. + */ + @java.lang.Override + public com.google.container.v1.NetworkTags getNetworkTags() { + return networkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : networkTags_; + } + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + @java.lang.Override + public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() { + return getNetworkTags(); + } + + 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 (networkTags_ != null) { + output.writeMessage(1, getNetworkTags()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (networkTags_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNetworkTags()); + } + 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.container.v1.NodePoolAutoConfig)) { + return super.equals(obj); + } + com.google.container.v1.NodePoolAutoConfig other = + (com.google.container.v1.NodePoolAutoConfig) obj; + + if (hasNetworkTags() != other.hasNetworkTags()) return false; + if (hasNetworkTags()) { + if (!getNetworkTags().equals(other.getNetworkTags())) 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 (hasNetworkTags()) { + hash = (37 * hash) + NETWORK_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getNetworkTags().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NodePoolAutoConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePoolAutoConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodePoolAutoConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePoolAutoConfig 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.container.v1.NodePoolAutoConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodePoolAutoConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodePoolAutoConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePoolAutoConfig 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.container.v1.NodePoolAutoConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePoolAutoConfig 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.container.v1.NodePoolAutoConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodePoolAutoConfig 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.container.v1.NodePoolAutoConfig 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; + } + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * Protobuf type {@code google.container.v1.NodePoolAutoConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolAutoConfig) + com.google.container.v1.NodePoolAutoConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolAutoConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodePoolAutoConfig.class, + com.google.container.v1.NodePoolAutoConfig.Builder.class); + } + + // Construct using com.google.container.v1.NodePoolAutoConfig.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 (networkTagsBuilder_ == null) { + networkTags_ = null; + } else { + networkTags_ = null; + networkTagsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolAutoConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NodePoolAutoConfig getDefaultInstanceForType() { + return com.google.container.v1.NodePoolAutoConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NodePoolAutoConfig build() { + com.google.container.v1.NodePoolAutoConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NodePoolAutoConfig buildPartial() { + com.google.container.v1.NodePoolAutoConfig result = + new com.google.container.v1.NodePoolAutoConfig(this); + if (networkTagsBuilder_ == null) { + result.networkTags_ = networkTags_; + } else { + result.networkTags_ = networkTagsBuilder_.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.container.v1.NodePoolAutoConfig) { + return mergeFrom((com.google.container.v1.NodePoolAutoConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.NodePoolAutoConfig other) { + if (other == com.google.container.v1.NodePoolAutoConfig.getDefaultInstance()) return this; + if (other.hasNetworkTags()) { + mergeNetworkTags(other.getNetworkTags()); + } + 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.container.v1.NodePoolAutoConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.NodePoolAutoConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.container.v1.NetworkTags networkTags_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + networkTagsBuilder_; + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + * + * @return Whether the networkTags field is set. + */ + public boolean hasNetworkTags() { + return networkTagsBuilder_ != null || networkTags_ != null; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + * + * @return The networkTags. + */ + public com.google.container.v1.NetworkTags getNetworkTags() { + if (networkTagsBuilder_ == null) { + return networkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : networkTags_; + } else { + return networkTagsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + public Builder setNetworkTags(com.google.container.v1.NetworkTags value) { + if (networkTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkTags_ = value; + onChanged(); + } else { + networkTagsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + public Builder setNetworkTags(com.google.container.v1.NetworkTags.Builder builderForValue) { + if (networkTagsBuilder_ == null) { + networkTags_ = builderForValue.build(); + onChanged(); + } else { + networkTagsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + public Builder mergeNetworkTags(com.google.container.v1.NetworkTags value) { + if (networkTagsBuilder_ == null) { + if (networkTags_ != null) { + networkTags_ = + com.google.container.v1.NetworkTags.newBuilder(networkTags_) + .mergeFrom(value) + .buildPartial(); + } else { + networkTags_ = value; + } + onChanged(); + } else { + networkTagsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + public Builder clearNetworkTags() { + if (networkTagsBuilder_ == null) { + networkTags_ = null; + onChanged(); + } else { + networkTags_ = null; + networkTagsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + public com.google.container.v1.NetworkTags.Builder getNetworkTagsBuilder() { + + onChanged(); + return getNetworkTagsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() { + if (networkTagsBuilder_ != null) { + return networkTagsBuilder_.getMessageOrBuilder(); + } else { + return networkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : networkTags_; + } + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + getNetworkTagsFieldBuilder() { + if (networkTagsBuilder_ == null) { + networkTagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder>( + getNetworkTags(), getParentForChildren(), isClean()); + networkTags_ = null; + } + return networkTagsBuilder_; + } + + @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.container.v1.NodePoolAutoConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolAutoConfig) + private static final com.google.container.v1.NodePoolAutoConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NodePoolAutoConfig(); + } + + public static com.google.container.v1.NodePoolAutoConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolAutoConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodePoolAutoConfig(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.container.v1.NodePoolAutoConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java new file mode 100644 index 000000000000..0f3dd0c0ed9b --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface NodePoolAutoConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolAutoConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + * + * @return Whether the networkTags field is set. + */ + boolean hasNetworkTags(); + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + * + * @return The networkTags. + */ + com.google.container.v1.NetworkTags getNetworkTags(); + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1.NetworkTags network_tags = 1; + */ + com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java index c5161c492d83..a48bd3d17acd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java @@ -38,7 +38,9 @@ private NodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private NodePoolAutoscaling() {} + private NodePoolAutoscaling() { + locationPolicy_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -89,6 +91,23 @@ private NodePoolAutoscaling( autoprovisioned_ = input.readBool(); break; } + case 40: + { + int rawValue = input.readEnum(); + + locationPolicy_ = rawValue; + break; + } + case 48: + { + totalMinNodeCount_ = input.readInt32(); + break; + } + case 56: + { + totalMaxNodeCount_ = input.readInt32(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -125,6 +144,166 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1.NodePoolAutoscaling.Builder.class); } + /** + * + * + *
+   * Location policy specifies how zones are picked when scaling up the
+   * nodepool.
+   * 
+ * + * Protobuf enum {@code google.container.v1.NodePoolAutoscaling.LocationPolicy} + */ + public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Not set.
+     * 
+ * + * LOCATION_POLICY_UNSPECIFIED = 0; + */ + LOCATION_POLICY_UNSPECIFIED(0), + /** + * + * + *
+     * BALANCED is a best effort policy that aims to balance the sizes of
+     * different zones.
+     * 
+ * + * BALANCED = 1; + */ + BALANCED(1), + /** + * + * + *
+     * ANY policy picks zones that have the highest capacity available.
+     * 
+ * + * ANY = 2; + */ + ANY(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Not set.
+     * 
+ * + * LOCATION_POLICY_UNSPECIFIED = 0; + */ + public static final int LOCATION_POLICY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * BALANCED is a best effort policy that aims to balance the sizes of
+     * different zones.
+     * 
+ * + * BALANCED = 1; + */ + public static final int BALANCED_VALUE = 1; + /** + * + * + *
+     * ANY policy picks zones that have the highest capacity available.
+     * 
+ * + * ANY = 2; + */ + public static final int ANY_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LocationPolicy 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 LocationPolicy forNumber(int value) { + switch (value) { + case 0: + return LOCATION_POLICY_UNSPECIFIED; + case 1: + return BALANCED; + case 2: + return ANY; + 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 LocationPolicy findValueByNumber(int number) { + return LocationPolicy.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.container.v1.NodePoolAutoscaling.getDescriptor().getEnumTypes().get(0); + } + + private static final LocationPolicy[] VALUES = values(); + + public static LocationPolicy 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 LocationPolicy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1.NodePoolAutoscaling.LocationPolicy) + } + public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** @@ -199,6 +378,86 @@ public boolean getAutoprovisioned() { return autoprovisioned_; } + public static final int LOCATION_POLICY_FIELD_NUMBER = 5; + private int locationPolicy_; + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The enum numeric value on the wire for locationPolicy. + */ + @java.lang.Override + public int getLocationPolicyValue() { + return locationPolicy_; + } + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The locationPolicy. + */ + @java.lang.Override + public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; + } + + public static final int TOTAL_MIN_NODE_COUNT_FIELD_NUMBER = 6; + private int totalMinNodeCount_; + /** + * + * + *
+   * Minimum number of nodes in the node pool. Must be greater than 1 less than
+   * total_max_node_count.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_min_node_count = 6; + * + * @return The totalMinNodeCount. + */ + @java.lang.Override + public int getTotalMinNodeCount() { + return totalMinNodeCount_; + } + + public static final int TOTAL_MAX_NODE_COUNT_FIELD_NUMBER = 7; + private int totalMaxNodeCount_; + /** + * + * + *
+   * Maximum number of nodes in the node pool. Must be greater than
+   * total_min_node_count. There has to be enough quota to scale up the cluster.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_max_node_count = 7; + * + * @return The totalMaxNodeCount. + */ + @java.lang.Override + public int getTotalMaxNodeCount() { + return totalMaxNodeCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -225,6 +484,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (autoprovisioned_ != false) { output.writeBool(4, autoprovisioned_); } + if (locationPolicy_ + != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED + .getNumber()) { + output.writeEnum(5, locationPolicy_); + } + if (totalMinNodeCount_ != 0) { + output.writeInt32(6, totalMinNodeCount_); + } + if (totalMaxNodeCount_ != 0) { + output.writeInt32(7, totalMaxNodeCount_); + } unknownFields.writeTo(output); } @@ -246,6 +516,17 @@ public int getSerializedSize() { if (autoprovisioned_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, autoprovisioned_); } + if (locationPolicy_ + != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, locationPolicy_); + } + if (totalMinNodeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalMinNodeCount_); + } + if (totalMaxNodeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, totalMaxNodeCount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -266,6 +547,9 @@ public boolean equals(final java.lang.Object obj) { if (getMinNodeCount() != other.getMinNodeCount()) return false; if (getMaxNodeCount() != other.getMaxNodeCount()) return false; if (getAutoprovisioned() != other.getAutoprovisioned()) return false; + if (locationPolicy_ != other.locationPolicy_) return false; + if (getTotalMinNodeCount() != other.getTotalMinNodeCount()) return false; + if (getTotalMaxNodeCount() != other.getTotalMaxNodeCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -285,6 +569,12 @@ public int hashCode() { hash = (53 * hash) + getMaxNodeCount(); hash = (37 * hash) + AUTOPROVISIONED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoprovisioned()); + hash = (37 * hash) + LOCATION_POLICY_FIELD_NUMBER; + hash = (53 * hash) + locationPolicy_; + hash = (37 * hash) + TOTAL_MIN_NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTotalMinNodeCount(); + hash = (37 * hash) + TOTAL_MAX_NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTotalMaxNodeCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -439,6 +729,12 @@ public Builder clear() { autoprovisioned_ = false; + locationPolicy_ = 0; + + totalMinNodeCount_ = 0; + + totalMaxNodeCount_ = 0; + return this; } @@ -470,6 +766,9 @@ public com.google.container.v1.NodePoolAutoscaling buildPartial() { result.minNodeCount_ = minNodeCount_; result.maxNodeCount_ = maxNodeCount_; result.autoprovisioned_ = autoprovisioned_; + result.locationPolicy_ = locationPolicy_; + result.totalMinNodeCount_ = totalMinNodeCount_; + result.totalMaxNodeCount_ = totalMaxNodeCount_; onBuilt(); return result; } @@ -531,6 +830,15 @@ public Builder mergeFrom(com.google.container.v1.NodePoolAutoscaling other) { if (other.getAutoprovisioned() != false) { setAutoprovisioned(other.getAutoprovisioned()); } + if (other.locationPolicy_ != 0) { + setLocationPolicyValue(other.getLocationPolicyValue()); + } + if (other.getTotalMinNodeCount() != 0) { + setTotalMinNodeCount(other.getTotalMinNodeCount()); + } + if (other.getTotalMaxNodeCount() != 0) { + setTotalMaxNodeCount(other.getTotalMaxNodeCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -774,6 +1082,222 @@ public Builder clearAutoprovisioned() { return this; } + private int locationPolicy_ = 0; + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The enum numeric value on the wire for locationPolicy. + */ + @java.lang.Override + public int getLocationPolicyValue() { + return locationPolicy_; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @param value The enum numeric value on the wire for locationPolicy to set. + * @return This builder for chaining. + */ + public Builder setLocationPolicyValue(int value) { + + locationPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The locationPolicy. + */ + @java.lang.Override + public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @SuppressWarnings("deprecation") + com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @param value The locationPolicy to set. + * @return This builder for chaining. + */ + public Builder setLocationPolicy( + com.google.container.v1.NodePoolAutoscaling.LocationPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + + locationPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return This builder for chaining. + */ + public Builder clearLocationPolicy() { + + locationPolicy_ = 0; + onChanged(); + return this; + } + + private int totalMinNodeCount_; + /** + * + * + *
+     * Minimum number of nodes in the node pool. Must be greater than 1 less than
+     * total_max_node_count.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_min_node_count = 6; + * + * @return The totalMinNodeCount. + */ + @java.lang.Override + public int getTotalMinNodeCount() { + return totalMinNodeCount_; + } + /** + * + * + *
+     * Minimum number of nodes in the node pool. Must be greater than 1 less than
+     * total_max_node_count.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_min_node_count = 6; + * + * @param value The totalMinNodeCount to set. + * @return This builder for chaining. + */ + public Builder setTotalMinNodeCount(int value) { + + totalMinNodeCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Minimum number of nodes in the node pool. Must be greater than 1 less than
+     * total_max_node_count.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_min_node_count = 6; + * + * @return This builder for chaining. + */ + public Builder clearTotalMinNodeCount() { + + totalMinNodeCount_ = 0; + onChanged(); + return this; + } + + private int totalMaxNodeCount_; + /** + * + * + *
+     * Maximum number of nodes in the node pool. Must be greater than
+     * total_min_node_count. There has to be enough quota to scale up the cluster.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_max_node_count = 7; + * + * @return The totalMaxNodeCount. + */ + @java.lang.Override + public int getTotalMaxNodeCount() { + return totalMaxNodeCount_; + } + /** + * + * + *
+     * Maximum number of nodes in the node pool. Must be greater than
+     * total_min_node_count. There has to be enough quota to scale up the cluster.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_max_node_count = 7; + * + * @param value The totalMaxNodeCount to set. + * @return This builder for chaining. + */ + public Builder setTotalMaxNodeCount(int value) { + + totalMaxNodeCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Maximum number of nodes in the node pool. Must be greater than
+     * total_min_node_count. There has to be enough quota to scale up the cluster.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_max_node_count = 7; + * + * @return This builder for chaining. + */ + public Builder clearTotalMaxNodeCount() { + + totalMaxNodeCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java index 5510dbd7f494..49de5039c911 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java @@ -76,4 +76,61 @@ public interface NodePoolAutoscalingOrBuilder * @return The autoprovisioned. */ boolean getAutoprovisioned(); + + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The enum numeric value on the wire for locationPolicy. + */ + int getLocationPolicyValue(); + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The locationPolicy. + */ + com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy(); + + /** + * + * + *
+   * Minimum number of nodes in the node pool. Must be greater than 1 less than
+   * total_max_node_count.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_min_node_count = 6; + * + * @return The totalMinNodeCount. + */ + int getTotalMinNodeCount(); + + /** + * + * + *
+   * Maximum number of nodes in the node pool. Must be greater than
+   * total_min_node_count. There has to be enough quota to scale up the cluster.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_max_node_count = 7; + * + * @return The totalMaxNodeCount. + */ + int getTotalMaxNodeCount(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 6106cb95fc83..b9b4b90456ef 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -273,6 +273,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -287,6 +289,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -301,6 +305,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -316,6 +322,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -362,7 +370,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return The statusMessage. */ @java.lang.Deprecated @@ -379,7 +387,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2702 + * google/container/v1/cluster_service.proto;l=2957 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -595,4 +603,48 @@ public interface NodePoolOrBuilder * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; */ com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); + + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateInfo field is set. + */ + boolean hasUpdateInfo(); + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateInfo. + */ + com.google.container.v1.NodePool.UpdateInfo getUpdateInfo(); + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java new file mode 100644 index 000000000000..390a302c4ab3 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java @@ -0,0 +1,181 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * Strategy used for node pool update.
+ * 
+ * + * Protobuf enum {@code google.container.v1.NodePoolUpdateStrategy} + */ +public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * Default value.
+   * 
+ * + * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; + */ + NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED(0), + /** + * + * + *
+   * blue-green upgrade.
+   * 
+ * + * BLUE_GREEN = 2; + */ + BLUE_GREEN(2), + /** + * + * + *
+   * SURGE is the traditional way of upgrade a node pool.
+   * max_surge and max_unavailable determines the level of upgrade parallelism.
+   * 
+ * + * SURGE = 3; + */ + SURGE(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+   * Default value.
+   * 
+ * + * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; + */ + public static final int NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+   * blue-green upgrade.
+   * 
+ * + * BLUE_GREEN = 2; + */ + public static final int BLUE_GREEN_VALUE = 2; + /** + * + * + *
+   * SURGE is the traditional way of upgrade a node pool.
+   * max_surge and max_unavailable determines the level of upgrade parallelism.
+   * 
+ * + * SURGE = 3; + */ + public static final int SURGE_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static NodePoolUpdateStrategy 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 NodePoolUpdateStrategy forNumber(int value) { + switch (value) { + case 0: + return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED; + case 2: + return BLUE_GREEN; + case 3: + return SURGE; + 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 NodePoolUpdateStrategy findValueByNumber(int number) { + return NodePoolUpdateStrategy.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.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(3); + } + + private static final NodePoolUpdateStrategy[] VALUES = values(); + + public static NodePoolUpdateStrategy 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 NodePoolUpdateStrategy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1.NodePoolUpdateStrategy) +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java new file mode 100644 index 000000000000..82b6e965aa28 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java @@ -0,0 +1,944 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +/** + * + * + *
+ * Collection of Kubernetes [node
+ * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
+ * 
+ * + * Protobuf type {@code google.container.v1.NodeTaints} + */ +public final class NodeTaints extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.NodeTaints) + NodeTaintsOrBuilder { + private static final long serialVersionUID = 0L; + // Use NodeTaints.newBuilder() to construct. + private NodeTaints(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeTaints() { + taints_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeTaints(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NodeTaints( + 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 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + taints_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + taints_.add( + input.readMessage(com.google.container.v1.NodeTaint.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + taints_ = java.util.Collections.unmodifiableList(taints_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeTaints_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeTaints_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodeTaints.class, + com.google.container.v1.NodeTaints.Builder.class); + } + + public static final int TAINTS_FIELD_NUMBER = 1; + private java.util.List taints_; + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + @java.lang.Override + public java.util.List getTaintsList() { + return taints_; + } + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + @java.lang.Override + public java.util.List + getTaintsOrBuilderList() { + return taints_; + } + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + @java.lang.Override + public int getTaintsCount() { + return taints_.size(); + } + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + @java.lang.Override + public com.google.container.v1.NodeTaint getTaints(int index) { + return taints_.get(index); + } + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + @java.lang.Override + public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + return taints_.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 < taints_.size(); i++) { + output.writeMessage(1, taints_.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 < taints_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taints_.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.container.v1.NodeTaints)) { + return super.equals(obj); + } + com.google.container.v1.NodeTaints other = (com.google.container.v1.NodeTaints) obj; + + if (!getTaintsList().equals(other.getTaintsList())) 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 (getTaintsCount() > 0) { + hash = (37 * hash) + TAINTS_FIELD_NUMBER; + hash = (53 * hash) + getTaintsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.NodeTaints parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeTaints parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodeTaints parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeTaints 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.container.v1.NodeTaints parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.NodeTaints parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.NodeTaints parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeTaints 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.container.v1.NodeTaints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeTaints 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.container.v1.NodeTaints parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.NodeTaints 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.container.v1.NodeTaints 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; + } + /** + * + * + *
+   * Collection of Kubernetes [node
+   * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
+   * 
+ * + * Protobuf type {@code google.container.v1.NodeTaints} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.NodeTaints) + com.google.container.v1.NodeTaintsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeTaints_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeTaints_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.NodeTaints.class, + com.google.container.v1.NodeTaints.Builder.class); + } + + // Construct using com.google.container.v1.NodeTaints.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTaintsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (taintsBuilder_ == null) { + taints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + taintsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeTaints_descriptor; + } + + @java.lang.Override + public com.google.container.v1.NodeTaints getDefaultInstanceForType() { + return com.google.container.v1.NodeTaints.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.NodeTaints build() { + com.google.container.v1.NodeTaints result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.NodeTaints buildPartial() { + com.google.container.v1.NodeTaints result = new com.google.container.v1.NodeTaints(this); + int from_bitField0_ = bitField0_; + if (taintsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + taints_ = java.util.Collections.unmodifiableList(taints_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.taints_ = taints_; + } else { + result.taints_ = taintsBuilder_.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.container.v1.NodeTaints) { + return mergeFrom((com.google.container.v1.NodeTaints) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.NodeTaints other) { + if (other == com.google.container.v1.NodeTaints.getDefaultInstance()) return this; + if (taintsBuilder_ == null) { + if (!other.taints_.isEmpty()) { + if (taints_.isEmpty()) { + taints_ = other.taints_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTaintsIsMutable(); + taints_.addAll(other.taints_); + } + onChanged(); + } + } else { + if (!other.taints_.isEmpty()) { + if (taintsBuilder_.isEmpty()) { + taintsBuilder_.dispose(); + taintsBuilder_ = null; + taints_ = other.taints_; + bitField0_ = (bitField0_ & ~0x00000001); + taintsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTaintsFieldBuilder() + : null; + } else { + taintsBuilder_.addAllMessages(other.taints_); + } + } + } + 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.container.v1.NodeTaints parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1.NodeTaints) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List taints_ = + java.util.Collections.emptyList(); + + private void ensureTaintsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + taints_ = new java.util.ArrayList(taints_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodeTaint, + com.google.container.v1.NodeTaint.Builder, + com.google.container.v1.NodeTaintOrBuilder> + taintsBuilder_; + + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public java.util.List getTaintsList() { + if (taintsBuilder_ == null) { + return java.util.Collections.unmodifiableList(taints_); + } else { + return taintsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public int getTaintsCount() { + if (taintsBuilder_ == null) { + return taints_.size(); + } else { + return taintsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public com.google.container.v1.NodeTaint getTaints(int index) { + if (taintsBuilder_ == null) { + return taints_.get(index); + } else { + return taintsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder setTaints(int index, com.google.container.v1.NodeTaint value) { + if (taintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTaintsIsMutable(); + taints_.set(index, value); + onChanged(); + } else { + taintsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) { + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + taints_.set(index, builderForValue.build()); + onChanged(); + } else { + taintsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder addTaints(com.google.container.v1.NodeTaint value) { + if (taintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTaintsIsMutable(); + taints_.add(value); + onChanged(); + } else { + taintsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder addTaints(int index, com.google.container.v1.NodeTaint value) { + if (taintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTaintsIsMutable(); + taints_.add(index, value); + onChanged(); + } else { + taintsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForValue) { + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + taints_.add(builderForValue.build()); + onChanged(); + } else { + taintsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) { + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + taints_.add(index, builderForValue.build()); + onChanged(); + } else { + taintsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder addAllTaints( + java.lang.Iterable values) { + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); + onChanged(); + } else { + taintsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder clearTaints() { + if (taintsBuilder_ == null) { + taints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + taintsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public Builder removeTaints(int index) { + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + taints_.remove(index); + onChanged(); + } else { + taintsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(int index) { + return getTaintsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + if (taintsBuilder_ == null) { + return taints_.get(index); + } else { + return taintsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public java.util.List + getTaintsOrBuilderList() { + if (taintsBuilder_ != null) { + return taintsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(taints_); + } + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() { + return getTaintsFieldBuilder() + .addBuilder(com.google.container.v1.NodeTaint.getDefaultInstance()); + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(int index) { + return getTaintsFieldBuilder() + .addBuilder(index, com.google.container.v1.NodeTaint.getDefaultInstance()); + } + /** + * + * + *
+     * List of node taints.
+     * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + public java.util.List getTaintsBuilderList() { + return getTaintsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodeTaint, + com.google.container.v1.NodeTaint.Builder, + com.google.container.v1.NodeTaintOrBuilder> + getTaintsFieldBuilder() { + if (taintsBuilder_ == null) { + taintsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodeTaint, + com.google.container.v1.NodeTaint.Builder, + com.google.container.v1.NodeTaintOrBuilder>( + taints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taints_ = null; + } + return taintsBuilder_; + } + + @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.container.v1.NodeTaints) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.NodeTaints) + private static final com.google.container.v1.NodeTaints DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.NodeTaints(); + } + + public static com.google.container.v1.NodeTaints getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeTaints(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.container.v1.NodeTaints getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java new file mode 100644 index 000000000000..a08d04356636 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java @@ -0,0 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface NodeTaintsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NodeTaints) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + java.util.List getTaintsList(); + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + com.google.container.v1.NodeTaint getTaints(int index); + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + int getTaintsCount(); + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + java.util.List getTaintsOrBuilderList(); + /** + * + * + *
+   * List of node taints.
+   * 
+ * + * repeated .google.container.v1.NodeTaint taints = 1; + */ + com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 3c12bb923139..b5dc861d5532 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java @@ -986,7 +986,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return The zone. */ @java.lang.Override @@ -1014,7 +1014,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return The bytes for zone. */ @java.lang.Override @@ -1167,7 +1167,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return The statusMessage. */ @java.lang.Override @@ -1196,7 +1196,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2510,7 +2510,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return The zone. */ @java.lang.Deprecated @@ -2537,7 +2537,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2564,7 +2564,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @param value The zone to set. * @return This builder for chaining. */ @@ -2590,7 +2590,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2612,7 +2612,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2930,7 +2930,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return The statusMessage. */ @java.lang.Deprecated @@ -2958,7 +2958,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2986,7 +2986,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -3013,7 +3013,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3036,7 +3036,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index f7ab8e76581f..fe63d7cf895b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java @@ -60,7 +60,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return The zone. */ @java.lang.Deprecated @@ -77,7 +77,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1839 + * google/container/v1/cluster_service.proto;l=1955 * @return The bytes for zone. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return The statusMessage. */ @java.lang.Deprecated @@ -189,7 +189,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1852 + * google/container/v1/cluster_service.proto;l=1968 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index 976510b5d7c6..6487331b4797 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -112,6 +112,11 @@ private RollbackNodePoolUpgradeRequest( name_ = s; break; } + case 56: + { + respectPdb_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -155,14 +160,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return The projectId. */ @java.lang.Override @@ -183,14 +188,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return The bytes for projectId. */ @java.lang.Override @@ -222,7 +227,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return The zone. */ @java.lang.Override @@ -251,7 +256,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return The bytes for zone. */ @java.lang.Override @@ -281,7 +286,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return The clusterId. */ @java.lang.Override @@ -308,7 +313,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return The bytes for clusterId. */ @java.lang.Override @@ -338,7 +343,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2962 + * google/container/v1/cluster_service.proto;l=3230 * @return The nodePoolId. */ @java.lang.Override @@ -365,7 +370,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2962 + * google/container/v1/cluster_service.proto;l=3230 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -435,6 +440,25 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int RESPECT_PDB_FIELD_NUMBER = 7; + private boolean respectPdb_; + /** + * + * + *
+   * Option for rollback to ignore the PodDisruptionBudget.
+   * Default value is false.
+   * 
+ * + * bool respect_pdb = 7; + * + * @return The respectPdb. + */ + @java.lang.Override + public boolean getRespectPdb() { + return respectPdb_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -464,6 +488,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } + if (respectPdb_ != false) { + output.writeBool(7, respectPdb_); + } unknownFields.writeTo(output); } @@ -488,6 +515,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } + if (respectPdb_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, respectPdb_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -509,6 +539,7 @@ public boolean equals(final java.lang.Object obj) { if (!getClusterId().equals(other.getClusterId())) return false; if (!getNodePoolId().equals(other.getNodePoolId())) return false; if (!getName().equals(other.getName())) return false; + if (getRespectPdb() != other.getRespectPdb()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -530,6 +561,8 @@ public int hashCode() { hash = (53 * hash) + getNodePoolId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -688,6 +721,8 @@ public Builder clear() { name_ = ""; + respectPdb_ = false; + return this; } @@ -720,6 +755,7 @@ public com.google.container.v1.RollbackNodePoolUpgradeRequest buildPartial() { result.clusterId_ = clusterId_; result.nodePoolId_ = nodePoolId_; result.name_ = name_; + result.respectPdb_ = respectPdb_; onBuilt(); return result; } @@ -790,6 +826,9 @@ public Builder mergeFrom(com.google.container.v1.RollbackNodePoolUpgradeRequest name_ = other.name_; onChanged(); } + if (other.getRespectPdb() != false) { + setRespectPdb(other.getRespectPdb()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -826,14 +865,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return The projectId. */ @java.lang.Deprecated @@ -853,14 +892,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -880,14 +919,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @param value The projectId to set. * @return This builder for chaining. */ @@ -906,14 +945,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return This builder for chaining. */ @java.lang.Deprecated @@ -928,14 +967,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -965,7 +1004,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return The zone. */ @java.lang.Deprecated @@ -993,7 +1032,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1021,7 +1060,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @param value The zone to set. * @return This builder for chaining. */ @@ -1048,7 +1087,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1071,7 +1110,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1099,7 +1138,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return The clusterId. */ @java.lang.Deprecated @@ -1125,7 +1164,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1190,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1176,7 +1215,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1197,7 +1236,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1225,7 +1264,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2962 + * See google/container/v1/cluster_service.proto;l=3230 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1251,7 +1290,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2962 + * See google/container/v1/cluster_service.proto;l=3230 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1277,7 +1316,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2962 + * See google/container/v1/cluster_service.proto;l=3230 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1302,7 +1341,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2962 + * See google/container/v1/cluster_service.proto;l=3230 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1323,7 +1362,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2962 + * See google/container/v1/cluster_service.proto;l=3230 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -1455,6 +1494,61 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private boolean respectPdb_; + /** + * + * + *
+     * Option for rollback to ignore the PodDisruptionBudget.
+     * Default value is false.
+     * 
+ * + * bool respect_pdb = 7; + * + * @return The respectPdb. + */ + @java.lang.Override + public boolean getRespectPdb() { + return respectPdb_; + } + /** + * + * + *
+     * Option for rollback to ignore the PodDisruptionBudget.
+     * Default value is false.
+     * 
+ * + * bool respect_pdb = 7; + * + * @param value The respectPdb to set. + * @return This builder for chaining. + */ + public Builder setRespectPdb(boolean value) { + + respectPdb_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Option for rollback to ignore the PodDisruptionBudget.
+     * Default value is false.
+     * 
+ * + * bool respect_pdb = 7; + * + * @return This builder for chaining. + */ + public Builder clearRespectPdb() { + + respectPdb_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index 7e7d8384e365..47b94f82335b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=3216 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2954 + * google/container/v1/cluster_service.proto;l=3222 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2958 + * google/container/v1/cluster_service.proto;l=3226 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2962 + * google/container/v1/cluster_service.proto;l=3230 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2962 + * google/container/v1/cluster_service.proto;l=3230 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -189,4 +189,18 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Option for rollback to ignore the PodDisruptionBudget.
+   * Default value is false.
+   * 
+ * + * bool respect_pdb = 7; + * + * @return The respectPdb. + */ + boolean getRespectPdb(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 5c6a8c53ed22..5860591ee285 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -160,14 +160,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return The projectId. */ @java.lang.Override @@ -188,14 +188,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return The bytes for projectId. */ @java.lang.Override @@ -227,7 +227,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return The zone. */ @java.lang.Override @@ -256,7 +256,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return The bytes for zone. */ @java.lang.Override @@ -286,7 +286,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return The clusterId. */ @java.lang.Override @@ -313,7 +313,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return The bytes for clusterId. */ @java.lang.Override @@ -836,14 +836,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return The projectId. */ @java.lang.Deprecated @@ -863,14 +863,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -890,14 +890,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @param value The projectId to set. * @return This builder for chaining. */ @@ -916,14 +916,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return This builder for chaining. */ @java.lang.Deprecated @@ -938,14 +938,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -975,7 +975,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return The zone. */ @java.lang.Deprecated @@ -1003,7 +1003,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @param value The zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1081,7 +1081,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1109,7 +1109,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return The clusterId. */ @java.lang.Deprecated @@ -1135,7 +1135,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1161,7 +1161,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1207,7 +1207,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index e743c518ed6e..c8daee90d0c3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetAddonsConfigRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetAddonsConfigRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2175 + * google/container/v1/cluster_service.proto;l=2313 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2181 + * google/container/v1/cluster_service.proto;l=2319 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * google/container/v1/cluster_service.proto;l=2323 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index ecc97a4c584f..05f1373c816b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -183,14 +183,14 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return The projectId. */ @java.lang.Override @@ -211,14 +211,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return The bytes for projectId. */ @java.lang.Override @@ -250,7 +250,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return The zone. */ @java.lang.Override @@ -279,7 +279,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return The bytes for zone. */ @java.lang.Override @@ -309,7 +309,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return The clusterId. */ @java.lang.Override @@ -336,7 +336,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return The bytes for clusterId. */ @java.lang.Override @@ -523,7 +523,7 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -547,7 +547,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -999,14 +999,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return The projectId. */ @java.lang.Deprecated @@ -1026,14 +1026,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1053,14 +1053,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1079,14 +1079,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1101,14 +1101,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return The zone. */ @java.lang.Deprecated @@ -1166,7 +1166,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1194,7 +1194,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @param value The zone to set. * @return This builder for chaining. */ @@ -1221,7 +1221,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1244,7 +1244,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1272,7 +1272,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return The clusterId. */ @java.lang.Deprecated @@ -1298,7 +1298,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1324,7 +1324,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1349,7 +1349,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1370,7 +1370,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1697,7 +1697,7 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1720,7 +1720,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1743,7 +1743,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1765,7 +1765,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1783,7 +1783,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 11ad4d0f4c14..d6e51bfde96b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetLabelsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetLabelsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3104 + * google/container/v1/cluster_service.proto;l=3407 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3110 + * google/container/v1/cluster_service.proto;l=3413 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3114 + * google/container/v1/cluster_service.proto;l=3417 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -231,7 +231,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -244,7 +244,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 6e22b5fc7e81..f34a98d93f02 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -150,14 +150,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return The projectId. */ @java.lang.Override @@ -178,14 +178,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return The bytes for projectId. */ @java.lang.Override @@ -217,7 +217,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return The zone. */ @java.lang.Override @@ -246,7 +246,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return The bytes for zone. */ @java.lang.Override @@ -276,7 +276,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return The clusterId. */ @java.lang.Override @@ -303,7 +303,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return The bytes for clusterId. */ @java.lang.Override @@ -344,8 +344,8 @@ public boolean getEnabled() { * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; @@ -368,8 +368,8 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; @@ -775,14 +775,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return The projectId. */ @java.lang.Deprecated @@ -802,14 +802,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -829,14 +829,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @param value The projectId to set. * @return This builder for chaining. */ @@ -855,14 +855,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return This builder for chaining. */ @java.lang.Deprecated @@ -877,14 +877,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return The zone. */ @java.lang.Deprecated @@ -942,7 +942,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return The bytes for zone. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @param value The zone to set. * @return This builder for chaining. */ @@ -997,7 +997,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1048,7 +1048,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return The clusterId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1100,7 +1100,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1125,7 +1125,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1219,8 +1219,8 @@ public Builder clearEnabled() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1242,8 +1242,8 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1265,8 +1265,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1287,8 +1287,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1305,8 +1305,8 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 6dc92575ccc6..30292b0ffab9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetLegacyAbacRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetLegacyAbacRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3138 + * google/container/v1/cluster_service.proto;l=3441 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3144 + * google/container/v1/cluster_service.proto;l=3447 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3148 + * google/container/v1/cluster_service.proto;l=3451 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,8 +145,8 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; @@ -158,8 +158,8 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index 20717abe70db..d753ec15014a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -159,14 +159,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return The projectId. */ @java.lang.Override @@ -187,14 +187,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return The bytes for projectId. */ @java.lang.Override @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return The zone. */ @java.lang.Override @@ -255,7 +255,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return The bytes for zone. */ @java.lang.Override @@ -285,7 +285,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return The clusterId. */ @java.lang.Override @@ -312,7 +312,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return The bytes for clusterId. */ @java.lang.Override @@ -867,14 +867,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return The projectId. */ @java.lang.Deprecated @@ -894,14 +894,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -921,14 +921,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @param value The projectId to set. * @return This builder for chaining. */ @@ -947,14 +947,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return This builder for chaining. */ @java.lang.Deprecated @@ -969,14 +969,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return The zone. */ @java.lang.Deprecated @@ -1034,7 +1034,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @param value The zone to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1112,7 +1112,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1140,7 +1140,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return The clusterId. */ @java.lang.Deprecated @@ -1166,7 +1166,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1192,7 +1192,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1217,7 +1217,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1238,7 +1238,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index bc01bc5cd3a0..8ba7a61acbad 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetLocationsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetLocationsRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2201 + * google/container/v1/cluster_service.proto;l=2339 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2207 + * google/container/v1/cluster_service.proto;l=2345 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2211 + * google/container/v1/cluster_service.proto;l=2349 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index 3892e6daf883..4596ddff9b10 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -152,14 +152,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return The projectId. */ @java.lang.Override @@ -180,14 +180,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for zone. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return The clusterId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,14 +825,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return The projectId. */ @java.lang.Deprecated @@ -852,14 +852,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,14 +879,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,14 +905,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,14 +927,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return The zone. */ @java.lang.Deprecated @@ -992,7 +992,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @param value The zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1098,7 +1098,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1175,7 +1175,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1196,7 +1196,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index c80516306c5b..98d39ebb21e3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetLoggingServiceRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetLoggingServiceRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2105 + * google/container/v1/cluster_service.proto;l=2243 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2111 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2115 + * google/container/v1/cluster_service.proto;l=2253 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java index d517e59eb551..ac3aa5b5c1b4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -184,7 +184,7 @@ public java.lang.String getProjectId() { * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -369,8 +369,8 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -394,8 +394,8 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -816,7 +816,7 @@ public Builder mergeFrom( * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -839,7 +839,7 @@ public java.lang.String getProjectId() { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -862,7 +862,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -884,7 +884,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -902,7 +902,7 @@ public Builder clearProjectId() { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1361,8 +1361,8 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1385,8 +1385,8 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1409,8 +1409,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1432,8 +1432,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1451,8 +1451,8 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java index 15237d3408e9..19df4b8e9d6a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetMaintenancePolicyRequestOrBuilder * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +41,7 @@ public interface SetMaintenancePolicyRequestOrBuilder * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -152,8 +152,8 @@ public interface SetMaintenancePolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -166,8 +166,8 @@ public interface SetMaintenancePolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index 5a340bbc2a0a..c617915e0183 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -352,14 +352,14 @@ private Action(int value) { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return The projectId. */ @java.lang.Override @@ -380,14 +380,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ @java.lang.Override @@ -419,7 +419,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return The zone. */ @java.lang.Override @@ -448,7 +448,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return The bytes for zone. */ @java.lang.Override @@ -478,7 +478,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return The clusterId. */ @java.lang.Override @@ -505,7 +505,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return The bytes for clusterId. */ @java.lang.Override @@ -1077,14 +1077,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return The projectId. */ @java.lang.Deprecated @@ -1104,14 +1104,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1131,14 +1131,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1157,14 +1157,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1179,14 +1179,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1216,7 +1216,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return The zone. */ @java.lang.Deprecated @@ -1244,7 +1244,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1272,7 +1272,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @param value The zone to set. * @return This builder for chaining. */ @@ -1299,7 +1299,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1322,7 +1322,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1350,7 +1350,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return The clusterId. */ @java.lang.Deprecated @@ -1376,7 +1376,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1402,7 +1402,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1427,7 +1427,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1448,7 +1448,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index 3b6a0d4d7c10..f4b7f33d2021 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetMasterAuthRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetMasterAuthRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2284 + * google/container/v1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2290 + * google/container/v1/cluster_service.proto;l=2428 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2294 + * google/container/v1/cluster_service.proto;l=2432 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index 558d582b73cc..a919b8db98e2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -152,14 +152,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return The projectId. */ @java.lang.Override @@ -180,14 +180,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for zone. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return The clusterId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for clusterId. */ @java.lang.Override @@ -826,14 +826,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return The projectId. */ @java.lang.Deprecated @@ -853,14 +853,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -880,14 +880,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @param value The projectId to set. * @return This builder for chaining. */ @@ -906,14 +906,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return This builder for chaining. */ @java.lang.Deprecated @@ -928,14 +928,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -965,7 +965,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return The zone. */ @java.lang.Deprecated @@ -993,7 +993,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1021,7 +1021,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @param value The zone to set. * @return This builder for chaining. */ @@ -1048,7 +1048,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1071,7 +1071,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return The clusterId. */ @java.lang.Deprecated @@ -1125,7 +1125,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1176,7 +1176,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1197,7 +1197,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index 0968295ee6fc..0e26a8a79874 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetMonitoringServiceRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetMonitoringServiceRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2140 + * google/container/v1/cluster_service.proto;l=2278 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2146 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2150 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index d9e4b0b13744..a473029e7d05 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -160,14 +160,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return The projectId. */ @java.lang.Override @@ -188,14 +188,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return The bytes for projectId. */ @java.lang.Override @@ -227,7 +227,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return The zone. */ @java.lang.Override @@ -256,7 +256,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return The bytes for zone. */ @java.lang.Override @@ -286,7 +286,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return The clusterId. */ @java.lang.Override @@ -313,7 +313,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return The bytes for clusterId. */ @java.lang.Override @@ -390,7 +390,7 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -414,7 +414,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -834,14 +834,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return The projectId. */ @java.lang.Deprecated @@ -861,14 +861,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -888,14 +888,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,14 +914,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return This builder for chaining. */ @java.lang.Deprecated @@ -936,14 +936,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -973,7 +973,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return The zone. */ @java.lang.Deprecated @@ -1001,7 +1001,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1029,7 +1029,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @param value The zone to set. * @return This builder for chaining. */ @@ -1056,7 +1056,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1079,7 +1079,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1107,7 +1107,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return The clusterId. */ @java.lang.Deprecated @@ -1133,7 +1133,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1159,7 +1159,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1184,7 +1184,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1205,7 +1205,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1429,7 +1429,7 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1452,7 +1452,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1475,7 +1475,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1497,7 +1497,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1515,7 +1515,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index b2eeaec7816a..024881821a85 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetNetworkPolicyRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetNetworkPolicyRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3576 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3582 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3586 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -173,7 +173,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -186,7 +186,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 31cd158bb897..2a41b551f9a5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -168,14 +168,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return The projectId. */ @java.lang.Override @@ -196,14 +196,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return The bytes for projectId. */ @java.lang.Override @@ -235,7 +235,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return The zone. */ @java.lang.Override @@ -264,7 +264,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return The bytes for zone. */ @java.lang.Override @@ -294,7 +294,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return The clusterId. */ @java.lang.Override @@ -321,7 +321,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return The bytes for clusterId. */ @java.lang.Override @@ -351,7 +351,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return The nodePoolId. */ @java.lang.Override @@ -378,7 +378,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -919,14 +919,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return The projectId. */ @java.lang.Deprecated @@ -946,14 +946,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -973,14 +973,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @param value The projectId to set. * @return This builder for chaining. */ @@ -999,14 +999,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1021,14 +1021,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return The zone. */ @java.lang.Deprecated @@ -1086,7 +1086,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @param value The zone to set. * @return This builder for chaining. */ @@ -1141,7 +1141,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1164,7 +1164,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1192,7 +1192,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return The clusterId. */ @java.lang.Deprecated @@ -1218,7 +1218,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1244,7 +1244,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1269,7 +1269,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1290,7 +1290,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1318,7 +1318,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1344,7 +1344,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1370,7 +1370,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1395,7 +1395,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1416,7 +1416,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index dcd4560f9da9..f7af67581351 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2075 + * google/container/v1/cluster_service.proto;l=2213 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2081 + * google/container/v1/cluster_service.proto;l=2219 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2085 + * google/container/v1/cluster_service.proto;l=2223 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2089 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index f7c320f6ddac..0f89dbbad5ee 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -169,14 +169,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Override @@ -197,14 +197,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Override @@ -236,7 +236,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return The zone. */ @java.lang.Override @@ -265,7 +265,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return The bytes for zone. */ @java.lang.Override @@ -295,7 +295,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return The clusterId. */ @java.lang.Override @@ -322,7 +322,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return The bytes for clusterId. */ @java.lang.Override @@ -352,7 +352,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return The nodePoolId. */ @java.lang.Override @@ -379,7 +379,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -920,14 +920,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Deprecated @@ -947,14 +947,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -974,14 +974,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1000,14 +1000,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,14 +1022,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1059,7 +1059,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return The zone. */ @java.lang.Deprecated @@ -1087,7 +1087,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @param value The zone to set. * @return This builder for chaining. */ @@ -1142,7 +1142,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1165,7 +1165,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1193,7 +1193,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return The clusterId. */ @java.lang.Deprecated @@ -1219,7 +1219,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1245,7 +1245,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1270,7 +1270,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1291,7 +1291,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1319,7 +1319,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1345,7 +1345,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1371,7 +1371,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1396,7 +1396,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1417,7 +1417,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index 4caef3d366ff..caf6880d8334 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetNodePoolManagementRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetNodePoolManagementRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2886 + * google/container/v1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2892 + * google/container/v1/cluster_service.proto;l=3151 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2896 + * google/container/v1/cluster_service.proto;l=3155 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2900 + * google/container/v1/cluster_service.proto;l=3159 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index 1767cdc606e2..d00c9d052b0e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -157,14 +157,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Override @@ -185,14 +185,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Override @@ -224,7 +224,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return The zone. */ @java.lang.Override @@ -253,7 +253,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return The bytes for zone. */ @java.lang.Override @@ -283,7 +283,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return The clusterId. */ @java.lang.Override @@ -310,7 +310,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return The bytes for clusterId. */ @java.lang.Override @@ -340,7 +340,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return The nodePoolId. */ @java.lang.Override @@ -367,7 +367,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -856,14 +856,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Deprecated @@ -883,14 +883,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -910,14 +910,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @param value The projectId to set. * @return This builder for chaining. */ @@ -936,14 +936,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return This builder for chaining. */ @java.lang.Deprecated @@ -958,14 +958,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -995,7 +995,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return The zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1051,7 +1051,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @param value The zone to set. * @return This builder for chaining. */ @@ -1078,7 +1078,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1101,7 +1101,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1129,7 +1129,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return The clusterId. */ @java.lang.Deprecated @@ -1155,7 +1155,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1181,7 +1181,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1206,7 +1206,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1227,7 +1227,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1255,7 +1255,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1281,7 +1281,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1307,7 +1307,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1332,7 +1332,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1353,7 +1353,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index 4ad8b6bae482..cd4569718779 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface SetNodePoolSizeRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface SetNodePoolSizeRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2916 + * google/container/v1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2922 + * google/container/v1/cluster_service.proto;l=3181 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2926 + * google/container/v1/cluster_service.proto;l=3185 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2930 + * google/container/v1/cluster_service.proto;l=3189 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index 4ddf8670e6ba..ee4239dc8a4c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -150,14 +150,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return The projectId. */ @java.lang.Override @@ -178,14 +178,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return The bytes for projectId. */ @java.lang.Override @@ -217,7 +217,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return The zone. */ @java.lang.Override @@ -246,7 +246,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return The bytes for zone. */ @java.lang.Override @@ -276,7 +276,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return The clusterId. */ @java.lang.Override @@ -303,7 +303,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return The bytes for clusterId. */ @java.lang.Override @@ -326,7 +326,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -350,7 +350,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -775,14 +775,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return The projectId. */ @java.lang.Deprecated @@ -802,14 +802,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -829,14 +829,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @param value The projectId to set. * @return This builder for chaining. */ @@ -855,14 +855,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return This builder for chaining. */ @java.lang.Deprecated @@ -877,14 +877,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return The zone. */ @java.lang.Deprecated @@ -942,7 +942,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return The bytes for zone. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @param value The zone to set. * @return This builder for chaining. */ @@ -997,7 +997,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1048,7 +1048,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return The clusterId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1100,7 +1100,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1125,7 +1125,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1167,7 +1167,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1190,7 +1190,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1213,7 +1213,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1235,7 +1235,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1253,7 +1253,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index 0e95db080d10..439580af6862 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface StartIPRotationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface StartIPRotationRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3164 + * google/container/v1/cluster_service.proto;l=3467 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3170 + * google/container/v1/cluster_service.proto;l=3473 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3174 + * google/container/v1/cluster_service.proto;l=3477 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -132,7 +132,7 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -145,7 +145,7 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index e80ca23ff623..93b2f83d4d69 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -394,7 +394,7 @@ private Code(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -413,7 +413,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return The code. */ @java.lang.Override @@ -867,7 +867,7 @@ public Builder mergeFrom( * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -886,7 +886,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -908,7 +908,7 @@ public Builder setCodeValue(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return The code. */ @java.lang.Override @@ -930,7 +930,7 @@ public com.google.container.v1.StatusCondition.Code getCode() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @param value The code to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setCode(com.google.container.v1.StatusCondition.Code value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index 5f5022f26677..f0bd9fe66c08 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java @@ -34,7 +34,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3327 + * google/container/v1/cluster_service.proto;l=3652 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 85f57a596330..df7590e423f7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -160,14 +160,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return The projectId. */ @java.lang.Override @@ -188,14 +188,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return The bytes for projectId. */ @java.lang.Override @@ -227,7 +227,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return The zone. */ @java.lang.Override @@ -256,7 +256,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return The bytes for zone. */ @java.lang.Override @@ -286,7 +286,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return The clusterId. */ @java.lang.Override @@ -313,7 +313,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for clusterId. */ @java.lang.Override @@ -828,14 +828,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return The projectId. */ @java.lang.Deprecated @@ -855,14 +855,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,14 +882,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @param value The projectId to set. * @return This builder for chaining. */ @@ -908,14 +908,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return This builder for chaining. */ @java.lang.Deprecated @@ -930,14 +930,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1101,7 +1101,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return The clusterId. */ @java.lang.Deprecated @@ -1127,7 +1127,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1178,7 +1178,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index 241c6932d18c..757c4fe4471c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface UpdateClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface UpdateClusterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1982 + * google/container/v1/cluster_service.proto;l=2098 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1988 + * google/container/v1/cluster_service.proto;l=2104 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=1992 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index d84cd57e695f..105e9efca0e9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -152,14 +152,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return The projectId. */ @java.lang.Override @@ -180,14 +180,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return The bytes for zone. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return The clusterId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return The bytes for clusterId. */ @java.lang.Override @@ -822,14 +822,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return The projectId. */ @java.lang.Deprecated @@ -849,14 +849,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -876,14 +876,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @param value The projectId to set. * @return This builder for chaining. */ @@ -902,14 +902,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return This builder for chaining. */ @java.lang.Deprecated @@ -924,14 +924,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -961,7 +961,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return The zone. */ @java.lang.Deprecated @@ -989,7 +989,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1017,7 +1017,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @param value The zone to set. * @return This builder for chaining. */ @@ -1044,7 +1044,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1067,7 +1067,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1095,7 +1095,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return The clusterId. */ @java.lang.Deprecated @@ -1121,7 +1121,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1172,7 +1172,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1193,7 +1193,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index 3b3dc0682eb4..7f1e3c908371 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface UpdateMasterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface UpdateMasterRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2232 + * google/container/v1/cluster_service.proto;l=2370 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2238 + * google/container/v1/cluster_service.proto;l=2376 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2242 + * google/container/v1/cluster_service.proto;l=2380 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index b5288df30b0c..9f06fa187f65 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -167,6 +167,52 @@ private UpdateNodePoolRequest( upgradeSettings_ = subBuilder.buildPartial(); } + break; + } + case 130: + { + com.google.container.v1.NetworkTags.Builder subBuilder = null; + if (tags_ != null) { + subBuilder = tags_.toBuilder(); + } + tags_ = + input.readMessage( + com.google.container.v1.NetworkTags.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tags_); + tags_ = subBuilder.buildPartial(); + } + + break; + } + case 138: + { + com.google.container.v1.NodeTaints.Builder subBuilder = null; + if (taints_ != null) { + subBuilder = taints_.toBuilder(); + } + taints_ = + input.readMessage(com.google.container.v1.NodeTaints.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(taints_); + taints_ = subBuilder.buildPartial(); + } + + break; + } + case 146: + { + com.google.container.v1.NodeLabels.Builder subBuilder = null; + if (labels_ != null) { + subBuilder = labels_.toBuilder(); + } + labels_ = + input.readMessage(com.google.container.v1.NodeLabels.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labels_); + labels_ = subBuilder.buildPartial(); + } + break; } case 154: @@ -199,6 +245,22 @@ private UpdateNodePoolRequest( kubeletConfig_ = subBuilder.buildPartial(); } + break; + } + case 170: + { + com.google.container.v1.NodeNetworkConfig.Builder subBuilder = null; + if (nodeNetworkConfig_ != null) { + subBuilder = nodeNetworkConfig_.toBuilder(); + } + nodeNetworkConfig_ = + input.readMessage( + com.google.container.v1.NodeNetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeNetworkConfig_); + nodeNetworkConfig_ = subBuilder.buildPartial(); + } + break; } case 178: @@ -214,6 +276,22 @@ private UpdateNodePoolRequest( gcfsConfig_ = subBuilder.buildPartial(); } + break; + } + case 186: + { + com.google.container.v1.ConfidentialNodes.Builder subBuilder = null; + if (confidentialNodes_ != null) { + subBuilder = confidentialNodes_.toBuilder(); + } + confidentialNodes_ = + input.readMessage( + com.google.container.v1.ConfidentialNodes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(confidentialNodes_); + confidentialNodes_ = subBuilder.buildPartial(); + } + break; } case 234: @@ -277,14 +355,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return The projectId. */ @java.lang.Override @@ -305,14 +383,14 @@ public java.lang.String getProjectId() { * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return The bytes for projectId. */ @java.lang.Override @@ -344,7 +422,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return The zone. */ @java.lang.Override @@ -373,7 +451,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return The bytes for zone. */ @java.lang.Override @@ -403,7 +481,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return The clusterId. */ @java.lang.Override @@ -430,7 +508,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return The bytes for clusterId. */ @java.lang.Override @@ -460,7 +538,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return The nodePoolId. */ @java.lang.Override @@ -487,7 +565,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -845,6 +923,162 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti return getUpgradeSettings(); } + public static final int TAGS_FIELD_NUMBER = 16; + private com.google.container.v1.NetworkTags tags_; + /** + * + * + *
+   * The desired network tags to be applied to all nodes in the node pool.
+   * If this field is not present, the tags will not be changed. Otherwise,
+   * the existing network tags will be *replaced* with the provided tags.
+   * 
+ * + * .google.container.v1.NetworkTags tags = 16; + * + * @return Whether the tags field is set. + */ + @java.lang.Override + public boolean hasTags() { + return tags_ != null; + } + /** + * + * + *
+   * The desired network tags to be applied to all nodes in the node pool.
+   * If this field is not present, the tags will not be changed. Otherwise,
+   * the existing network tags will be *replaced* with the provided tags.
+   * 
+ * + * .google.container.v1.NetworkTags tags = 16; + * + * @return The tags. + */ + @java.lang.Override + public com.google.container.v1.NetworkTags getTags() { + return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_; + } + /** + * + * + *
+   * The desired network tags to be applied to all nodes in the node pool.
+   * If this field is not present, the tags will not be changed. Otherwise,
+   * the existing network tags will be *replaced* with the provided tags.
+   * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + @java.lang.Override + public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() { + return getTags(); + } + + public static final int TAINTS_FIELD_NUMBER = 17; + private com.google.container.v1.NodeTaints taints_; + /** + * + * + *
+   * The desired node taints to be applied to all nodes in the node pool.
+   * If this field is not present, the taints will not be changed. Otherwise,
+   * the existing node taints will be *replaced* with the provided taints.
+   * 
+ * + * .google.container.v1.NodeTaints taints = 17; + * + * @return Whether the taints field is set. + */ + @java.lang.Override + public boolean hasTaints() { + return taints_ != null; + } + /** + * + * + *
+   * The desired node taints to be applied to all nodes in the node pool.
+   * If this field is not present, the taints will not be changed. Otherwise,
+   * the existing node taints will be *replaced* with the provided taints.
+   * 
+ * + * .google.container.v1.NodeTaints taints = 17; + * + * @return The taints. + */ + @java.lang.Override + public com.google.container.v1.NodeTaints getTaints() { + return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_; + } + /** + * + * + *
+   * The desired node taints to be applied to all nodes in the node pool.
+   * If this field is not present, the taints will not be changed. Otherwise,
+   * the existing node taints will be *replaced* with the provided taints.
+   * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + @java.lang.Override + public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() { + return getTaints(); + } + + public static final int LABELS_FIELD_NUMBER = 18; + private com.google.container.v1.NodeLabels labels_; + /** + * + * + *
+   * The desired node labels to be applied to all nodes in the node pool.
+   * If this field is not present, the labels will not be changed. Otherwise,
+   * the existing node labels will be *replaced* with the provided labels.
+   * 
+ * + * .google.container.v1.NodeLabels labels = 18; + * + * @return Whether the labels field is set. + */ + @java.lang.Override + public boolean hasLabels() { + return labels_ != null; + } + /** + * + * + *
+   * The desired node labels to be applied to all nodes in the node pool.
+   * If this field is not present, the labels will not be changed. Otherwise,
+   * the existing node labels will be *replaced* with the provided labels.
+   * 
+ * + * .google.container.v1.NodeLabels labels = 18; + * + * @return The labels. + */ + @java.lang.Override + public com.google.container.v1.NodeLabels getLabels() { + return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_; + } + /** + * + * + *
+   * The desired node labels to be applied to all nodes in the node pool.
+   * If this field is not present, the labels will not be changed. Otherwise,
+   * the existing node labels will be *replaced* with the provided labels.
+   * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + @java.lang.Override + public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() { + return getLabels(); + } + public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 19; private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; /** @@ -941,6 +1175,54 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil return getKubeletConfig(); } + public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER = 21; + private com.google.container.v1.NodeNetworkConfig nodeNetworkConfig_; + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * + * @return Whether the nodeNetworkConfig field is set. + */ + @java.lang.Override + public boolean hasNodeNetworkConfig() { + return nodeNetworkConfig_ != null; + } + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * + * @return The nodeNetworkConfig. + */ + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig() { + return nodeNetworkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; + } + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + @java.lang.Override + public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder() { + return getNodeNetworkConfig(); + } + public static final int GCFS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.GcfsConfig gcfsConfig_; /** @@ -989,6 +1271,57 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { return getGcfsConfig(); } + public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 23; + private com.google.container.v1.ConfidentialNodes confidentialNodes_; + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * + * @return Whether the confidentialNodes field is set. + */ + @java.lang.Override + public boolean hasConfidentialNodes() { + return confidentialNodes_ != null; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * + * @return The confidentialNodes. + */ + @java.lang.Override + public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + @java.lang.Override + public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + return getConfidentialNodes(); + } + public static final int GVNIC_FIELD_NUMBER = 29; private com.google.container.v1.VirtualNIC gvnic_; /** @@ -1079,15 +1412,30 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (upgradeSettings_ != null) { output.writeMessage(15, getUpgradeSettings()); } + if (tags_ != null) { + output.writeMessage(16, getTags()); + } + if (taints_ != null) { + output.writeMessage(17, getTaints()); + } + if (labels_ != null) { + output.writeMessage(18, getLabels()); + } if (linuxNodeConfig_ != null) { output.writeMessage(19, getLinuxNodeConfig()); } if (kubeletConfig_ != null) { output.writeMessage(20, getKubeletConfig()); } + if (nodeNetworkConfig_ != null) { + output.writeMessage(21, getNodeNetworkConfig()); + } if (gcfsConfig_ != null) { output.writeMessage(22, getGcfsConfig()); } + if (confidentialNodes_ != null) { + output.writeMessage(23, getConfidentialNodes()); + } if (gvnic_ != null) { output.writeMessage(29, getGvnic()); } @@ -1136,15 +1484,30 @@ public int getSerializedSize() { if (upgradeSettings_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getUpgradeSettings()); } + if (tags_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getTags()); + } + if (taints_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getTaints()); + } + if (labels_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLabels()); + } if (linuxNodeConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLinuxNodeConfig()); } if (kubeletConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getKubeletConfig()); } + if (nodeNetworkConfig_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getNodeNetworkConfig()); + } if (gcfsConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getGcfsConfig()); } + if (confidentialNodes_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getConfidentialNodes()); + } if (gvnic_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); } @@ -1180,6 +1543,18 @@ public boolean equals(final java.lang.Object obj) { if (hasUpgradeSettings()) { if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; } + if (hasTags() != other.hasTags()) return false; + if (hasTags()) { + if (!getTags().equals(other.getTags())) return false; + } + if (hasTaints() != other.hasTaints()) return false; + if (hasTaints()) { + if (!getTaints().equals(other.getTaints())) return false; + } + if (hasLabels() != other.hasLabels()) return false; + if (hasLabels()) { + if (!getLabels().equals(other.getLabels())) return false; + } if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false; if (hasLinuxNodeConfig()) { if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false; @@ -1188,10 +1563,18 @@ public boolean equals(final java.lang.Object obj) { if (hasKubeletConfig()) { if (!getKubeletConfig().equals(other.getKubeletConfig())) return false; } + if (hasNodeNetworkConfig() != other.hasNodeNetworkConfig()) return false; + if (hasNodeNetworkConfig()) { + if (!getNodeNetworkConfig().equals(other.getNodeNetworkConfig())) return false; + } if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; } + if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; + if (hasConfidentialNodes()) { + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + } if (hasGvnic() != other.hasGvnic()) return false; if (hasGvnic()) { if (!getGvnic().equals(other.getGvnic())) return false; @@ -1233,6 +1616,18 @@ public int hashCode() { hash = (37 * hash) + UPGRADE_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getUpgradeSettings().hashCode(); } + if (hasTags()) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTags().hashCode(); + } + if (hasTaints()) { + hash = (37 * hash) + TAINTS_FIELD_NUMBER; + hash = (53 * hash) + getTaints().hashCode(); + } + if (hasLabels()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + getLabels().hashCode(); + } if (hasLinuxNodeConfig()) { hash = (37 * hash) + LINUX_NODE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getLinuxNodeConfig().hashCode(); @@ -1241,10 +1636,18 @@ public int hashCode() { hash = (37 * hash) + KUBELET_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getKubeletConfig().hashCode(); } + if (hasNodeNetworkConfig()) { + hash = (37 * hash) + NODE_NETWORK_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNodeNetworkConfig().hashCode(); + } if (hasGcfsConfig()) { hash = (37 * hash) + GCFS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGcfsConfig().hashCode(); } + if (hasConfidentialNodes()) { + hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; + hash = (53 * hash) + getConfidentialNodes().hashCode(); + } if (hasGvnic()) { hash = (37 * hash) + GVNIC_FIELD_NUMBER; hash = (53 * hash) + getGvnic().hashCode(); @@ -1422,6 +1825,24 @@ public Builder clear() { upgradeSettings_ = null; upgradeSettingsBuilder_ = null; } + if (tagsBuilder_ == null) { + tags_ = null; + } else { + tags_ = null; + tagsBuilder_ = null; + } + if (taintsBuilder_ == null) { + taints_ = null; + } else { + taints_ = null; + taintsBuilder_ = null; + } + if (labelsBuilder_ == null) { + labels_ = null; + } else { + labels_ = null; + labelsBuilder_ = null; + } if (linuxNodeConfigBuilder_ == null) { linuxNodeConfig_ = null; } else { @@ -1434,12 +1855,24 @@ public Builder clear() { kubeletConfig_ = null; kubeletConfigBuilder_ = null; } + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfig_ = null; + } else { + nodeNetworkConfig_ = null; + nodeNetworkConfigBuilder_ = null; + } if (gcfsConfigBuilder_ == null) { gcfsConfig_ = null; } else { gcfsConfig_ = null; gcfsConfigBuilder_ = null; } + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } if (gvnicBuilder_ == null) { gvnic_ = null; } else { @@ -1496,6 +1929,21 @@ public com.google.container.v1.UpdateNodePoolRequest buildPartial() { } else { result.upgradeSettings_ = upgradeSettingsBuilder_.build(); } + if (tagsBuilder_ == null) { + result.tags_ = tags_; + } else { + result.tags_ = tagsBuilder_.build(); + } + if (taintsBuilder_ == null) { + result.taints_ = taints_; + } else { + result.taints_ = taintsBuilder_.build(); + } + if (labelsBuilder_ == null) { + result.labels_ = labels_; + } else { + result.labels_ = labelsBuilder_.build(); + } if (linuxNodeConfigBuilder_ == null) { result.linuxNodeConfig_ = linuxNodeConfig_; } else { @@ -1506,11 +1954,21 @@ public com.google.container.v1.UpdateNodePoolRequest buildPartial() { } else { result.kubeletConfig_ = kubeletConfigBuilder_.build(); } + if (nodeNetworkConfigBuilder_ == null) { + result.nodeNetworkConfig_ = nodeNetworkConfig_; + } else { + result.nodeNetworkConfig_ = nodeNetworkConfigBuilder_.build(); + } if (gcfsConfigBuilder_ == null) { result.gcfsConfig_ = gcfsConfig_; } else { result.gcfsConfig_ = gcfsConfigBuilder_.build(); } + if (confidentialNodesBuilder_ == null) { + result.confidentialNodes_ = confidentialNodes_; + } else { + result.confidentialNodes_ = confidentialNodesBuilder_.build(); + } if (gvnicBuilder_ == null) { result.gvnic_ = gvnic_; } else { @@ -1609,15 +2067,30 @@ public Builder mergeFrom(com.google.container.v1.UpdateNodePoolRequest other) { if (other.hasUpgradeSettings()) { mergeUpgradeSettings(other.getUpgradeSettings()); } + if (other.hasTags()) { + mergeTags(other.getTags()); + } + if (other.hasTaints()) { + mergeTaints(other.getTaints()); + } + if (other.hasLabels()) { + mergeLabels(other.getLabels()); + } if (other.hasLinuxNodeConfig()) { mergeLinuxNodeConfig(other.getLinuxNodeConfig()); } if (other.hasKubeletConfig()) { mergeKubeletConfig(other.getKubeletConfig()); } + if (other.hasNodeNetworkConfig()) { + mergeNodeNetworkConfig(other.getNodeNetworkConfig()); + } if (other.hasGcfsConfig()) { mergeGcfsConfig(other.getGcfsConfig()); } + if (other.hasConfidentialNodes()) { + mergeConfidentialNodes(other.getConfidentialNodes()); + } if (other.hasGvnic()) { mergeGvnic(other.getGvnic()); } @@ -1658,14 +2131,14 @@ public Builder mergeFrom( * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return The projectId. */ @java.lang.Deprecated @@ -1685,14 +2158,14 @@ public java.lang.String getProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1712,14 +2185,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1738,14 +2211,14 @@ public Builder setProjectId(java.lang.String value) { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1760,14 +2233,14 @@ public Builder clearProjectId() { * *
      * Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1797,7 +2270,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return The zone. */ @java.lang.Deprecated @@ -1825,7 +2298,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1853,7 +2326,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @param value The zone to set. * @return This builder for chaining. */ @@ -1880,7 +2353,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1903,7 +2376,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1931,7 +2404,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return The clusterId. */ @java.lang.Deprecated @@ -1957,7 +2430,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1983,7 +2456,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -2008,7 +2481,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2029,7 +2502,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -2057,7 +2530,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return The nodePoolId. */ @java.lang.Deprecated @@ -2083,7 +2556,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -2109,7 +2582,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -2134,7 +2607,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2155,7 +2628,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -3118,57 +3591,652 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti return upgradeSettingsBuilder_; } - private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; + private com.google.container.v1.NetworkTags tags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, - com.google.container.v1.LinuxNodeConfig.Builder, - com.google.container.v1.LinuxNodeConfigOrBuilder> - linuxNodeConfigBuilder_; + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + tagsBuilder_; /** * * *
-     * Parameters that can be configured on Linux nodes.
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
      * 
* - * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * .google.container.v1.NetworkTags tags = 16; * - * @return Whether the linuxNodeConfig field is set. + * @return Whether the tags field is set. */ - public boolean hasLinuxNodeConfig() { - return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; + public boolean hasTags() { + return tagsBuilder_ != null || tags_ != null; } /** * * *
-     * Parameters that can be configured on Linux nodes.
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
      * 
* - * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * .google.container.v1.NetworkTags tags = 16; * - * @return The linuxNodeConfig. + * @return The tags. */ - public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { - if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + public com.google.container.v1.NetworkTags getTags() { + if (tagsBuilder_ == null) { + return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_; } else { - return linuxNodeConfigBuilder_.getMessage(); + return tagsBuilder_.getMessage(); } } /** * * *
-     * Parameters that can be configured on Linux nodes.
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
      * 
* - * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * .google.container.v1.NetworkTags tags = 16; */ - public Builder setLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig value) { - if (linuxNodeConfigBuilder_ == null) { + public Builder setTags(com.google.container.v1.NetworkTags value) { + if (tagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + tags_ = value; + onChanged(); + } else { + tagsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
+     * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + public Builder setTags(com.google.container.v1.NetworkTags.Builder builderForValue) { + if (tagsBuilder_ == null) { + tags_ = builderForValue.build(); + onChanged(); + } else { + tagsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
+     * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + public Builder mergeTags(com.google.container.v1.NetworkTags value) { + if (tagsBuilder_ == null) { + if (tags_ != null) { + tags_ = + com.google.container.v1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial(); + } else { + tags_ = value; + } + onChanged(); + } else { + tagsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
+     * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + public Builder clearTags() { + if (tagsBuilder_ == null) { + tags_ = null; + onChanged(); + } else { + tags_ = null; + tagsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
+     * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + public com.google.container.v1.NetworkTags.Builder getTagsBuilder() { + + onChanged(); + return getTagsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
+     * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() { + if (tagsBuilder_ != null) { + return tagsBuilder_.getMessageOrBuilder(); + } else { + return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_; + } + } + /** + * + * + *
+     * The desired network tags to be applied to all nodes in the node pool.
+     * If this field is not present, the tags will not be changed. Otherwise,
+     * the existing network tags will be *replaced* with the provided tags.
+     * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + getTagsFieldBuilder() { + if (tagsBuilder_ == null) { + tagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder>( + getTags(), getParentForChildren(), isClean()); + tags_ = null; + } + return tagsBuilder_; + } + + private com.google.container.v1.NodeTaints taints_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeTaints, + com.google.container.v1.NodeTaints.Builder, + com.google.container.v1.NodeTaintsOrBuilder> + taintsBuilder_; + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + * + * @return Whether the taints field is set. + */ + public boolean hasTaints() { + return taintsBuilder_ != null || taints_ != null; + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + * + * @return The taints. + */ + public com.google.container.v1.NodeTaints getTaints() { + if (taintsBuilder_ == null) { + return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_; + } else { + return taintsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + public Builder setTaints(com.google.container.v1.NodeTaints value) { + if (taintsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taints_ = value; + onChanged(); + } else { + taintsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + public Builder setTaints(com.google.container.v1.NodeTaints.Builder builderForValue) { + if (taintsBuilder_ == null) { + taints_ = builderForValue.build(); + onChanged(); + } else { + taintsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + public Builder mergeTaints(com.google.container.v1.NodeTaints value) { + if (taintsBuilder_ == null) { + if (taints_ != null) { + taints_ = + com.google.container.v1.NodeTaints.newBuilder(taints_) + .mergeFrom(value) + .buildPartial(); + } else { + taints_ = value; + } + onChanged(); + } else { + taintsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + public Builder clearTaints() { + if (taintsBuilder_ == null) { + taints_ = null; + onChanged(); + } else { + taints_ = null; + taintsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + public com.google.container.v1.NodeTaints.Builder getTaintsBuilder() { + + onChanged(); + return getTaintsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() { + if (taintsBuilder_ != null) { + return taintsBuilder_.getMessageOrBuilder(); + } else { + return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_; + } + } + /** + * + * + *
+     * The desired node taints to be applied to all nodes in the node pool.
+     * If this field is not present, the taints will not be changed. Otherwise,
+     * the existing node taints will be *replaced* with the provided taints.
+     * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeTaints, + com.google.container.v1.NodeTaints.Builder, + com.google.container.v1.NodeTaintsOrBuilder> + getTaintsFieldBuilder() { + if (taintsBuilder_ == null) { + taintsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeTaints, + com.google.container.v1.NodeTaints.Builder, + com.google.container.v1.NodeTaintsOrBuilder>( + getTaints(), getParentForChildren(), isClean()); + taints_ = null; + } + return taintsBuilder_; + } + + private com.google.container.v1.NodeLabels labels_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeLabels, + com.google.container.v1.NodeLabels.Builder, + com.google.container.v1.NodeLabelsOrBuilder> + labelsBuilder_; + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + * + * @return Whether the labels field is set. + */ + public boolean hasLabels() { + return labelsBuilder_ != null || labels_ != null; + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + * + * @return The labels. + */ + public com.google.container.v1.NodeLabels getLabels() { + if (labelsBuilder_ == null) { + return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_; + } else { + return labelsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + public Builder setLabels(com.google.container.v1.NodeLabels value) { + if (labelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + labels_ = value; + onChanged(); + } else { + labelsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + public Builder setLabels(com.google.container.v1.NodeLabels.Builder builderForValue) { + if (labelsBuilder_ == null) { + labels_ = builderForValue.build(); + onChanged(); + } else { + labelsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + public Builder mergeLabels(com.google.container.v1.NodeLabels value) { + if (labelsBuilder_ == null) { + if (labels_ != null) { + labels_ = + com.google.container.v1.NodeLabels.newBuilder(labels_) + .mergeFrom(value) + .buildPartial(); + } else { + labels_ = value; + } + onChanged(); + } else { + labelsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + public Builder clearLabels() { + if (labelsBuilder_ == null) { + labels_ = null; + onChanged(); + } else { + labels_ = null; + labelsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + public com.google.container.v1.NodeLabels.Builder getLabelsBuilder() { + + onChanged(); + return getLabelsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() { + if (labelsBuilder_ != null) { + return labelsBuilder_.getMessageOrBuilder(); + } else { + return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_; + } + } + /** + * + * + *
+     * The desired node labels to be applied to all nodes in the node pool.
+     * If this field is not present, the labels will not be changed. Otherwise,
+     * the existing node labels will be *replaced* with the provided labels.
+     * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeLabels, + com.google.container.v1.NodeLabels.Builder, + com.google.container.v1.NodeLabelsOrBuilder> + getLabelsFieldBuilder() { + if (labelsBuilder_ == null) { + labelsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeLabels, + com.google.container.v1.NodeLabels.Builder, + com.google.container.v1.NodeLabelsOrBuilder>( + getLabels(), getParentForChildren(), isClean()); + labels_ = null; + } + return labelsBuilder_; + } + + private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LinuxNodeConfig, + com.google.container.v1.LinuxNodeConfig.Builder, + com.google.container.v1.LinuxNodeConfigOrBuilder> + linuxNodeConfigBuilder_; + /** + * + * + *
+     * Parameters that can be configured on Linux nodes.
+     * 
+ * + * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * + * @return Whether the linuxNodeConfig field is set. + */ + public boolean hasLinuxNodeConfig() { + return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; + } + /** + * + * + *
+     * Parameters that can be configured on Linux nodes.
+     * 
+ * + * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * + * @return The linuxNodeConfig. + */ + public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { + if (linuxNodeConfigBuilder_ == null) { + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; + } else { + return linuxNodeConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Parameters that can be configured on Linux nodes.
+     * 
+ * + * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + */ + public Builder setLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig value) { + if (linuxNodeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } @@ -3490,6 +4558,192 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil return kubeletConfigBuilder_; } + private com.google.container.v1.NodeNetworkConfig nodeNetworkConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder> + nodeNetworkConfigBuilder_; + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * + * @return Whether the nodeNetworkConfig field is set. + */ + public boolean hasNodeNetworkConfig() { + return nodeNetworkConfigBuilder_ != null || nodeNetworkConfig_ != null; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * + * @return The nodeNetworkConfig. + */ + public com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig() { + if (nodeNetworkConfigBuilder_ == null) { + return nodeNetworkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; + } else { + return nodeNetworkConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + public Builder setNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig value) { + if (nodeNetworkConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodeNetworkConfig_ = value; + onChanged(); + } else { + nodeNetworkConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + public Builder setNodeNetworkConfig( + com.google.container.v1.NodeNetworkConfig.Builder builderForValue) { + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfig_ = builderForValue.build(); + onChanged(); + } else { + nodeNetworkConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + public Builder mergeNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig value) { + if (nodeNetworkConfigBuilder_ == null) { + if (nodeNetworkConfig_ != null) { + nodeNetworkConfig_ = + com.google.container.v1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + nodeNetworkConfig_ = value; + } + onChanged(); + } else { + nodeNetworkConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + public Builder clearNodeNetworkConfig() { + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfig_ = null; + onChanged(); + } else { + nodeNetworkConfig_ = null; + nodeNetworkConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + public com.google.container.v1.NodeNetworkConfig.Builder getNodeNetworkConfigBuilder() { + + onChanged(); + return getNodeNetworkConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder() { + if (nodeNetworkConfigBuilder_ != null) { + return nodeNetworkConfigBuilder_.getMessageOrBuilder(); + } else { + return nodeNetworkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; + } + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder> + getNodeNetworkConfigFieldBuilder() { + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder>( + getNodeNetworkConfig(), getParentForChildren(), isClean()); + nodeNetworkConfig_ = null; + } + return nodeNetworkConfigBuilder_; + } + private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1.GcfsConfig, @@ -3675,6 +4929,201 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { return gcfsConfigBuilder_; } + private com.google.container.v1.ConfidentialNodes confidentialNodes_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * + * @return Whether the confidentialNodes field is set. + */ + public boolean hasConfidentialNodes() { + return confidentialNodesBuilder_ != null || confidentialNodes_ != null; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * + * @return The confidentialNodes. + */ + public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } else { + return confidentialNodesBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + confidentialNodes_ = value; + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder setConfidentialNodes( + com.google.container.v1.ConfidentialNodes.Builder builderForValue) { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = builderForValue.build(); + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (confidentialNodes_ != null) { + confidentialNodes_ = + com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_) + .mergeFrom(value) + .buildPartial(); + } else { + confidentialNodes_ = value; + } + onChanged(); + } else { + confidentialNodesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder clearConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + onChanged(); + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() { + + onChanged(); + return getConfidentialNodesFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + if (confidentialNodesBuilder_ != null) { + return confidentialNodesBuilder_.getMessageOrBuilder(); + } else { + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + getConfidentialNodesFieldBuilder() { + if (confidentialNodesBuilder_ == null) { + confidentialNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder>( + getConfidentialNodes(), getParentForChildren(), isClean()); + confidentialNodes_ = null; + } + return confidentialNodesBuilder_; + } + private com.google.container.v1.VirtualNIC gvnic_; private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1.VirtualNIC, diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java index f05ad3099995..5b47dbb7b9e9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java @@ -28,14 +28,14 @@ public interface UpdateNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return The projectId. */ @java.lang.Deprecated @@ -45,14 +45,14 @@ public interface UpdateNodePoolRequestOrBuilder * *
    * Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2007 + * google/container/v1/cluster_service.proto;l=2123 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2013 + * google/container/v1/cluster_service.proto;l=2129 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2017 + * google/container/v1/cluster_service.proto;l=2133 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2021 + * google/container/v1/cluster_service.proto;l=2137 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -393,6 +393,129 @@ public interface UpdateNodePoolRequestOrBuilder */ com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); + /** + * + * + *
+   * The desired network tags to be applied to all nodes in the node pool.
+   * If this field is not present, the tags will not be changed. Otherwise,
+   * the existing network tags will be *replaced* with the provided tags.
+   * 
+ * + * .google.container.v1.NetworkTags tags = 16; + * + * @return Whether the tags field is set. + */ + boolean hasTags(); + /** + * + * + *
+   * The desired network tags to be applied to all nodes in the node pool.
+   * If this field is not present, the tags will not be changed. Otherwise,
+   * the existing network tags will be *replaced* with the provided tags.
+   * 
+ * + * .google.container.v1.NetworkTags tags = 16; + * + * @return The tags. + */ + com.google.container.v1.NetworkTags getTags(); + /** + * + * + *
+   * The desired network tags to be applied to all nodes in the node pool.
+   * If this field is not present, the tags will not be changed. Otherwise,
+   * the existing network tags will be *replaced* with the provided tags.
+   * 
+ * + * .google.container.v1.NetworkTags tags = 16; + */ + com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder(); + + /** + * + * + *
+   * The desired node taints to be applied to all nodes in the node pool.
+   * If this field is not present, the taints will not be changed. Otherwise,
+   * the existing node taints will be *replaced* with the provided taints.
+   * 
+ * + * .google.container.v1.NodeTaints taints = 17; + * + * @return Whether the taints field is set. + */ + boolean hasTaints(); + /** + * + * + *
+   * The desired node taints to be applied to all nodes in the node pool.
+   * If this field is not present, the taints will not be changed. Otherwise,
+   * the existing node taints will be *replaced* with the provided taints.
+   * 
+ * + * .google.container.v1.NodeTaints taints = 17; + * + * @return The taints. + */ + com.google.container.v1.NodeTaints getTaints(); + /** + * + * + *
+   * The desired node taints to be applied to all nodes in the node pool.
+   * If this field is not present, the taints will not be changed. Otherwise,
+   * the existing node taints will be *replaced* with the provided taints.
+   * 
+ * + * .google.container.v1.NodeTaints taints = 17; + */ + com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder(); + + /** + * + * + *
+   * The desired node labels to be applied to all nodes in the node pool.
+   * If this field is not present, the labels will not be changed. Otherwise,
+   * the existing node labels will be *replaced* with the provided labels.
+   * 
+ * + * .google.container.v1.NodeLabels labels = 18; + * + * @return Whether the labels field is set. + */ + boolean hasLabels(); + /** + * + * + *
+   * The desired node labels to be applied to all nodes in the node pool.
+   * If this field is not present, the labels will not be changed. Otherwise,
+   * the existing node labels will be *replaced* with the provided labels.
+   * 
+ * + * .google.container.v1.NodeLabels labels = 18; + * + * @return The labels. + */ + com.google.container.v1.NodeLabels getLabels(); + /** + * + * + *
+   * The desired node labels to be applied to all nodes in the node pool.
+   * If this field is not present, the labels will not be changed. Otherwise,
+   * the existing node labels will be *replaced* with the provided labels.
+   * 
+ * + * .google.container.v1.NodeLabels labels = 18; + */ + com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder(); + /** * * @@ -463,6 +586,41 @@ public interface UpdateNodePoolRequestOrBuilder */ com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * + * @return Whether the nodeNetworkConfig field is set. + */ + boolean hasNodeNetworkConfig(); + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * + * @return The nodeNetworkConfig. + */ + com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig(); + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1.NodeNetworkConfig node_network_config = 21; + */ + com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder(); + /** * * @@ -498,6 +656,44 @@ public interface UpdateNodePoolRequestOrBuilder */ com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * + * @return Whether the confidentialNodes field is set. + */ + boolean hasConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * + * @return The confidentialNodes. + */ + com.google.container.v1.ConfidentialNodes getConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + */ + com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder(); + /** * * diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java index 1952df4bc833..7c574e6b2189 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java @@ -154,7 +154,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2); + return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); } private static final UpgradeResourceType[] VALUES = values(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index 6dc6eeca6330..e7a35f77baf3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -350,6 +351,15 @@ service ClusterManager { option (google.api.method_signature) = "name"; } + // CompleteNodePoolUpgrade will signal an on-going node pool upgrade to + // complete. + rpc CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:completeUpgrade" + body: "*" + }; + } + // Rolls back a previously Aborted or Failed NodePool upgrade. // This makes no changes if the last upgrade successfully completed. rpc RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest) returns (Operation) { @@ -488,6 +498,8 @@ message LinuxNodeConfig { // // The following parameters are supported. // + // net.core.busy_poll + // net.core.busy_read // net.core.netdev_max_backlog // net.core.rmem_max // net.core.wmem_default @@ -533,9 +545,21 @@ message NodeKubeletConfig { // Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". // The value must be a positive duration. string cpu_cfs_quota_period = 3; + + // Set the Pod PID limits. See + // https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits + // + // Controls the maximum number of processes allowed to run in a pod. The value + // must be greater than or equal to 1024 and less than 4194304. + int64 pod_pids_limit = 4; } // Parameters that describe the nodes in a cluster. +// +// GKE Autopilot clusters do not +// recognize parameters in `NodeConfig`. Use +// [AutoprovisioningNodePoolDefaults][google.container.v1.AutoprovisioningNodePoolDefaults] +// instead. message NodeConfig { // The name of a Google Compute Engine [machine // type](https://cloud.google.com/compute/docs/machine-types) @@ -577,6 +601,7 @@ message NodeConfig { // in length. These are reflected as part of a URL in the metadata server. // Additionally, to avoid ambiguity, keys must not conflict with any other // metadata keys for the project or be one of the reserved keys: + // // - "cluster-location" // - "cluster-name" // - "cluster-uid" @@ -707,6 +732,14 @@ message NodeConfig { // Enable or disable gvnic in the node pool. VirtualNIC gvnic = 29; + + // Spot flag for enabling Spot VM, which is a rebrand of + // the existing preemptible flag. + bool spot = 32; + + // Confidential nodes config. + // All the nodes in the node pool will be Confidential VM once enabled. + ConfidentialNodes confidential_nodes = 35; } // Specifies options for controlling advanced machine features. @@ -719,6 +752,21 @@ message AdvancedMachineFeatures { // Parameters for node pool-level network config. message NodeNetworkConfig { + // Configuration of all network bandwidth tiers + message NetworkPerformanceConfig { + // Node network tier + enum Tier { + // Default value + TIER_UNSPECIFIED = 0; + + // Higher bandwidth, actual values based on VM size. + TIER_1 = 1; + } + + // Specifies the total network bandwidth tier for the NodePool. + optional Tier total_egress_bandwidth_tier = 1; + } + // Input only. Whether to create a new range for pod IPs in this node pool. // Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they // are not specified. @@ -759,6 +807,9 @@ message NodeNetworkConfig { // // This field cannot be changed after the node pool has been created. string pod_ipv4_cidr_block = 6; + + // Network bandwidth tier configuration. + optional NetworkPerformanceConfig network_performance_config = 11; } // A set of Shielded Instance options. @@ -865,6 +916,27 @@ message NodeTaint { Effect effect = 3; } +// Collection of Kubernetes [node +// taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration). +message NodeTaints { + // List of node taints. + repeated NodeTaint taints = 1; +} + +// Collection of node-level [Kubernetes +// labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels). +message NodeLabels { + // Map of node label keys and node label values. + map labels = 1; +} + +// Collection of Compute Engine network tags that can be applied to a node's +// underlying VM instance. +message NetworkTags { + // List of network tags. + repeated string tags = 1; +} + // The authentication information for accessing the master endpoint. // Authentication can be done using HTTP basic auth or using client // certificates. @@ -1133,9 +1205,28 @@ message NetworkPolicy { // Configuration for Binary Authorization. message BinaryAuthorization { + // Binary Authorization mode of operation. + enum EvaluationMode { + // Default value + EVALUATION_MODE_UNSPECIFIED = 0; + + // Disable BinaryAuthorization + DISABLED = 1; + + // Enforce Kubernetes admission requests with BinaryAuthorization using the + // project's singleton policy. This is equivalent to setting the + // enabled boolean to true. + PROJECT_SINGLETON_POLICY_ENFORCE = 2; + } + // Enable Binary Authorization for this cluster. If enabled, all container // images will be validated by Binary Authorization. bool enabled = 1; + + // Mode of operation for binauthz policy evaluation. Currently the only + // options are equivalent to enable/disable. If unspecified, defaults to + // DISABLED. + EvaluationMode evaluation_mode = 2; } // Configuration for controlling how IPs are allocated in the cluster. @@ -1473,9 +1564,13 @@ message Cluster { // Notification configuration of the cluster. NotificationConfig notification_config = 49; - // Configuration of Confidential Nodes + // Configuration of Confidential Nodes. + // All the nodes in the cluster will be Confidential VM once enabled. ConfidentialNodes confidential_nodes = 50; + // Configuration for Identity Service component. + IdentityServiceConfig identity_service_config = 54; + // [Output only] Server-defined URL for the resource. string self_link = 100; @@ -1586,6 +1681,20 @@ message Cluster { // Monitoring configuration for the cluster. MonitoringConfig monitoring_config = 133; + + // Node pool configs that apply to all auto-provisioned node pools + // in autopilot clusters and node auto-provisioning enabled clusters. + NodePoolAutoConfig node_pool_auto_config = 136; +} + +// Node pool configs that apply to all auto-provisioned node pools +// in autopilot clusters and node auto-provisioning enabled clusters. +message NodePoolAutoConfig { + // The list of instance tags applied to all nodes. Tags are used to identify + // valid sources or targets for network firewalls and are specified by + // the client during cluster creation. Each tag within the list + // must comply with RFC1035. + NetworkTags network_tags = 1; } // Subset of Nodepool message that has defaults. @@ -1596,7 +1705,7 @@ message NodePoolDefaults { // Subset of NodeConfig message that has defaults. message NodeConfigDefaults { - // GCFS (Google Container File System, a.k.a Riptide) options. + // GCFS (Google Container File System, a.k.a. Riptide) options. GcfsConfig gcfs_config = 1; } @@ -1736,6 +1845,9 @@ message ClusterUpdate { // The desired monitoring configuration. MonitoringConfig desired_monitoring_config = 65; + // The desired Identity Service component configuration. + IdentityServiceConfig desired_identity_service_config = 66; + // ServiceExternalIPsConfig specifies the config for the use of Services with // ExternalIPs field. ServiceExternalIPsConfig desired_service_external_ips_config = 60; @@ -1754,6 +1866,10 @@ message ClusterUpdate { // The desired GCFS config for the cluster GcfsConfig desired_gcfs_config = 109; + + // The desired network tags that apply to all auto-provisioned node pools + // in autopilot clusters and node auto-provisioning enabled clusters. + NetworkTags desired_node_pool_auto_config_network_tags = 110; } // This operation resource represents operations that may have happened or are @@ -1934,7 +2050,7 @@ message OperationProgress { // CreateClusterRequest creates a cluster. message CreateClusterRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [deprecated = true]; @@ -1956,7 +2072,7 @@ message CreateClusterRequest { // GetClusterRequest gets the settings of a cluster. message GetClusterRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -1978,7 +2094,7 @@ message GetClusterRequest { // UpdateClusterRequest updates the settings of a cluster. message UpdateClusterRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2003,7 +2119,7 @@ message UpdateClusterRequest { // UpdateNodePoolRequests update a node pool's image and/or version. message UpdateNodePoolRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2055,15 +2171,37 @@ message UpdateNodePoolRequest { // Upgrade settings control disruption and speed of the upgrade. NodePool.UpgradeSettings upgrade_settings = 15; + // The desired network tags to be applied to all nodes in the node pool. + // If this field is not present, the tags will not be changed. Otherwise, + // the existing network tags will be *replaced* with the provided tags. + NetworkTags tags = 16; + + // The desired node taints to be applied to all nodes in the node pool. + // If this field is not present, the taints will not be changed. Otherwise, + // the existing node taints will be *replaced* with the provided taints. + NodeTaints taints = 17; + + // The desired node labels to be applied to all nodes in the node pool. + // If this field is not present, the labels will not be changed. Otherwise, + // the existing node labels will be *replaced* with the provided labels. + NodeLabels labels = 18; + // Parameters that can be configured on Linux nodes. LinuxNodeConfig linux_node_config = 19; // Node kubelet configs. NodeKubeletConfig kubelet_config = 20; + // Node network config. + NodeNetworkConfig node_network_config = 21; + // GCFS config. GcfsConfig gcfs_config = 22; + // Confidential nodes config. + // All the nodes in the node pool will be Confidential VM once enabled. + ConfidentialNodes confidential_nodes = 23; + // Enable or disable gvnic on the node pool. VirtualNIC gvnic = 29; } @@ -2071,7 +2209,7 @@ message UpdateNodePoolRequest { // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. message SetNodePoolAutoscalingRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2101,7 +2239,7 @@ message SetNodePoolAutoscalingRequest { // SetLoggingServiceRequest sets the logging service of a cluster. message SetLoggingServiceRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2136,7 +2274,7 @@ message SetLoggingServiceRequest { // SetMonitoringServiceRequest sets the monitoring service of a cluster. message SetMonitoringServiceRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2171,7 +2309,7 @@ message SetMonitoringServiceRequest { // SetAddonsConfigRequest sets the addons associated with the cluster. message SetAddonsConfigRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2197,7 +2335,7 @@ message SetAddonsConfigRequest { // SetLocationsRequest sets the locations of the cluster. message SetLocationsRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2228,7 +2366,7 @@ message SetLocationsRequest { // UpdateMasterRequest updates the master of the cluster. message UpdateMasterRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2280,7 +2418,7 @@ message SetMasterAuthRequest { } // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2308,7 +2446,7 @@ message SetMasterAuthRequest { // DeleteClusterRequest deletes a cluster. message DeleteClusterRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2330,7 +2468,7 @@ message DeleteClusterRequest { // ListClustersRequest lists clusters. message ListClustersRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [deprecated = true]; @@ -2360,7 +2498,7 @@ message ListClustersResponse { // GetOperationRequest gets a single operation. message GetOperationRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2382,7 +2520,7 @@ message GetOperationRequest { // ListOperationsRequest lists operations. message ListOperationsRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [deprecated = true]; @@ -2401,7 +2539,7 @@ message ListOperationsRequest { // CancelOperationRequest cancels a single operation. message CancelOperationRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2433,7 +2571,7 @@ message ListOperationsResponse { // Gets the current Kubernetes Engine service configuration. message GetServerConfigRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2484,7 +2622,7 @@ message ServerConfig { // CreateNodePoolRequest creates a node pool for a cluster. message CreateNodePoolRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [deprecated = true]; @@ -2501,7 +2639,7 @@ message CreateNodePoolRequest { // Required. The node pool to create. NodePool node_pool = 4 [(google.api.field_behavior) = REQUIRED]; - // The parent (project, location, cluster id) where the node pool will be + // The parent (project, location, cluster name) where the node pool will be // created. Specified in the format // `projects/*/locations/*/clusters/*`. string parent = 6; @@ -2510,7 +2648,7 @@ message CreateNodePoolRequest { // DeleteNodePoolRequest deletes a node pool for a cluster. message DeleteNodePoolRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2537,7 +2675,7 @@ message DeleteNodePoolRequest { // ListNodePoolsRequest lists the node pool(s) for a cluster. message ListNodePoolsRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [deprecated = true]; @@ -2551,7 +2689,7 @@ message ListNodePoolsRequest { // This field has been deprecated and replaced by the parent field. string cluster_id = 3 [deprecated = true]; - // The parent (project, location, cluster id) where the node pools will be + // The parent (project, location, cluster name) where the node pools will be // listed. Specified in the format `projects/*/locations/*/clusters/*`. string parent = 5; } @@ -2559,7 +2697,7 @@ message ListNodePoolsRequest { // GetNodePoolRequest retrieves a node pool for a cluster. message GetNodePoolRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2583,6 +2721,35 @@ message GetNodePoolRequest { string name = 6; } +// Settings for blue-green upgrade. +message BlueGreenSettings { + // Standard rollout policy is the default policy for blue-green. + message StandardRolloutPolicy { + // Blue pool size to drain in a batch. + oneof update_batch_size { + // Percentage of the bool pool nodes to drain in a batch. + // The range of this field should be (0.0, 1.0]. + float batch_percentage = 1; + + // Number of blue nodes to drain in a batch. + int32 batch_node_count = 2; + } + + // Soak time after each batch gets drained. Default to zero. + optional google.protobuf.Duration batch_soak_duration = 3; + } + + // The rollout policy controls the general rollout progress of blue-green. + oneof rollout_policy { + // Standard policy for the blue-green upgrade. + StandardRolloutPolicy standard_rollout_policy = 1; + } + + // Time needed after draining entire blue pool. After this period, blue pool + // will be cleaned up. + optional google.protobuf.Duration node_pool_soak_duration = 2; +} + // NodePool contains the name and configuration for a cluster's node pool. // Node pools are a set of nodes (i.e. VM's), with a common configuration and // specification, under the control of the cluster master. They may have a set @@ -2613,6 +2780,29 @@ message NodePool { // simultaneously. It creates 2 additional (upgraded) nodes, then it brings // down 3 old (not yet upgraded) nodes at the same time. This ensures that // there are always at least 4 nodes available. + // + // These upgrade settings configure the upgrade strategy for the node pool. + // Use strategy to switch between the strategies applied to the node pool. + // + // If the strategy is ROLLING, use max_surge and max_unavailable to control + // the level of parallelism and the level of disruption caused by upgrade. + // 1. maxSurge controls the number of additional nodes that can be added to + // the node pool temporarily for the time of the upgrade to increase the + // number of available nodes. + // 2. maxUnavailable controls the number of nodes that can be simultaneously + // unavailable. + // 3. (maxUnavailable + maxSurge) determines the level of parallelism (how + // many nodes are being upgraded at the same time). + // + // If the strategy is BLUE_GREEN, use blue_green_settings to configure the + // blue-green upgrade related settings. + // 1. standard_rollout_policy is the default policy. The policy is used to + // control the way blue pool gets drained. The draining is executed in the + // batch mode. The batch size could be specified as either percentage of the + // node pool size or the number of nodes. batch_soak_duration is the soak + // time after each batch gets drained. + // 2. node_pool_soak_duration is the soak time after all blue nodes are + // drained. After this period, the blue pool nodes will be deleted. message UpgradeSettings { // The maximum number of nodes that can be created beyond the current size // of the node pool during the upgrade process. @@ -2622,6 +2812,69 @@ message NodePool { // the upgrade process. A node is considered available if its status is // Ready. int32 max_unavailable = 2; + + // Update strategy of the node pool. + optional NodePoolUpdateStrategy strategy = 3; + + // Settings for blue-green upgrade strategy. + optional BlueGreenSettings blue_green_settings = 4; + } + + // UpdateInfo contains resource (instance groups, etc), status and other + // intermediate information relevant to a node pool upgrade. + message UpdateInfo { + // Information relevant to blue-green upgrade. + message BlueGreenInfo { + // Phase represents the different stages blue-green upgrade is running in. + enum Phase { + // Unspecified phase. + PHASE_UNSPECIFIED = 0; + + // blue-green upgrade has been initiated. + UPDATE_STARTED = 1; + + // Start creating green pool nodes. + CREATING_GREEN_POOL = 2; + + // Start cordoning blue pool nodes. + CORDONING_BLUE_POOL = 3; + + // Start draining blue pool nodes. + DRAINING_BLUE_POOL = 4; + + // Start soaking time after draining entire blue pool. + NODE_POOL_SOAKING = 5; + + // Start deleting blue nodes. + DELETING_BLUE_POOL = 6; + + // Rollback has been initiated. + ROLLBACK_STARTED = 7; + } + + // Current blue-green upgrade phase. + Phase phase = 1; + + // The resource URLs of the [managed instance groups] + // (/compute/docs/instance-groups/creating-groups-of-managed-instances) + // associated with blue pool. + repeated string blue_instance_group_urls = 2; + + // The resource URLs of the [managed instance groups] + // (/compute/docs/instance-groups/creating-groups-of-managed-instances) + // associated with green pool. + repeated string green_instance_group_urls = 3; + + // Time to start deleting blue pool to complete blue-green upgrade, + // in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + string blue_pool_deletion_start_time = 4; + + // Version of green pool. + string green_pool_version = 5; + } + + // Information of a blue-green upgrade. + BlueGreenInfo blue_green_info = 1; } // The current status of the node pool instance. @@ -2692,6 +2945,8 @@ message NodePool { // [Output only] The resource URLs of the [managed instance // groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) // associated with this node pool. + // During the node pool blue-green upgrade operation, the URLs contain both + // blue and green resources. repeated string instance_group_urls = 102; // [Output only] The status of the nodes in this pool instance. @@ -2721,6 +2976,10 @@ message NodePool { // Upgrade settings control disruption and speed of the upgrade. UpgradeSettings upgrade_settings = 107; + + // Output only. [Output only] Update info contains relevant information during a node + // pool update. + UpdateInfo update_info = 109 [(google.api.field_behavior) = OUTPUT_ONLY]; } // NodeManagement defines the set of node management services turned on for the @@ -2882,7 +3141,7 @@ message DailyMaintenanceWindow { // pool. message SetNodePoolManagementRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2912,7 +3171,7 @@ message SetNodePoolManagementRequest { // SetNodePoolSizeRequest sets the size of a node pool. message SetNodePoolSizeRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2939,12 +3198,21 @@ message SetNodePoolSizeRequest { string name = 7; } +// CompleteNodePoolUpgradeRequest sets the name of target node pool to complete +// upgrade. +message CompleteNodePoolUpgradeRequest { + // The name (project, location, cluster, node pool id) of the node pool to + // complete upgrade. + // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + string name = 1; +} + // RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed // NodePool upgrade. This will be an no-op if the last upgrade successfully // completed. message RollbackNodePoolUpgradeRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -2966,6 +3234,10 @@ message RollbackNodePoolUpgradeRequest { // rollback upgrade. // Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. string name = 6; + + // Option for rollback to ignore the PodDisruptionBudget. + // Default value is false. + bool respect_pdb = 7; } // ListNodePoolsResponse is the result of ListNodePoolsRequest. @@ -3026,16 +3298,18 @@ message AutoprovisioningNodePoolDefaults { // Specifies the node management options for NAP created node-pools. NodeManagement management = 4; - // Minimum CPU platform to be used for NAP created node pools. + // Deprecated. Minimum CPU platform to be used for NAP created node pools. // The instance may be scheduled on the specified or newer CPU platform. // Applicable values are the friendly names of CPU platforms, such as // minCpuPlatform: Intel Haswell or // minCpuPlatform: Intel Sandy Bridge. For more // information, read [how to specify min CPU // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + // This field is deprecated, min_cpu_platform should be specified using + // cloud.google.com/requested-min-cpu-platform label selector on the pod. // To unset the min cpu platform field pass "automatic" // as field value. - string min_cpu_platform = 5; + string min_cpu_platform = 5 [deprecated = true]; // Size of the disk attached to each node, specified in GB. // The smallest allowed disk size is 10GB. @@ -3080,6 +3354,20 @@ message ResourceLimit { // NodePoolAutoscaling contains information required by cluster autoscaler to // adjust the size of the node pool to the current cluster usage. message NodePoolAutoscaling { + // Location policy specifies how zones are picked when scaling up the + // nodepool. + enum LocationPolicy { + // Not set. + LOCATION_POLICY_UNSPECIFIED = 0; + + // BALANCED is a best effort policy that aims to balance the sizes of + // different zones. + BALANCED = 1; + + // ANY policy picks zones that have the highest capacity available. + ANY = 2; + } + // Is autoscaling enabled for this node pool. bool enabled = 1; @@ -3093,6 +3381,21 @@ message NodePoolAutoscaling { // Can this node pool be deleted automatically. bool autoprovisioned = 4; + + // Location policy used when scaling up a nodepool. + LocationPolicy location_policy = 5; + + // Minimum number of nodes in the node pool. Must be greater than 1 less than + // total_max_node_count. + // The total_*_node_count fields are mutually exclusive with the *_node_count + // fields. + int32 total_min_node_count = 6; + + // Maximum number of nodes in the node pool. Must be greater than + // total_min_node_count. There has to be enough quota to scale up the cluster. + // The total_*_node_count fields are mutually exclusive with the *_node_count + // fields. + int32 total_max_node_count = 7; } // SetLabelsRequest sets the Google Cloud Platform labels on a Google Container @@ -3100,7 +3403,7 @@ message NodePoolAutoscaling { // resources used by that cluster message SetLabelsRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -3125,7 +3428,7 @@ message SetLabelsRequest { // resource to get the latest fingerprint. string label_fingerprint = 5 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set labels. + // The name (project, location, cluster name) of the cluster to set labels. // Specified in the format `projects/*/locations/*/clusters/*`. string name = 7; } @@ -3134,7 +3437,7 @@ message SetLabelsRequest { // a cluster. message SetLegacyAbacRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -3151,8 +3454,8 @@ message SetLegacyAbacRequest { // Required. Whether ABAC authorization will be enabled in the cluster. bool enabled = 4 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set legacy abac. - // Specified in the format `projects/*/locations/*/clusters/*`. + // The name (project, location, cluster name) of the cluster to set legacy + // abac. Specified in the format `projects/*/locations/*/clusters/*`. string name = 6; } @@ -3160,7 +3463,7 @@ message SetLegacyAbacRequest { // a node upgrade on each node pool to point to the new IP. message StartIPRotationRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -3174,7 +3477,7 @@ message StartIPRotationRequest { // This field has been deprecated and replaced by the name field. string cluster_id = 3 [deprecated = true]; - // The name (project, location, cluster id) of the cluster to start IP + // The name (project, location, cluster name) of the cluster to start IP // rotation. Specified in the format `projects/*/locations/*/clusters/*`. string name = 6; @@ -3185,7 +3488,7 @@ message StartIPRotationRequest { // CompleteIPRotationRequest moves the cluster master back into single-IP mode. message CompleteIPRotationRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -3199,7 +3502,7 @@ message CompleteIPRotationRequest { // This field has been deprecated and replaced by the name field. string cluster_id = 3 [deprecated = true]; - // The name (project, location, cluster id) of the cluster to complete IP + // The name (project, location, cluster name) of the cluster to complete IP // rotation. Specified in the format `projects/*/locations/*/clusters/*`. string name = 7; } @@ -3217,6 +3520,28 @@ message AcceleratorConfig { // NVIDIA [mig user // guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). string gpu_partition_size = 3; + + // The configuration for GPU sharing options. + optional GPUSharingConfig gpu_sharing_config = 5; +} + +// GPUSharingConfig represents the GPU sharing configuration for Hardware +// Accelerators. +message GPUSharingConfig { + // The type of GPU sharing strategy currently provided. + enum GPUSharingStrategy { + // Default value. + GPU_SHARING_STRATEGY_UNSPECIFIED = 0; + + // GPUs are time-shared between containers. + TIME_SHARING = 1; + } + + // The max number of containers that can share a physical GPU. + int64 max_shared_clients_per_gpu = 1; + + // The type of GPU sharing strategy to enable on the GPU node. + optional GPUSharingStrategy gpu_sharing_strategy = 2; } // WorkloadMetadataConfig defines the metadata configuration to expose to @@ -3247,7 +3572,7 @@ message WorkloadMetadataConfig { // SetNetworkPolicyRequest enables/disables network policy for a cluster. message SetNetworkPolicyRequest { // Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [deprecated = true]; @@ -3264,7 +3589,7 @@ message SetNetworkPolicyRequest { // Required. Configuration options for the NetworkPolicy feature. NetworkPolicy network_policy = 4 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set networking + // The name (project, location, cluster name) of the cluster to set networking // policy. Specified in the format `projects/*/locations/*/clusters/*`. string name = 6; } @@ -3272,7 +3597,7 @@ message SetNetworkPolicyRequest { // SetMaintenancePolicyRequest sets the maintenance policy for a cluster. message SetMaintenancePolicyRequest { // Required. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). string project_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The name of the Google Compute Engine @@ -3287,8 +3612,8 @@ message SetMaintenancePolicyRequest { // clears the existing maintenance policy. MaintenancePolicy maintenance_policy = 4 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set maintenance - // policy. + // The name (project, location, cluster name) of the cluster to set + // maintenance policy. // Specified in the format `projects/*/locations/*/clusters/*`. string name = 5; } @@ -3422,7 +3747,7 @@ message GetOpenIDConfigResponse { // document returned by getOpenIDConfig. See the OpenID Connect // Discovery 1.0 specification for details. message GetJSONWebKeysRequest { - // The cluster (project, location, cluster id) to get keys for. Specified in + // The cluster (project, location, cluster name) to get keys for. Specified in // the format `projects/*/locations/*/clusters/*`. string parent = 1; } @@ -3558,6 +3883,13 @@ message WorkloadIdentityConfig { string workload_pool = 2; } +// IdentityServiceConfig is configuration for Identity Service which allows +// customers to use external identity providers with the K8S API +message IdentityServiceConfig { + // Whether to enable the Identity Service component + bool enabled = 1; +} + // Configuration for issuance of mTLS keys and certificates to Kubernetes pods. message MeshCertificates { // enable_certificates controls issuance of workload mTLS certificates. @@ -3761,22 +4093,6 @@ enum PrivateIPv6GoogleAccess { PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL = 3; } -// The datapath provider selects the implementation of the Kubernetes networking -// model for service resolution and network policy enforcement. -enum DatapathProvider { - // Default value. - DATAPATH_PROVIDER_UNSPECIFIED = 0; - - // Use the IPTables implementation based on kube-proxy. - LEGACY_DATAPATH = 1; - - // Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE - // Dataplane V2 - // documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) - // for more. - ADVANCED_DATAPATH = 2; -} - // NotificationConfig is the configuration of notifications. message NotificationConfig { // Types of notifications currently supported. Can be used to filter what @@ -3828,8 +4144,7 @@ message NotificationConfig { // ConfidentialNodes is configuration for the confidential nodes feature, which // makes nodes run on confidential VMs. message ConfidentialNodes { - // Whether Confidential Nodes feature is enabled for all nodes in this - // cluster. + // Whether Confidential Nodes feature is enabled. bool enabled = 1; } @@ -3963,6 +4278,10 @@ message LoggingComponentConfig { message MonitoringConfig { // Monitoring components configuration MonitoringComponentConfig component_config = 1; + + // Enable Google Cloud Managed Service for Prometheus + // in the cluster. + ManagedPrometheusConfig managed_prometheus_config = 2; } // MonitoringComponentConfig is cluster monitoring component configuration. @@ -3974,9 +4293,54 @@ message MonitoringComponentConfig { // system components SYSTEM_COMPONENTS = 1; + + // kube-apiserver + APISERVER = 3; + + // kube-scheduler + SCHEDULER = 4; + + // kube-controller-manager + CONTROLLER_MANAGER = 5; } // Select components to collect metrics. An empty set would disable all // monitoring. repeated Component enable_components = 1; } + +// The datapath provider selects the implementation of the Kubernetes networking +// model for service resolution and network policy enforcement. +enum DatapathProvider { + // Default value. + DATAPATH_PROVIDER_UNSPECIFIED = 0; + + // Use the IPTables implementation based on kube-proxy. + LEGACY_DATAPATH = 1; + + // Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE + // Dataplane V2 + // documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) + // for more. + ADVANCED_DATAPATH = 2; +} + +// Strategy used for node pool update. +enum NodePoolUpdateStrategy { + // Default value. + NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; + + // blue-green upgrade. + BLUE_GREEN = 2; + + // SURGE is the traditional way of upgrade a node pool. + // max_surge and max_unavailable determines the level of upgrade parallelism. + SURGE = 3; +} + +// ManagedPrometheusConfig defines the configuration for +// Google Cloud Managed Service for Prometheus. +message ManagedPrometheusConfig { + // Enable Managed Collection. + bool enabled = 1; +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index d2ed77601594..898729d044dc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java @@ -61,6 +61,7 @@ private AcceleratorConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -90,6 +91,27 @@ private AcceleratorConfig( gpuPartitionSize_ = s; break; } + case 32: + { + maxTimeSharedClientsPerGpu_ = input.readInt64(); + break; + } + case 42: + { + com.google.container.v1beta1.GPUSharingConfig.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = gpuSharingConfig_.toBuilder(); + } + gpuSharingConfig_ = + input.readMessage( + com.google.container.v1beta1.GPUSharingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gpuSharingConfig_); + gpuSharingConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -126,6 +148,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.AcceleratorConfig.Builder.class); } + private int bitField0_; public static final int ACCELERATOR_COUNT_FIELD_NUMBER = 1; private long acceleratorCount_; /** @@ -248,6 +271,77 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { } } + public static final int MAX_TIME_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 4; + private long maxTimeSharedClientsPerGpu_; + /** + * + * + *
+   * The number of time-shared GPU resources to expose for each physical GPU.
+   * 
+ * + * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4104 + * @return The maxTimeSharedClientsPerGpu. + */ + @java.lang.Override + @java.lang.Deprecated + public long getMaxTimeSharedClientsPerGpu() { + return maxTimeSharedClientsPerGpu_; + } + + public static final int GPU_SHARING_CONFIG_FIELD_NUMBER = 5; + private com.google.container.v1beta1.GPUSharingConfig gpuSharingConfig_; + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return Whether the gpuSharingConfig field is set. + */ + @java.lang.Override + public boolean hasGpuSharingConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return The gpuSharingConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -271,6 +365,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gpuPartitionSize_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gpuPartitionSize_); } + if (maxTimeSharedClientsPerGpu_ != 0L) { + output.writeInt64(4, maxTimeSharedClientsPerGpu_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getGpuSharingConfig()); + } unknownFields.writeTo(output); } @@ -289,6 +389,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gpuPartitionSize_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_); } + if (maxTimeSharedClientsPerGpu_ != 0L) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(4, maxTimeSharedClientsPerGpu_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGpuSharingConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -308,6 +415,11 @@ public boolean equals(final java.lang.Object obj) { if (getAcceleratorCount() != other.getAcceleratorCount()) return false; if (!getAcceleratorType().equals(other.getAcceleratorType())) return false; if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false; + if (getMaxTimeSharedClientsPerGpu() != other.getMaxTimeSharedClientsPerGpu()) return false; + if (hasGpuSharingConfig() != other.hasGpuSharingConfig()) return false; + if (hasGpuSharingConfig()) { + if (!getGpuSharingConfig().equals(other.getGpuSharingConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,6 +437,12 @@ public int hashCode() { hash = (53 * hash) + getAcceleratorType().hashCode(); hash = (37 * hash) + GPU_PARTITION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getGpuPartitionSize().hashCode(); + hash = (37 * hash) + MAX_TIME_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxTimeSharedClientsPerGpu()); + if (hasGpuSharingConfig()) { + hash = (37 * hash) + GPU_SHARING_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getGpuSharingConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -464,7 +582,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getGpuSharingConfigFieldBuilder(); + } } @java.lang.Override @@ -476,6 +596,14 @@ public Builder clear() { gpuPartitionSize_ = ""; + maxTimeSharedClientsPerGpu_ = 0L; + + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfig_ = null; + } else { + gpuSharingConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -503,9 +631,21 @@ public com.google.container.v1beta1.AcceleratorConfig build() { public com.google.container.v1beta1.AcceleratorConfig buildPartial() { com.google.container.v1beta1.AcceleratorConfig result = new com.google.container.v1beta1.AcceleratorConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.acceleratorCount_ = acceleratorCount_; result.acceleratorType_ = acceleratorType_; result.gpuPartitionSize_ = gpuPartitionSize_; + result.maxTimeSharedClientsPerGpu_ = maxTimeSharedClientsPerGpu_; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (gpuSharingConfigBuilder_ == null) { + result.gpuSharingConfig_ = gpuSharingConfig_; + } else { + result.gpuSharingConfig_ = gpuSharingConfigBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -566,6 +706,12 @@ public Builder mergeFrom(com.google.container.v1beta1.AcceleratorConfig other) { gpuPartitionSize_ = other.gpuPartitionSize_; onChanged(); } + if (other.getMaxTimeSharedClientsPerGpu() != 0L) { + setMaxTimeSharedClientsPerGpu(other.getMaxTimeSharedClientsPerGpu()); + } + if (other.hasGpuSharingConfig()) { + mergeGpuSharingConfig(other.getGpuSharingConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -595,6 +741,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private long acceleratorCount_; /** * @@ -874,6 +1022,255 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { return this; } + private long maxTimeSharedClientsPerGpu_; + /** + * + * + *
+     * The number of time-shared GPU resources to expose for each physical GPU.
+     * 
+ * + * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4104 + * @return The maxTimeSharedClientsPerGpu. + */ + @java.lang.Override + @java.lang.Deprecated + public long getMaxTimeSharedClientsPerGpu() { + return maxTimeSharedClientsPerGpu_; + } + /** + * + * + *
+     * The number of time-shared GPU resources to expose for each physical GPU.
+     * 
+ * + * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4104 + * @param value The maxTimeSharedClientsPerGpu to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder setMaxTimeSharedClientsPerGpu(long value) { + + maxTimeSharedClientsPerGpu_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of time-shared GPU resources to expose for each physical GPU.
+     * 
+ * + * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4104 + * @return This builder for chaining. + */ + @java.lang.Deprecated + public Builder clearMaxTimeSharedClientsPerGpu() { + + maxTimeSharedClientsPerGpu_ = 0L; + onChanged(); + return this; + } + + private com.google.container.v1beta1.GPUSharingConfig gpuSharingConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GPUSharingConfig, + com.google.container.v1beta1.GPUSharingConfig.Builder, + com.google.container.v1beta1.GPUSharingConfigOrBuilder> + gpuSharingConfigBuilder_; + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return Whether the gpuSharingConfig field is set. + */ + public boolean hasGpuSharingConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return The gpuSharingConfig. + */ + public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { + if (gpuSharingConfigBuilder_ == null) { + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } else { + return gpuSharingConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder setGpuSharingConfig(com.google.container.v1beta1.GPUSharingConfig value) { + if (gpuSharingConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gpuSharingConfig_ = value; + onChanged(); + } else { + gpuSharingConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder setGpuSharingConfig( + com.google.container.v1beta1.GPUSharingConfig.Builder builderForValue) { + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfig_ = builderForValue.build(); + onChanged(); + } else { + gpuSharingConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder mergeGpuSharingConfig(com.google.container.v1beta1.GPUSharingConfig value) { + if (gpuSharingConfigBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && gpuSharingConfig_ != null + && gpuSharingConfig_ + != com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance()) { + gpuSharingConfig_ = + com.google.container.v1beta1.GPUSharingConfig.newBuilder(gpuSharingConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + gpuSharingConfig_ = value; + } + onChanged(); + } else { + gpuSharingConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + public Builder clearGpuSharingConfig() { + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfig_ = null; + onChanged(); + } else { + gpuSharingConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + public com.google.container.v1beta1.GPUSharingConfig.Builder getGpuSharingConfigBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getGpuSharingConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { + if (gpuSharingConfigBuilder_ != null) { + return gpuSharingConfigBuilder_.getMessageOrBuilder(); + } else { + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; + } + } + /** + * + * + *
+     * The configuration for GPU sharing options.
+     * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GPUSharingConfig, + com.google.container.v1beta1.GPUSharingConfig.Builder, + com.google.container.v1beta1.GPUSharingConfigOrBuilder> + getGpuSharingConfigFieldBuilder() { + if (gpuSharingConfigBuilder_ == null) { + gpuSharingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GPUSharingConfig, + com.google.container.v1beta1.GPUSharingConfig.Builder, + com.google.container.v1beta1.GPUSharingConfigOrBuilder>( + getGpuSharingConfig(), getParentForChildren(), isClean()); + gpuSharingConfig_ = null; + } + return gpuSharingConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index 908e66409a5a..d917a86582f6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java @@ -91,4 +91,55 @@ public interface AcceleratorConfigOrBuilder * @return The bytes for gpuPartitionSize. */ com.google.protobuf.ByteString getGpuPartitionSizeBytes(); + + /** + * + * + *
+   * The number of time-shared GPU resources to expose for each physical GPU.
+   * 
+ * + * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4104 + * @return The maxTimeSharedClientsPerGpu. + */ + @java.lang.Deprecated + long getMaxTimeSharedClientsPerGpu(); + + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return Whether the gpuSharingConfig field is set. + */ + boolean hasGpuSharingConfig(); + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * + * @return The gpuSharingConfig. + */ + com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig(); + /** + * + * + *
+   * The configuration for GPU sharing options.
+   * 
+ * + * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + */ + com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index 7c9ff31d7272..9252de7628e1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java @@ -427,7 +427,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=962 + * google/container/v1beta1/cluster_service.proto;l=1031 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -451,7 +451,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=962 + * google/container/v1beta1/cluster_service.proto;l=1031 * @return The kubernetesDashboard. */ @java.lang.Override @@ -551,7 +551,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=971 + * google/container/v1beta1/cluster_service.proto;l=1040 * @return Whether the istioConfig field is set. */ @java.lang.Override @@ -570,7 +570,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=971 + * google/container/v1beta1/cluster_service.proto;l=1040 * @return The istioConfig. */ @java.lang.Override @@ -820,7 +820,7 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=990 + * google/container/v1beta1/cluster_service.proto;l=1059 * @return Whether the kalmConfig field is set. */ @java.lang.Override @@ -839,7 +839,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=990 + * google/container/v1beta1/cluster_service.proto;l=1059 * @return The kalmConfig. */ @java.lang.Override @@ -2052,7 +2052,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=962 + * google/container/v1beta1/cluster_service.proto;l=1031 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -2075,7 +2075,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=962 + * google/container/v1beta1/cluster_service.proto;l=1031 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -2509,7 +2509,7 @@ public Builder clearNetworkPolicyConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=971 + * google/container/v1beta1/cluster_service.proto;l=1040 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -2527,7 +2527,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=971 + * google/container/v1beta1/cluster_service.proto;l=1040 * @return The istioConfig. */ @java.lang.Deprecated @@ -3517,7 +3517,7 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=990 + * google/container/v1beta1/cluster_service.proto;l=1059 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -3535,7 +3535,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=990 + * google/container/v1beta1/cluster_service.proto;l=1059 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index 3988746110ae..ed65d2dc1f51 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java @@ -119,7 +119,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=962 + * google/container/v1beta1/cluster_service.proto;l=1031 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=962 + * google/container/v1beta1/cluster_service.proto;l=1031 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -215,7 +215,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=971 + * google/container/v1beta1/cluster_service.proto;l=1040 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -231,7 +231,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=971 + * google/container/v1beta1/cluster_service.proto;l=1040 * @return The istioConfig. */ @java.lang.Deprecated @@ -417,7 +417,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=990 + * google/container/v1beta1/cluster_service.proto;l=1059 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -433,7 +433,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=990 + * google/container/v1beta1/cluster_service.proto;l=1059 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index cabbd23fc3e2..3d1a4aae84b4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java @@ -478,22 +478,27 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * * *
-   * Minimum CPU platform to be used by this instance. The instance may be
-   * scheduled on the specified or newer CPU platform. Applicable values are the
-   * friendly names of CPU platforms, such as
-   * `minCpuPlatform: "Intel Haswell"` or
-   * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+   * The instance may be scheduled on the specified or newer CPU platform.
+   * Applicable values are the friendly names of CPU platforms, such as
+   * minCpuPlatform: Intel Haswell or
+   * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return The minCpuPlatform. */ @java.lang.Override + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { @@ -509,22 +514,27 @@ public java.lang.String getMinCpuPlatform() { * * *
-   * Minimum CPU platform to be used by this instance. The instance may be
-   * scheduled on the specified or newer CPU platform. Applicable values are the
-   * friendly names of CPU platforms, such as
-   * `minCpuPlatform: "Intel Haswell"` or
-   * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+   * The instance may be scheduled on the specified or newer CPU platform.
+   * Applicable values are the friendly names of CPU platforms, such as
+   * minCpuPlatform: Intel Haswell or
+   * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return The bytes for minCpuPlatform. */ @java.lang.Override + @java.lang.Deprecated public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { @@ -2053,21 +2063,26 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * * *
-     * Minimum CPU platform to be used by this instance. The instance may be
-     * scheduled on the specified or newer CPU platform. Applicable values are the
-     * friendly names of CPU platforms, such as
-     * `minCpuPlatform: "Intel Haswell"` or
-     * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+     * The instance may be scheduled on the specified or newer CPU platform.
+     * Applicable values are the friendly names of CPU platforms, such as
+     * minCpuPlatform: Intel Haswell or
+     * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return The minCpuPlatform. */ + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { @@ -2083,21 +2098,26 @@ public java.lang.String getMinCpuPlatform() { * * *
-     * Minimum CPU platform to be used by this instance. The instance may be
-     * scheduled on the specified or newer CPU platform. Applicable values are the
-     * friendly names of CPU platforms, such as
-     * `minCpuPlatform: "Intel Haswell"` or
-     * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+     * The instance may be scheduled on the specified or newer CPU platform.
+     * Applicable values are the friendly names of CPU platforms, such as
+     * minCpuPlatform: Intel Haswell or
+     * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return The bytes for minCpuPlatform. */ + @java.lang.Deprecated public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { @@ -2113,22 +2133,27 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * * *
-     * Minimum CPU platform to be used by this instance. The instance may be
-     * scheduled on the specified or newer CPU platform. Applicable values are the
-     * friendly names of CPU platforms, such as
-     * `minCpuPlatform: "Intel Haswell"` or
-     * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+     * The instance may be scheduled on the specified or newer CPU platform.
+     * Applicable values are the friendly names of CPU platforms, such as
+     * minCpuPlatform: Intel Haswell or
+     * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -2142,21 +2167,26 @@ public Builder setMinCpuPlatform(java.lang.String value) { * * *
-     * Minimum CPU platform to be used by this instance. The instance may be
-     * scheduled on the specified or newer CPU platform. Applicable values are the
-     * friendly names of CPU platforms, such as
-     * `minCpuPlatform: "Intel Haswell"` or
-     * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+     * The instance may be scheduled on the specified or newer CPU platform.
+     * Applicable values are the friendly names of CPU platforms, such as
+     * minCpuPlatform: Intel Haswell or
+     * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearMinCpuPlatform() { minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); @@ -2167,22 +2197,27 @@ public Builder clearMinCpuPlatform() { * * *
-     * Minimum CPU platform to be used by this instance. The instance may be
-     * scheduled on the specified or newer CPU platform. Applicable values are the
-     * friendly names of CPU platforms, such as
-     * `minCpuPlatform: "Intel Haswell"` or
-     * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+     * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+     * The instance may be scheduled on the specified or newer CPU platform.
+     * Applicable values are the friendly names of CPU platforms, such as
+     * minCpuPlatform: Intel Haswell or
+     * minCpuPlatform: Intel Sandy Bridge. For more
      * information, read [how to specify min CPU
      * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+     * This field is deprecated, min_cpu_platform should be specified using
+     * cloud.google.com/requested-min-cpu-platform label selector on the pod.
      * To unset the min cpu platform field pass "automatic"
      * as field value.
      * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index b5538a082a49..be95d5b6b559 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -221,41 +221,51 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * Minimum CPU platform to be used by this instance. The instance may be
-   * scheduled on the specified or newer CPU platform. Applicable values are the
-   * friendly names of CPU platforms, such as
-   * `minCpuPlatform: "Intel Haswell"` or
-   * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+   * The instance may be scheduled on the specified or newer CPU platform.
+   * Applicable values are the friendly names of CPU platforms, such as
+   * minCpuPlatform: Intel Haswell or
+   * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return The minCpuPlatform. */ + @java.lang.Deprecated java.lang.String getMinCpuPlatform(); /** * * *
-   * Minimum CPU platform to be used by this instance. The instance may be
-   * scheduled on the specified or newer CPU platform. Applicable values are the
-   * friendly names of CPU platforms, such as
-   * `minCpuPlatform: "Intel Haswell"` or
-   * `minCpuPlatform: "Intel Sandy Bridge"`. For more
+   * Deprecated. Minimum CPU platform to be used for NAP created node pools.
+   * The instance may be scheduled on the specified or newer CPU platform.
+   * Applicable values are the friendly names of CPU platforms, such as
+   * minCpuPlatform: Intel Haswell or
+   * minCpuPlatform: Intel Sandy Bridge. For more
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
+   * This field is deprecated, min_cpu_platform should be specified using
+   * cloud.google.com/requested-min-cpu-platform label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
* - * string min_cpu_platform = 5; + * string min_cpu_platform = 5 [deprecated = true]; * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3854 * @return The bytes for minCpuPlatform. */ + @java.lang.Deprecated com.google.protobuf.ByteString getMinCpuPlatformBytes(); /** diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index 79f583047b2f..92912b197b6a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java @@ -37,7 +37,9 @@ private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private BinaryAuthorization() {} + private BinaryAuthorization() { + evaluationMode_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -73,6 +75,13 @@ private BinaryAuthorization( enabled_ = input.readBool(); break; } + case 16: + { + int rawValue = input.readEnum(); + + evaluationMode_ = rawValue; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -109,6 +118,167 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.BinaryAuthorization.Builder.class); } + /** + * + * + *
+   * Binary Authorization mode of operation.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.BinaryAuthorization.EvaluationMode} + */ + public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value
+     * 
+ * + * EVALUATION_MODE_UNSPECIFIED = 0; + */ + EVALUATION_MODE_UNSPECIFIED(0), + /** + * + * + *
+     * Disable BinaryAuthorization
+     * 
+ * + * DISABLED = 1; + */ + DISABLED(1), + /** + * + * + *
+     * Enforce Kubernetes admission requests with BinaryAuthorization using the
+     * project's singleton policy. This is equivalent to setting the
+     * enabled boolean to true.
+     * 
+ * + * PROJECT_SINGLETON_POLICY_ENFORCE = 2; + */ + PROJECT_SINGLETON_POLICY_ENFORCE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value
+     * 
+ * + * EVALUATION_MODE_UNSPECIFIED = 0; + */ + public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Disable BinaryAuthorization
+     * 
+ * + * DISABLED = 1; + */ + public static final int DISABLED_VALUE = 1; + /** + * + * + *
+     * Enforce Kubernetes admission requests with BinaryAuthorization using the
+     * project's singleton policy. This is equivalent to setting the
+     * enabled boolean to true.
+     * 
+ * + * PROJECT_SINGLETON_POLICY_ENFORCE = 2; + */ + public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EvaluationMode 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 EvaluationMode forNumber(int value) { + switch (value) { + case 0: + return EVALUATION_MODE_UNSPECIFIED; + case 1: + return DISABLED; + case 2: + return PROJECT_SINGLETON_POLICY_ENFORCE; + 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 EvaluationMode findValueByNumber(int number) { + return EvaluationMode.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.container.v1beta1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0); + } + + private static final EvaluationMode[] VALUES = values(); + + public static EvaluationMode 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 EvaluationMode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.BinaryAuthorization.EvaluationMode) + } + public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** @@ -116,7 +286,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Enable Binary Authorization for this cluster. If enabled, all container
-   * images will be validated by Google Binauthz.
+   * images will be validated by Binary Authorization.
    * 
* * bool enabled = 1; @@ -128,6 +298,48 @@ public boolean getEnabled() { return enabled_; } + public static final int EVALUATION_MODE_FIELD_NUMBER = 2; + private int evaluationMode_; + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The enum numeric value on the wire for evaluationMode. + */ + @java.lang.Override + public int getEvaluationModeValue() { + return evaluationMode_; + } + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The evaluationMode. + */ + @java.lang.Override + public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -145,6 +357,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enabled_ != false) { output.writeBool(1, enabled_); } + if (evaluationMode_ + != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, evaluationMode_); + } unknownFields.writeTo(output); } @@ -157,6 +375,12 @@ public int getSerializedSize() { if (enabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } + if (evaluationMode_ + != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, evaluationMode_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -174,6 +398,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.container.v1beta1.BinaryAuthorization) obj; if (getEnabled() != other.getEnabled()) return false; + if (evaluationMode_ != other.evaluationMode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -187,6 +412,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; + hash = (53 * hash) + evaluationMode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -334,6 +561,8 @@ public Builder clear() { super.clear(); enabled_ = false; + evaluationMode_ = 0; + return this; } @@ -362,6 +591,7 @@ public com.google.container.v1beta1.BinaryAuthorization buildPartial() { com.google.container.v1beta1.BinaryAuthorization result = new com.google.container.v1beta1.BinaryAuthorization(this); result.enabled_ = enabled_; + result.evaluationMode_ = evaluationMode_; onBuilt(); return result; } @@ -415,6 +645,9 @@ public Builder mergeFrom(com.google.container.v1beta1.BinaryAuthorization other) if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } + if (other.evaluationMode_ != 0) { + setEvaluationModeValue(other.getEvaluationModeValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -450,7 +683,7 @@ public Builder mergeFrom( * *
      * Enable Binary Authorization for this cluster. If enabled, all container
-     * images will be validated by Google Binauthz.
+     * images will be validated by Binary Authorization.
      * 
* * bool enabled = 1; @@ -466,7 +699,7 @@ public boolean getEnabled() { * *
      * Enable Binary Authorization for this cluster. If enabled, all container
-     * images will be validated by Google Binauthz.
+     * images will be validated by Binary Authorization.
      * 
* * bool enabled = 1; @@ -485,7 +718,7 @@ public Builder setEnabled(boolean value) { * *
      * Enable Binary Authorization for this cluster. If enabled, all container
-     * images will be validated by Google Binauthz.
+     * images will be validated by Binary Authorization.
      * 
* * bool enabled = 1; @@ -499,6 +732,115 @@ public Builder clearEnabled() { return this; } + private int evaluationMode_ = 0; + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * + * @return The enum numeric value on the wire for evaluationMode. + */ + @java.lang.Override + public int getEvaluationModeValue() { + return evaluationMode_; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * + * @param value The enum numeric value on the wire for evaluationMode to set. + * @return This builder for chaining. + */ + public Builder setEvaluationModeValue(int value) { + + evaluationMode_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * + * @return The evaluationMode. + */ + @java.lang.Override + public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * + * @param value The evaluationMode to set. + * @return This builder for chaining. + */ + public Builder setEvaluationMode( + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode value) { + if (value == null) { + throw new NullPointerException(); + } + + evaluationMode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Mode of operation for binauthz policy evaluation. Currently the only
+     * options are equivalent to enable/disable. If unspecified, defaults to
+     * DISABLED.
+     * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearEvaluationMode() { + + evaluationMode_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index f67c97672bc8..d5fd7d4208b8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java @@ -28,7 +28,7 @@ public interface BinaryAuthorizationOrBuilder * *
    * Enable Binary Authorization for this cluster. If enabled, all container
-   * images will be validated by Google Binauthz.
+   * images will be validated by Binary Authorization.
    * 
* * bool enabled = 1; @@ -36,4 +36,33 @@ public interface BinaryAuthorizationOrBuilder * @return The enabled. */ boolean getEnabled(); + + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The enum numeric value on the wire for evaluationMode. + */ + int getEvaluationModeValue(); + /** + * + * + *
+   * Mode of operation for binauthz policy evaluation. Currently the only
+   * options are equivalent to enable/disable. If unspecified, defaults to
+   * DISABLED.
+   * 
+ * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * @return The evaluationMode. + */ + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java new file mode 100644 index 000000000000..19a9a4858a68 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java @@ -0,0 +1,2390 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * Settings for blue-green upgrade.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.BlueGreenSettings} + */ +public final class BlueGreenSettings extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.BlueGreenSettings) + BlueGreenSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use BlueGreenSettings.newBuilder() to construct. + private BlueGreenSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BlueGreenSettings() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BlueGreenSettings(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BlueGreenSettings( + 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 10: + { + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder + subBuilder = null; + if (rolloutPolicyCase_ == 1) { + subBuilder = + ((com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_) + .toBuilder(); + } + rolloutPolicy_ = + input.readMessage( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_); + rolloutPolicy_ = subBuilder.buildPartial(); + } + rolloutPolicyCase_ = 1; + break; + } + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = nodePoolSoakDuration_.toBuilder(); + } + nodePoolSoakDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodePoolSoakDuration_); + nodePoolSoakDuration_ = 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 (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.BlueGreenSettings.class, + com.google.container.v1beta1.BlueGreenSettings.Builder.class); + } + + public interface StandardRolloutPolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return Whether the batchPercentage field is set. + */ + boolean hasBatchPercentage(); + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return The batchPercentage. + */ + float getBatchPercentage(); + + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return Whether the batchNodeCount field is set. + */ + boolean hasBatchNodeCount(); + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return The batchNodeCount. + */ + int getBatchNodeCount(); + + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return Whether the batchSoakDuration field is set. + */ + boolean hasBatchSoakDuration(); + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return The batchSoakDuration. + */ + com.google.protobuf.Duration getBatchSoakDuration(); + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder(); + + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase + getUpdateBatchSizeCase(); + } + /** + * + * + *
+   * Standard rollout policy is the default policy for blue-green.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy} + */ + public static final class StandardRolloutPolicy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + StandardRolloutPolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use StandardRolloutPolicy.newBuilder() to construct. + private StandardRolloutPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StandardRolloutPolicy() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StandardRolloutPolicy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private StandardRolloutPolicy( + 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 13: + { + updateBatchSize_ = input.readFloat(); + updateBatchSizeCase_ = 1; + break; + } + case 16: + { + updateBatchSize_ = input.readInt32(); + updateBatchSizeCase_ = 2; + break; + } + case 26: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = batchSoakDuration_.toBuilder(); + } + batchSoakDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(batchSoakDuration_); + batchSoakDuration_ = 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 (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + } + + private int bitField0_; + private int updateBatchSizeCase_ = 0; + private java.lang.Object updateBatchSize_; + + public enum UpdateBatchSizeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + BATCH_PERCENTAGE(1), + BATCH_NODE_COUNT(2), + UPDATEBATCHSIZE_NOT_SET(0); + private final int value; + + private UpdateBatchSizeCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UpdateBatchSizeCase valueOf(int value) { + return forNumber(value); + } + + public static UpdateBatchSizeCase forNumber(int value) { + switch (value) { + case 1: + return BATCH_PERCENTAGE; + case 2: + return BATCH_NODE_COUNT; + case 0: + return UPDATEBATCHSIZE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + } + + public static final int BATCH_PERCENTAGE_FIELD_NUMBER = 1; + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return Whether the batchPercentage field is set. + */ + @java.lang.Override + public boolean hasBatchPercentage() { + return updateBatchSizeCase_ == 1; + } + /** + * + * + *
+     * Percentage of the bool pool nodes to drain in a batch.
+     * The range of this field should be (0.0, 1.0].
+     * 
+ * + * float batch_percentage = 1; + * + * @return The batchPercentage. + */ + @java.lang.Override + public float getBatchPercentage() { + if (updateBatchSizeCase_ == 1) { + return (java.lang.Float) updateBatchSize_; + } + return 0F; + } + + public static final int BATCH_NODE_COUNT_FIELD_NUMBER = 2; + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return Whether the batchNodeCount field is set. + */ + @java.lang.Override + public boolean hasBatchNodeCount() { + return updateBatchSizeCase_ == 2; + } + /** + * + * + *
+     * Number of blue nodes to drain in a batch.
+     * 
+ * + * int32 batch_node_count = 2; + * + * @return The batchNodeCount. + */ + @java.lang.Override + public int getBatchNodeCount() { + if (updateBatchSizeCase_ == 2) { + return (java.lang.Integer) updateBatchSize_; + } + return 0; + } + + public static final int BATCH_SOAK_DURATION_FIELD_NUMBER = 3; + private com.google.protobuf.Duration batchSoakDuration_; + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return Whether the batchSoakDuration field is set. + */ + @java.lang.Override + public boolean hasBatchSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return The batchSoakDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getBatchSoakDuration() { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } + /** + * + * + *
+     * Soak time after each batch gets drained. Default to zero.
+     * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } + + 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 (updateBatchSizeCase_ == 1) { + output.writeFloat(1, (float) ((java.lang.Float) updateBatchSize_)); + } + if (updateBatchSizeCase_ == 2) { + output.writeInt32(2, (int) ((java.lang.Integer) updateBatchSize_)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getBatchSoakDuration()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (updateBatchSizeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 1, (float) ((java.lang.Float) updateBatchSize_)); + } + if (updateBatchSizeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) updateBatchSize_)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBatchSoakDuration()); + } + 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)) { + return super.equals(obj); + } + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other = + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) obj; + + if (hasBatchSoakDuration() != other.hasBatchSoakDuration()) return false; + if (hasBatchSoakDuration()) { + if (!getBatchSoakDuration().equals(other.getBatchSoakDuration())) return false; + } + if (!getUpdateBatchSizeCase().equals(other.getUpdateBatchSizeCase())) return false; + switch (updateBatchSizeCase_) { + case 1: + if (java.lang.Float.floatToIntBits(getBatchPercentage()) + != java.lang.Float.floatToIntBits(other.getBatchPercentage())) return false; + break; + case 2: + if (getBatchNodeCount() != other.getBatchNodeCount()) return false; + break; + case 0: + default: + } + 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 (hasBatchSoakDuration()) { + hash = (37 * hash) + BATCH_SOAK_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getBatchSoakDuration().hashCode(); + } + switch (updateBatchSizeCase_) { + case 1: + hash = (37 * hash) + BATCH_PERCENTAGE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBatchPercentage()); + break; + case 2: + hash = (37 * hash) + BATCH_NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getBatchNodeCount(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy 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; + } + /** + * + * + *
+     * Standard rollout policy is the default policy for blue-green.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + } + + // Construct using + // com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBatchSoakDurationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (batchSoakDurationBuilder_ == null) { + batchSoakDuration_ = null; + } else { + batchSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy build() { + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buildPartial() { + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = + new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (updateBatchSizeCase_ == 1) { + result.updateBatchSize_ = updateBatchSize_; + } + if (updateBatchSizeCase_ == 2) { + result.updateBatchSize_ = updateBatchSize_; + } + if (((from_bitField0_ & 0x00000001) != 0)) { + if (batchSoakDurationBuilder_ == null) { + result.batchSoakDuration_ = batchSoakDuration_; + } else { + result.batchSoakDuration_ = batchSoakDurationBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + result.updateBatchSizeCase_ = updateBatchSizeCase_; + 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) { + return mergeFrom( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other) { + if (other + == com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance()) return this; + if (other.hasBatchSoakDuration()) { + mergeBatchSoakDuration(other.getBatchSoakDuration()); + } + switch (other.getUpdateBatchSizeCase()) { + case BATCH_PERCENTAGE: + { + setBatchPercentage(other.getBatchPercentage()); + break; + } + case BATCH_NODE_COUNT: + { + setBatchNodeCount(other.getBatchNodeCount()); + break; + } + case UPDATEBATCHSIZE_NOT_SET: + { + break; + } + } + 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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int updateBatchSizeCase_ = 0; + private java.lang.Object updateBatchSize_; + + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + } + + public Builder clearUpdateBatchSize() { + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @return Whether the batchPercentage field is set. + */ + public boolean hasBatchPercentage() { + return updateBatchSizeCase_ == 1; + } + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @return The batchPercentage. + */ + public float getBatchPercentage() { + if (updateBatchSizeCase_ == 1) { + return (java.lang.Float) updateBatchSize_; + } + return 0F; + } + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @param value The batchPercentage to set. + * @return This builder for chaining. + */ + public Builder setBatchPercentage(float value) { + updateBatchSizeCase_ = 1; + updateBatchSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Percentage of the bool pool nodes to drain in a batch.
+       * The range of this field should be (0.0, 1.0].
+       * 
+ * + * float batch_percentage = 1; + * + * @return This builder for chaining. + */ + public Builder clearBatchPercentage() { + if (updateBatchSizeCase_ == 1) { + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @return Whether the batchNodeCount field is set. + */ + public boolean hasBatchNodeCount() { + return updateBatchSizeCase_ == 2; + } + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @return The batchNodeCount. + */ + public int getBatchNodeCount() { + if (updateBatchSizeCase_ == 2) { + return (java.lang.Integer) updateBatchSize_; + } + return 0; + } + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @param value The batchNodeCount to set. + * @return This builder for chaining. + */ + public Builder setBatchNodeCount(int value) { + updateBatchSizeCase_ = 2; + updateBatchSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Number of blue nodes to drain in a batch.
+       * 
+ * + * int32 batch_node_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearBatchNodeCount() { + if (updateBatchSizeCase_ == 2) { + updateBatchSizeCase_ = 0; + updateBatchSize_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.Duration batchSoakDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + batchSoakDurationBuilder_; + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return Whether the batchSoakDuration field is set. + */ + public boolean hasBatchSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + * + * @return The batchSoakDuration. + */ + public com.google.protobuf.Duration getBatchSoakDuration() { + if (batchSoakDurationBuilder_ == null) { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } else { + return batchSoakDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder setBatchSoakDuration(com.google.protobuf.Duration value) { + if (batchSoakDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + batchSoakDuration_ = value; + onChanged(); + } else { + batchSoakDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (batchSoakDurationBuilder_ == null) { + batchSoakDuration_ = builderForValue.build(); + onChanged(); + } else { + batchSoakDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { + if (batchSoakDurationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && batchSoakDuration_ != null + && batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + batchSoakDuration_ = + com.google.protobuf.Duration.newBuilder(batchSoakDuration_) + .mergeFrom(value) + .buildPartial(); + } else { + batchSoakDuration_ = value; + } + onChanged(); + } else { + batchSoakDurationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public Builder clearBatchSoakDuration() { + if (batchSoakDurationBuilder_ == null) { + batchSoakDuration_ = null; + onChanged(); + } else { + batchSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public com.google.protobuf.Duration.Builder getBatchSoakDurationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getBatchSoakDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { + if (batchSoakDurationBuilder_ != null) { + return batchSoakDurationBuilder_.getMessageOrBuilder(); + } else { + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; + } + } + /** + * + * + *
+       * Soak time after each batch gets drained. Default to zero.
+       * 
+ * + * optional .google.protobuf.Duration batch_soak_duration = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getBatchSoakDurationFieldBuilder() { + if (batchSoakDurationBuilder_ == null) { + batchSoakDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getBatchSoakDuration(), getParentForChildren(), isClean()); + batchSoakDuration_ = null; + } + return batchSoakDurationBuilder_; + } + + @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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + private static final com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(); + } + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardRolloutPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StandardRolloutPolicy(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.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + private int rolloutPolicyCase_ = 0; + private java.lang.Object rolloutPolicy_; + + public enum RolloutPolicyCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + STANDARD_ROLLOUT_POLICY(1), + ROLLOUTPOLICY_NOT_SET(0); + private final int value; + + private RolloutPolicyCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RolloutPolicyCase valueOf(int value) { + return forNumber(value); + } + + public static RolloutPolicyCase forNumber(int value) { + switch (value) { + case 1: + return STANDARD_ROLLOUT_POLICY; + case 0: + return ROLLOUTPOLICY_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + } + + public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER = 1; + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return Whether the standardRolloutPolicy field is set. + */ + @java.lang.Override + public boolean hasStandardRolloutPolicy() { + return rolloutPolicyCase_ == 1; + } + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return The standardRolloutPolicy. + */ + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + } + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + } + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } + + public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER = 2; + private com.google.protobuf.Duration nodePoolSoakDuration_; + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return Whether the nodePoolSoakDuration field is set. + */ + @java.lang.Override + public boolean hasNodePoolSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return The nodePoolSoakDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getNodePoolSoakDuration() { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } + + 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 (rolloutPolicyCase_ == 1) { + output.writeMessage( + 1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getNodePoolSoakDuration()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (rolloutPolicyCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNodePoolSoakDuration()); + } + 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.container.v1beta1.BlueGreenSettings)) { + return super.equals(obj); + } + com.google.container.v1beta1.BlueGreenSettings other = + (com.google.container.v1beta1.BlueGreenSettings) obj; + + if (hasNodePoolSoakDuration() != other.hasNodePoolSoakDuration()) return false; + if (hasNodePoolSoakDuration()) { + if (!getNodePoolSoakDuration().equals(other.getNodePoolSoakDuration())) return false; + } + if (!getRolloutPolicyCase().equals(other.getRolloutPolicyCase())) return false; + switch (rolloutPolicyCase_) { + case 1: + if (!getStandardRolloutPolicy().equals(other.getStandardRolloutPolicy())) return false; + break; + case 0: + default: + } + 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 (hasNodePoolSoakDuration()) { + hash = (37 * hash) + NODE_POOL_SOAK_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getNodePoolSoakDuration().hashCode(); + } + switch (rolloutPolicyCase_) { + case 1: + hash = (37 * hash) + STANDARD_ROLLOUT_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getStandardRolloutPolicy().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.BlueGreenSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.BlueGreenSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.BlueGreenSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.BlueGreenSettings 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.container.v1beta1.BlueGreenSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.BlueGreenSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.BlueGreenSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.BlueGreenSettings 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.container.v1beta1.BlueGreenSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.BlueGreenSettings 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.container.v1beta1.BlueGreenSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.BlueGreenSettings 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.container.v1beta1.BlueGreenSettings 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; + } + /** + * + * + *
+   * Settings for blue-green upgrade.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.BlueGreenSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BlueGreenSettings) + com.google.container.v1beta1.BlueGreenSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.BlueGreenSettings.class, + com.google.container.v1beta1.BlueGreenSettings.Builder.class); + } + + // Construct using com.google.container.v1beta1.BlueGreenSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNodePoolSoakDurationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDuration_ = null; + } else { + nodePoolSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings getDefaultInstanceForType() { + return com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings build() { + com.google.container.v1beta1.BlueGreenSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings buildPartial() { + com.google.container.v1beta1.BlueGreenSettings result = + new com.google.container.v1beta1.BlueGreenSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (rolloutPolicyCase_ == 1) { + if (standardRolloutPolicyBuilder_ == null) { + result.rolloutPolicy_ = rolloutPolicy_; + } else { + result.rolloutPolicy_ = standardRolloutPolicyBuilder_.build(); + } + } + if (((from_bitField0_ & 0x00000001) != 0)) { + if (nodePoolSoakDurationBuilder_ == null) { + result.nodePoolSoakDuration_ = nodePoolSoakDuration_; + } else { + result.nodePoolSoakDuration_ = nodePoolSoakDurationBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + result.rolloutPolicyCase_ = rolloutPolicyCase_; + 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.container.v1beta1.BlueGreenSettings) { + return mergeFrom((com.google.container.v1beta1.BlueGreenSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.BlueGreenSettings other) { + if (other == com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance()) return this; + if (other.hasNodePoolSoakDuration()) { + mergeNodePoolSoakDuration(other.getNodePoolSoakDuration()); + } + switch (other.getRolloutPolicyCase()) { + case STANDARD_ROLLOUT_POLICY: + { + mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); + break; + } + case ROLLOUTPOLICY_NOT_SET: + { + break; + } + } + 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.container.v1beta1.BlueGreenSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1beta1.BlueGreenSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int rolloutPolicyCase_ = 0; + private java.lang.Object rolloutPolicy_; + + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + } + + public Builder clearRolloutPolicy() { + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + standardRolloutPolicyBuilder_; + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return Whether the standardRolloutPolicy field is set. + */ + @java.lang.Override + public boolean hasStandardRolloutPolicy() { + return rolloutPolicyCase_ == 1; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return The standardRolloutPolicy. + */ + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { + if (standardRolloutPolicyBuilder_ == null) { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_; + } + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } else { + if (rolloutPolicyCase_ == 1) { + return standardRolloutPolicyBuilder_.getMessage(); + } + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder setStandardRolloutPolicy( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { + if (standardRolloutPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rolloutPolicy_ = value; + onChanged(); + } else { + standardRolloutPolicyBuilder_.setMessage(value); + } + rolloutPolicyCase_ = 1; + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder setStandardRolloutPolicy( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder + builderForValue) { + if (standardRolloutPolicyBuilder_ == null) { + rolloutPolicy_ = builderForValue.build(); + onChanged(); + } else { + standardRolloutPolicyBuilder_.setMessage(builderForValue.build()); + } + rolloutPolicyCase_ = 1; + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder mergeStandardRolloutPolicy( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { + if (standardRolloutPolicyBuilder_ == null) { + if (rolloutPolicyCase_ == 1 + && rolloutPolicy_ + != com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance()) { + rolloutPolicy_ = + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_) + .mergeFrom(value) + .buildPartial(); + } else { + rolloutPolicy_ = value; + } + onChanged(); + } else { + if (rolloutPolicyCase_ == 1) { + standardRolloutPolicyBuilder_.mergeFrom(value); + } else { + standardRolloutPolicyBuilder_.setMessage(value); + } + } + rolloutPolicyCase_ = 1; + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public Builder clearStandardRolloutPolicy() { + if (standardRolloutPolicyBuilder_ == null) { + if (rolloutPolicyCase_ == 1) { + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + onChanged(); + } + } else { + if (rolloutPolicyCase_ == 1) { + rolloutPolicyCase_ = 0; + rolloutPolicy_ = null; + } + standardRolloutPolicyBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder + getStandardRolloutPolicyBuilder() { + return getStandardRolloutPolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { + if ((rolloutPolicyCase_ == 1) && (standardRolloutPolicyBuilder_ != null)) { + return standardRolloutPolicyBuilder_.getMessageOrBuilder(); + } else { + if (rolloutPolicyCase_ == 1) { + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_; + } + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } + } + /** + * + * + *
+     * Standard policy for the blue-green upgrade.
+     * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + getStandardRolloutPolicyFieldBuilder() { + if (standardRolloutPolicyBuilder_ == null) { + if (!(rolloutPolicyCase_ == 1)) { + rolloutPolicy_ = + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); + } + standardRolloutPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_, + getParentForChildren(), + isClean()); + rolloutPolicy_ = null; + } + rolloutPolicyCase_ = 1; + onChanged(); + ; + return standardRolloutPolicyBuilder_; + } + + private com.google.protobuf.Duration nodePoolSoakDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + nodePoolSoakDurationBuilder_; + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return Whether the nodePoolSoakDuration field is set. + */ + public boolean hasNodePoolSoakDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return The nodePoolSoakDuration. + */ + public com.google.protobuf.Duration getNodePoolSoakDuration() { + if (nodePoolSoakDurationBuilder_ == null) { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } else { + return nodePoolSoakDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) { + if (nodePoolSoakDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodePoolSoakDuration_ = value; + onChanged(); + } else { + nodePoolSoakDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDuration_ = builderForValue.build(); + onChanged(); + } else { + nodePoolSoakDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) { + if (nodePoolSoakDurationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && nodePoolSoakDuration_ != null + && nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + nodePoolSoakDuration_ = + com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_) + .mergeFrom(value) + .buildPartial(); + } else { + nodePoolSoakDuration_ = value; + } + onChanged(); + } else { + nodePoolSoakDurationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public Builder clearNodePoolSoakDuration() { + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDuration_ = null; + onChanged(); + } else { + nodePoolSoakDurationBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public com.google.protobuf.Duration.Builder getNodePoolSoakDurationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getNodePoolSoakDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() { + if (nodePoolSoakDurationBuilder_ != null) { + return nodePoolSoakDurationBuilder_.getMessageOrBuilder(); + } else { + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; + } + } + /** + * + * + *
+     * Time needed after draining entire blue pool. After this period, blue pool
+     * will be cleaned up.
+     * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getNodePoolSoakDurationFieldBuilder() { + if (nodePoolSoakDurationBuilder_ == null) { + nodePoolSoakDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getNodePoolSoakDuration(), getParentForChildren(), isClean()); + nodePoolSoakDuration_ = null; + } + return nodePoolSoakDurationBuilder_; + } + + @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.container.v1beta1.BlueGreenSettings) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.BlueGreenSettings) + private static final com.google.container.v1beta1.BlueGreenSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.BlueGreenSettings(); + } + + public static com.google.container.v1beta1.BlueGreenSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BlueGreenSettings(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.container.v1beta1.BlueGreenSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java new file mode 100644 index 000000000000..b72103c8b59e --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface BlueGreenSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return Whether the standardRolloutPolicy field is set. + */ + boolean hasStandardRolloutPolicy(); + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * + * @return The standardRolloutPolicy. + */ + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy(); + /** + * + * + *
+   * Standard policy for the blue-green upgrade.
+   * 
+ * + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + */ + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder(); + + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return Whether the nodePoolSoakDuration field is set. + */ + boolean hasNodePoolSoakDuration(); + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * + * @return The nodePoolSoakDuration. + */ + com.google.protobuf.Duration getNodePoolSoakDuration(); + /** + * + * + *
+   * Time needed after draining entire blue pool. After this period, blue pool
+   * will be cleaned up.
+   * 
+ * + * optional .google.protobuf.Duration node_pool_soak_duration = 2; + */ + com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder(); + + public com.google.container.v1beta1.BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java index 98d03ef0ccfe..568d7c6abb9d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return The projectId. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return The bytes for projectId. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return The zone. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return The bytes for zone. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return The operationId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return The bytes for operationId. */ @java.lang.Override @@ -741,7 +741,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -749,7 +749,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return The projectId. */ @java.lang.Deprecated @@ -769,7 +769,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -777,7 +777,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -797,7 +797,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -805,7 +805,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @param value The projectId to set. * @return This builder for chaining. */ @@ -824,7 +824,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -832,7 +832,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return This builder for chaining. */ @java.lang.Deprecated @@ -847,7 +847,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -855,7 +855,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -885,7 +885,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return The zone. */ @java.lang.Deprecated @@ -913,7 +913,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return The bytes for zone. */ @java.lang.Deprecated @@ -941,7 +941,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @param value The zone to set. * @return This builder for chaining. */ @@ -968,7 +968,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return This builder for chaining. */ @java.lang.Deprecated @@ -991,7 +991,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1020,7 +1020,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return The operationId. */ @java.lang.Deprecated @@ -1047,7 +1047,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1100,7 +1100,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index 6a5baef0a81b..a537f33002cb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface CancelOperationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface CancelOperationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2723 + * google/container/v1beta1/cluster_service.proto;l=2927 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2732 + * google/container/v1beta1/cluster_service.proto;l=2936 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2739 + * google/container/v1beta1/cluster_service.proto;l=2943 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index d80fb91475ec..7e79db20b995 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java @@ -554,6 +554,23 @@ private Cluster( workloadIdentityConfig_ = subBuilder.buildPartial(); } + break; + } + case 362: + { + com.google.container.v1beta1.CostManagementConfig.Builder subBuilder = null; + if (costManagementConfig_ != null) { + subBuilder = costManagementConfig_.toBuilder(); + } + costManagementConfig_ = + input.readMessage( + com.google.container.v1beta1.CostManagementConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(costManagementConfig_); + costManagementConfig_ = subBuilder.buildPartial(); + } + break; } case 370: @@ -635,6 +652,22 @@ private Cluster( workloadCertificates_ = subBuilder.buildPartial(); } + break; + } + case 426: + { + com.google.container.v1beta1.WorkloadALTSConfig.Builder subBuilder = null; + if (workloadAltsConfig_ != null) { + subBuilder = workloadAltsConfig_.toBuilder(); + } + workloadAltsConfig_ = + input.readMessage( + com.google.container.v1beta1.WorkloadALTSConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadAltsConfig_); + workloadAltsConfig_ = subBuilder.buildPartial(); + } + break; } case 434: @@ -883,6 +916,38 @@ private Cluster( monitoringConfig_ = subBuilder.buildPartial(); } + break; + } + case 1090: + { + com.google.container.v1beta1.NodePoolAutoConfig.Builder subBuilder = null; + if (nodePoolAutoConfig_ != null) { + subBuilder = nodePoolAutoConfig_.toBuilder(); + } + nodePoolAutoConfig_ = + input.readMessage( + com.google.container.v1beta1.NodePoolAutoConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodePoolAutoConfig_); + nodePoolAutoConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 1098: + { + com.google.container.v1beta1.ProtectConfig.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = protectConfig_.toBuilder(); + } + protectConfig_ = + input.readMessage( + com.google.container.v1beta1.ProtectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(protectConfig_); + protectConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; break; } default: @@ -1328,7 +1393,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1426 + * google/container/v1beta1/cluster_service.proto;l=1550 * @return The initialNodeCount. */ @java.lang.Override @@ -1358,7 +1423,7 @@ public int getInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1439 + * google/container/v1beta1/cluster_service.proto;l=1563 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -1385,7 +1450,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1439 + * google/container/v1beta1/cluster_service.proto;l=1563 * @return The nodeConfig. */ @java.lang.Override @@ -2632,7 +2697,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1561 + * google/container/v1beta1/cluster_service.proto;l=1685 * @return The privateCluster. */ @java.lang.Override @@ -2657,7 +2722,7 @@ public boolean getPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -2687,7 +2752,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override @@ -3215,6 +3280,103 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate return getMeshCertificates(); } + public static final int WORKLOAD_ALTS_CONFIG_FIELD_NUMBER = 53; + private com.google.container.v1beta1.WorkloadALTSConfig workloadAltsConfig_; + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * + * @return Whether the workloadAltsConfig field is set. + */ + @java.lang.Override + public boolean hasWorkloadAltsConfig() { + return workloadAltsConfig_ != null; + } + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * + * @return The workloadAltsConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { + return workloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : workloadAltsConfig_; + } + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsConfigOrBuilder() { + return getWorkloadAltsConfig(); + } + + public static final int COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 45; + private com.google.container.v1beta1.CostManagementConfig costManagementConfig_; + /** + * + * + *
+   * Configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * + * @return Whether the costManagementConfig field is set. + */ + @java.lang.Override + public boolean hasCostManagementConfig() { + return costManagementConfig_ != null; + } + /** + * + * + *
+   * Configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * + * @return The costManagementConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig() { + return costManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; + } + /** + * + * + *
+   * Configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getCostManagementConfigOrBuilder() { + return getCostManagementConfig(); + } + public static final int CLUSTER_TELEMETRY_FIELD_NUMBER = 46; private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; /** @@ -3365,7 +3527,8 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationC * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -3380,7 +3543,8 @@ public boolean hasConfidentialNodes() { * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -3397,7 +3561,8 @@ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -3519,7 +3684,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return The zone. */ @java.lang.Override @@ -3547,7 +3712,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return The bytes for zone. */ @java.lang.Override @@ -3755,7 +3920,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return The currentNodeVersion. */ @java.lang.Override @@ -3785,7 +3950,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3903,7 +4068,7 @@ public com.google.container.v1beta1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return The statusMessage. */ @java.lang.Override @@ -3931,7 +4096,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return The bytes for statusMessage. */ @java.lang.Override @@ -4038,7 +4203,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -4055,7 +4220,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -4072,7 +4237,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -4090,7 +4255,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -4112,7 +4277,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1692 + * google/container/v1beta1/cluster_service.proto;l=1823 * @return The currentNodeCount. */ @java.lang.Override @@ -4710,6 +4875,107 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi return getMonitoringConfig(); } + public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER = 136; + private com.google.container.v1beta1.NodePoolAutoConfig nodePoolAutoConfig_; + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return Whether the nodePoolAutoConfig field is set. + */ + @java.lang.Override + public boolean hasNodePoolAutoConfig() { + return nodePoolAutoConfig_ != null; + } + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return The nodePoolAutoConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig() { + return nodePoolAutoConfig_ == null + ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; + } + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder() { + return getNodePoolAutoConfig(); + } + + public static final int PROTECT_CONFIG_FIELD_NUMBER = 137; + private com.google.container.v1beta1.ProtectConfig protectConfig_; + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * + * @return Whether the protectConfig field is set. + */ + @java.lang.Override + public boolean hasProtectConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * + * @return The protectConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.ProtectConfig getProtectConfig() { + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; + } + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + @java.lang.Override + public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBuilder() { + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -4831,6 +5097,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (workloadIdentityConfig_ != null) { output.writeMessage(43, getWorkloadIdentityConfig()); } + if (costManagementConfig_ != null) { + output.writeMessage(45, getCostManagementConfig()); + } if (clusterTelemetry_ != null) { output.writeMessage(46, getClusterTelemetry()); } @@ -4846,6 +5115,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (workloadCertificates_ != null) { output.writeMessage(52, getWorkloadCertificates()); } + if (workloadAltsConfig_ != null) { + output.writeMessage(53, getWorkloadAltsConfig()); + } if (identityServiceConfig_ != null) { output.writeMessage(54, getIdentityServiceConfig()); } @@ -4924,6 +5196,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (monitoringConfig_ != null) { output.writeMessage(133, getMonitoringConfig()); } + if (nodePoolAutoConfig_ != null) { + output.writeMessage(136, getNodePoolAutoConfig()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(137, getProtectConfig()); + } unknownFields.writeTo(output); } @@ -5067,6 +5345,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(43, getWorkloadIdentityConfig()); } + if (costManagementConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(45, getCostManagementConfig()); + } if (clusterTelemetry_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(46, getClusterTelemetry()); } @@ -5083,6 +5365,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(52, getWorkloadCertificates()); } + if (workloadAltsConfig_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getWorkloadAltsConfig()); + } if (identityServiceConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(54, getIdentityServiceConfig()); @@ -5167,6 +5452,13 @@ public int getSerializedSize() { if (monitoringConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig()); } + if (nodePoolAutoConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(136, getNodePoolAutoConfig()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(137, getProtectConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -5289,6 +5581,14 @@ public boolean equals(final java.lang.Object obj) { if (hasMeshCertificates()) { if (!getMeshCertificates().equals(other.getMeshCertificates())) return false; } + if (hasWorkloadAltsConfig() != other.hasWorkloadAltsConfig()) return false; + if (hasWorkloadAltsConfig()) { + if (!getWorkloadAltsConfig().equals(other.getWorkloadAltsConfig())) return false; + } + if (hasCostManagementConfig() != other.hasCostManagementConfig()) return false; + if (hasCostManagementConfig()) { + if (!getCostManagementConfig().equals(other.getCostManagementConfig())) return false; + } if (hasClusterTelemetry() != other.hasClusterTelemetry()) return false; if (hasClusterTelemetry()) { if (!getClusterTelemetry().equals(other.getClusterTelemetry())) return false; @@ -5352,6 +5652,14 @@ public boolean equals(final java.lang.Object obj) { if (hasMonitoringConfig()) { if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } + if (hasNodePoolAutoConfig() != other.hasNodePoolAutoConfig()) return false; + if (hasNodePoolAutoConfig()) { + if (!getNodePoolAutoConfig().equals(other.getNodePoolAutoConfig())) return false; + } + if (hasProtectConfig() != other.hasProtectConfig()) return false; + if (hasProtectConfig()) { + if (!getProtectConfig().equals(other.getProtectConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5487,6 +5795,14 @@ public int hashCode() { hash = (37 * hash) + MESH_CERTIFICATES_FIELD_NUMBER; hash = (53 * hash) + getMeshCertificates().hashCode(); } + if (hasWorkloadAltsConfig()) { + hash = (37 * hash) + WORKLOAD_ALTS_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getWorkloadAltsConfig().hashCode(); + } + if (hasCostManagementConfig()) { + hash = (37 * hash) + COST_MANAGEMENT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getCostManagementConfig().hashCode(); + } if (hasClusterTelemetry()) { hash = (37 * hash) + CLUSTER_TELEMETRY_FIELD_NUMBER; hash = (53 * hash) + getClusterTelemetry().hashCode(); @@ -5573,6 +5889,14 @@ public int hashCode() { hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMonitoringConfig().hashCode(); } + if (hasNodePoolAutoConfig()) { + hash = (37 * hash) + NODE_POOL_AUTO_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNodePoolAutoConfig().hashCode(); + } + if (hasProtectConfig()) { + hash = (37 * hash) + PROTECT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getProtectConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -5735,6 +6059,7 @@ private void maybeForceBuilderInitialization() { getNodePoolsFieldBuilder(); getConditionsFieldBuilder(); getNodePoolDefaultsFieldBuilder(); + getProtectConfigFieldBuilder(); } } @@ -5906,6 +6231,18 @@ public Builder clear() { meshCertificates_ = null; meshCertificatesBuilder_ = null; } + if (workloadAltsConfigBuilder_ == null) { + workloadAltsConfig_ = null; + } else { + workloadAltsConfig_ = null; + workloadAltsConfigBuilder_ = null; + } + if (costManagementConfigBuilder_ == null) { + costManagementConfig_ = null; + } else { + costManagementConfig_ = null; + costManagementConfigBuilder_ = null; + } if (clusterTelemetryBuilder_ == null) { clusterTelemetry_ = null; } else { @@ -6014,6 +6351,18 @@ public Builder clear() { monitoringConfig_ = null; monitoringConfigBuilder_ = null; } + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfig_ = null; + } else { + nodePoolAutoConfig_ = null; + nodePoolAutoConfigBuilder_ = null; + } + if (protectConfigBuilder_ == null) { + protectConfig_ = null; + } else { + protectConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -6180,6 +6529,16 @@ public com.google.container.v1beta1.Cluster buildPartial() { } else { result.meshCertificates_ = meshCertificatesBuilder_.build(); } + if (workloadAltsConfigBuilder_ == null) { + result.workloadAltsConfig_ = workloadAltsConfig_; + } else { + result.workloadAltsConfig_ = workloadAltsConfigBuilder_.build(); + } + if (costManagementConfigBuilder_ == null) { + result.costManagementConfig_ = costManagementConfig_; + } else { + result.costManagementConfig_ = costManagementConfigBuilder_.build(); + } if (clusterTelemetryBuilder_ == null) { result.clusterTelemetry_ = clusterTelemetry_; } else { @@ -6269,6 +6628,19 @@ public com.google.container.v1beta1.Cluster buildPartial() { } else { result.monitoringConfig_ = monitoringConfigBuilder_.build(); } + if (nodePoolAutoConfigBuilder_ == null) { + result.nodePoolAutoConfig_ = nodePoolAutoConfig_; + } else { + result.nodePoolAutoConfig_ = nodePoolAutoConfigBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + if (protectConfigBuilder_ == null) { + result.protectConfig_ = protectConfig_; + } else { + result.protectConfig_ = protectConfigBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -6468,6 +6840,12 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { if (other.hasMeshCertificates()) { mergeMeshCertificates(other.getMeshCertificates()); } + if (other.hasWorkloadAltsConfig()) { + mergeWorkloadAltsConfig(other.getWorkloadAltsConfig()); + } + if (other.hasCostManagementConfig()) { + mergeCostManagementConfig(other.getCostManagementConfig()); + } if (other.hasClusterTelemetry()) { mergeClusterTelemetry(other.getClusterTelemetry()); } @@ -6602,6 +6980,12 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { if (other.hasMonitoringConfig()) { mergeMonitoringConfig(other.getMonitoringConfig()); } + if (other.hasNodePoolAutoConfig()) { + mergeNodePoolAutoConfig(other.getNodePoolAutoConfig()); + } + if (other.hasProtectConfig()) { + mergeProtectConfig(other.getProtectConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -6889,7 +7273,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1426 + * google/container/v1beta1/cluster_service.proto;l=1550 * @return The initialNodeCount. */ @java.lang.Override @@ -6915,7 +7299,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1426 + * google/container/v1beta1/cluster_service.proto;l=1550 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -6944,7 +7328,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1426 + * google/container/v1beta1/cluster_service.proto;l=1550 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6980,7 +7364,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1439 + * google/container/v1beta1/cluster_service.proto;l=1563 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -7006,7 +7390,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1439 + * google/container/v1beta1/cluster_service.proto;l=1563 * @return The nodeConfig. */ @java.lang.Deprecated @@ -10997,7 +11381,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1561 + * google/container/v1beta1/cluster_service.proto;l=1685 * @return The privateCluster. */ @java.lang.Override @@ -11019,7 +11403,7 @@ public boolean getPrivateCluster() { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1561 + * google/container/v1beta1/cluster_service.proto;l=1685 * @param value The privateCluster to set. * @return This builder for chaining. */ @@ -11044,7 +11428,7 @@ public Builder setPrivateCluster(boolean value) { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1561 + * google/container/v1beta1/cluster_service.proto;l=1685 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11070,7 +11454,7 @@ public Builder clearPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -11099,7 +11483,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -11128,7 +11512,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -11156,7 +11540,7 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11180,7 +11564,7 @@ public Builder clearMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -13160,64 +13544,64 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate return meshCertificatesBuilder_; } - private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; + private com.google.container.v1beta1.WorkloadALTSConfig workloadAltsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder> - clusterTelemetryBuilder_; + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + workloadAltsConfigBuilder_; /** * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; * - * @return Whether the clusterTelemetry field is set. + * @return Whether the workloadAltsConfig field is set. */ - public boolean hasClusterTelemetry() { - return clusterTelemetryBuilder_ != null || clusterTelemetry_ != null; + public boolean hasWorkloadAltsConfig() { + return workloadAltsConfigBuilder_ != null || workloadAltsConfig_ != null; } /** * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; * - * @return The clusterTelemetry. + * @return The workloadAltsConfig. */ - public com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry() { - if (clusterTelemetryBuilder_ == null) { - return clusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : clusterTelemetry_; + public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { + if (workloadAltsConfigBuilder_ == null) { + return workloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : workloadAltsConfig_; } else { - return clusterTelemetryBuilder_.getMessage(); + return workloadAltsConfigBuilder_.getMessage(); } } /** * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public Builder setClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry value) { - if (clusterTelemetryBuilder_ == null) { + public Builder setWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSConfig value) { + if (workloadAltsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - clusterTelemetry_ = value; + workloadAltsConfig_ = value; onChanged(); } else { - clusterTelemetryBuilder_.setMessage(value); + workloadAltsConfigBuilder_.setMessage(value); } return this; @@ -13226,18 +13610,18 @@ public Builder setClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public Builder setClusterTelemetry( - com.google.container.v1beta1.ClusterTelemetry.Builder builderForValue) { - if (clusterTelemetryBuilder_ == null) { - clusterTelemetry_ = builderForValue.build(); + public Builder setWorkloadAltsConfig( + com.google.container.v1beta1.WorkloadALTSConfig.Builder builderForValue) { + if (workloadAltsConfigBuilder_ == null) { + workloadAltsConfig_ = builderForValue.build(); onChanged(); } else { - clusterTelemetryBuilder_.setMessage(builderForValue.build()); + workloadAltsConfigBuilder_.setMessage(builderForValue.build()); } return this; @@ -13246,24 +13630,24 @@ public Builder setClusterTelemetry( * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry value) { - if (clusterTelemetryBuilder_ == null) { - if (clusterTelemetry_ != null) { - clusterTelemetry_ = - com.google.container.v1beta1.ClusterTelemetry.newBuilder(clusterTelemetry_) + public Builder mergeWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSConfig value) { + if (workloadAltsConfigBuilder_ == null) { + if (workloadAltsConfig_ != null) { + workloadAltsConfig_ = + com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(workloadAltsConfig_) .mergeFrom(value) .buildPartial(); } else { - clusterTelemetry_ = value; + workloadAltsConfig_ = value; } onChanged(); } else { - clusterTelemetryBuilder_.mergeFrom(value); + workloadAltsConfigBuilder_.mergeFrom(value); } return this; @@ -13272,18 +13656,18 @@ public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemet * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public Builder clearClusterTelemetry() { - if (clusterTelemetryBuilder_ == null) { - clusterTelemetry_ = null; + public Builder clearWorkloadAltsConfig() { + if (workloadAltsConfigBuilder_ == null) { + workloadAltsConfig_ = null; onChanged(); } else { - clusterTelemetry_ = null; - clusterTelemetryBuilder_ = null; + workloadAltsConfig_ = null; + workloadAltsConfigBuilder_ = null; } return this; @@ -13292,28 +13676,405 @@ public Builder clearClusterTelemetry() { * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public com.google.container.v1beta1.ClusterTelemetry.Builder getClusterTelemetryBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsConfigBuilder() { onChanged(); - return getClusterTelemetryFieldBuilder().getBuilder(); + return getWorkloadAltsConfigFieldBuilder().getBuilder(); } /** * * *
-     * Telemetry integration for the cluster.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetryOrBuilder() { - if (clusterTelemetryBuilder_ != null) { - return clusterTelemetryBuilder_.getMessageOrBuilder(); + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder + getWorkloadAltsConfigOrBuilder() { + if (workloadAltsConfigBuilder_ != null) { + return workloadAltsConfigBuilder_.getMessageOrBuilder(); + } else { + return workloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : workloadAltsConfig_; + } + } + /** + * + * + *
+     * Configuration for direct-path (via ALTS) with workload identity.
+     * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + getWorkloadAltsConfigFieldBuilder() { + if (workloadAltsConfigBuilder_ == null) { + workloadAltsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( + getWorkloadAltsConfig(), getParentForChildren(), isClean()); + workloadAltsConfig_ = null; + } + return workloadAltsConfigBuilder_; + } + + private com.google.container.v1beta1.CostManagementConfig costManagementConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> + costManagementConfigBuilder_; + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * + * @return Whether the costManagementConfig field is set. + */ + public boolean hasCostManagementConfig() { + return costManagementConfigBuilder_ != null || costManagementConfig_ != null; + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * + * @return The costManagementConfig. + */ + public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig() { + if (costManagementConfigBuilder_ == null) { + return costManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; + } else { + return costManagementConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + public Builder setCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { + if (costManagementConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + costManagementConfig_ = value; + onChanged(); + } else { + costManagementConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + public Builder setCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig.Builder builderForValue) { + if (costManagementConfigBuilder_ == null) { + costManagementConfig_ = builderForValue.build(); + onChanged(); + } else { + costManagementConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + public Builder mergeCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { + if (costManagementConfigBuilder_ == null) { + if (costManagementConfig_ != null) { + costManagementConfig_ = + com.google.container.v1beta1.CostManagementConfig.newBuilder(costManagementConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + costManagementConfig_ = value; + } + onChanged(); + } else { + costManagementConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + public Builder clearCostManagementConfig() { + if (costManagementConfigBuilder_ == null) { + costManagementConfig_ = null; + onChanged(); + } else { + costManagementConfig_ = null; + costManagementConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + public com.google.container.v1beta1.CostManagementConfig.Builder + getCostManagementConfigBuilder() { + + onChanged(); + return getCostManagementConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getCostManagementConfigOrBuilder() { + if (costManagementConfigBuilder_ != null) { + return costManagementConfigBuilder_.getMessageOrBuilder(); + } else { + return costManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; + } + } + /** + * + * + *
+     * Configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> + getCostManagementConfigFieldBuilder() { + if (costManagementConfigBuilder_ == null) { + costManagementConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder>( + getCostManagementConfig(), getParentForChildren(), isClean()); + costManagementConfig_ = null; + } + return costManagementConfigBuilder_; + } + + private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder> + clusterTelemetryBuilder_; + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * + * @return Whether the clusterTelemetry field is set. + */ + public boolean hasClusterTelemetry() { + return clusterTelemetryBuilder_ != null || clusterTelemetry_ != null; + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * + * @return The clusterTelemetry. + */ + public com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry() { + if (clusterTelemetryBuilder_ == null) { + return clusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : clusterTelemetry_; + } else { + return clusterTelemetryBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + */ + public Builder setClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry value) { + if (clusterTelemetryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + clusterTelemetry_ = value; + onChanged(); + } else { + clusterTelemetryBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + */ + public Builder setClusterTelemetry( + com.google.container.v1beta1.ClusterTelemetry.Builder builderForValue) { + if (clusterTelemetryBuilder_ == null) { + clusterTelemetry_ = builderForValue.build(); + onChanged(); + } else { + clusterTelemetryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + */ + public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry value) { + if (clusterTelemetryBuilder_ == null) { + if (clusterTelemetry_ != null) { + clusterTelemetry_ = + com.google.container.v1beta1.ClusterTelemetry.newBuilder(clusterTelemetry_) + .mergeFrom(value) + .buildPartial(); + } else { + clusterTelemetry_ = value; + } + onChanged(); + } else { + clusterTelemetryBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + */ + public Builder clearClusterTelemetry() { + if (clusterTelemetryBuilder_ == null) { + clusterTelemetry_ = null; + onChanged(); + } else { + clusterTelemetry_ = null; + clusterTelemetryBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + */ + public com.google.container.v1beta1.ClusterTelemetry.Builder getClusterTelemetryBuilder() { + + onChanged(); + return getClusterTelemetryFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Telemetry integration for the cluster.
+     * 
+ * + * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + */ + public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetryOrBuilder() { + if (clusterTelemetryBuilder_ != null) { + return clusterTelemetryBuilder_.getMessageOrBuilder(); } else { return clusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() @@ -13728,7 +14489,8 @@ public com.google.container.v1beta1.NotificationConfig.Builder getNotificationCo * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13742,7 +14504,8 @@ public boolean hasConfidentialNodes() { * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13762,7 +14525,8 @@ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13784,7 +14548,8 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13804,7 +14569,8 @@ public Builder setConfidentialNodes( * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13830,7 +14596,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13850,7 +14617,8 @@ public Builder clearConfidentialNodes() { * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13864,7 +14632,8 @@ public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNod * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -13882,7 +14651,8 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo * * *
-     * Configuration of Confidential Nodes
+     * Configuration of Confidential Nodes.
+     * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -14213,7 +14983,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return The zone. */ @java.lang.Deprecated @@ -14240,7 +15010,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return The bytes for zone. */ @java.lang.Deprecated @@ -14267,7 +15037,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @param value The zone to set. * @return This builder for chaining. */ @@ -14293,7 +15063,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14315,7 +15085,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -14734,7 +15504,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -14763,7 +15533,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -14792,7 +15562,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -14820,7 +15590,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14844,7 +15614,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -15075,7 +15845,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return The statusMessage. */ @java.lang.Deprecated @@ -15102,7 +15872,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -15129,7 +15899,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -15155,7 +15925,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15177,7 +15947,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -15399,7 +16169,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -15416,7 +16186,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -15433,7 +16203,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -15451,7 +16221,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -15469,7 +16239,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -15494,7 +16264,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -15518,7 +16288,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -15539,7 +16309,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15559,7 +16329,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -15587,7 +16357,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1692 + * google/container/v1beta1/cluster_service.proto;l=1823 * @return The currentNodeCount. */ @java.lang.Override @@ -15606,7 +16376,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1692 + * google/container/v1beta1/cluster_service.proto;l=1823 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -15628,7 +16398,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1692 + * google/container/v1beta1/cluster_service.proto;l=1823 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17626,6 +18396,389 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi return monitoringConfigBuilder_; } + private com.google.container.v1beta1.NodePoolAutoConfig nodePoolAutoConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolAutoConfig, + com.google.container.v1beta1.NodePoolAutoConfig.Builder, + com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> + nodePoolAutoConfigBuilder_; + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return Whether the nodePoolAutoConfig field is set. + */ + public boolean hasNodePoolAutoConfig() { + return nodePoolAutoConfigBuilder_ != null || nodePoolAutoConfig_ != null; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return The nodePoolAutoConfig. + */ + public com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig() { + if (nodePoolAutoConfigBuilder_ == null) { + return nodePoolAutoConfig_ == null + ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; + } else { + return nodePoolAutoConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder setNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAutoConfig value) { + if (nodePoolAutoConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodePoolAutoConfig_ = value; + onChanged(); + } else { + nodePoolAutoConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder setNodePoolAutoConfig( + com.google.container.v1beta1.NodePoolAutoConfig.Builder builderForValue) { + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfig_ = builderForValue.build(); + onChanged(); + } else { + nodePoolAutoConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder mergeNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAutoConfig value) { + if (nodePoolAutoConfigBuilder_ == null) { + if (nodePoolAutoConfig_ != null) { + nodePoolAutoConfig_ = + com.google.container.v1beta1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + nodePoolAutoConfig_ = value; + } + onChanged(); + } else { + nodePoolAutoConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public Builder clearNodePoolAutoConfig() { + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfig_ = null; + onChanged(); + } else { + nodePoolAutoConfig_ = null; + nodePoolAutoConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoConfigBuilder() { + + onChanged(); + return getNodePoolAutoConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder + getNodePoolAutoConfigOrBuilder() { + if (nodePoolAutoConfigBuilder_ != null) { + return nodePoolAutoConfigBuilder_.getMessageOrBuilder(); + } else { + return nodePoolAutoConfig_ == null + ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; + } + } + /** + * + * + *
+     * Node pool configs that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolAutoConfig, + com.google.container.v1beta1.NodePoolAutoConfig.Builder, + com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> + getNodePoolAutoConfigFieldBuilder() { + if (nodePoolAutoConfigBuilder_ == null) { + nodePoolAutoConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolAutoConfig, + com.google.container.v1beta1.NodePoolAutoConfig.Builder, + com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>( + getNodePoolAutoConfig(), getParentForChildren(), isClean()); + nodePoolAutoConfig_ = null; + } + return nodePoolAutoConfigBuilder_; + } + + private com.google.container.v1beta1.ProtectConfig protectConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> + protectConfigBuilder_; + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * + * @return Whether the protectConfig field is set. + */ + public boolean hasProtectConfig() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * + * @return The protectConfig. + */ + public com.google.container.v1beta1.ProtectConfig getProtectConfig() { + if (protectConfigBuilder_ == null) { + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; + } else { + return protectConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + public Builder setProtectConfig(com.google.container.v1beta1.ProtectConfig value) { + if (protectConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + protectConfig_ = value; + onChanged(); + } else { + protectConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + public Builder setProtectConfig( + com.google.container.v1beta1.ProtectConfig.Builder builderForValue) { + if (protectConfigBuilder_ == null) { + protectConfig_ = builderForValue.build(); + onChanged(); + } else { + protectConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + public Builder mergeProtectConfig(com.google.container.v1beta1.ProtectConfig value) { + if (protectConfigBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && protectConfig_ != null + && protectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { + protectConfig_ = + com.google.container.v1beta1.ProtectConfig.newBuilder(protectConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + protectConfig_ = value; + } + onChanged(); + } else { + protectConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + public Builder clearProtectConfig() { + if (protectConfigBuilder_ == null) { + protectConfig_ = null; + onChanged(); + } else { + protectConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + public com.google.container.v1beta1.ProtectConfig.Builder getProtectConfigBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getProtectConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBuilder() { + if (protectConfigBuilder_ != null) { + return protectConfigBuilder_.getMessageOrBuilder(); + } else { + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; + } + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> + getProtectConfigFieldBuilder() { + if (protectConfigBuilder_ == null) { + protectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder>( + getProtectConfig(), getParentForChildren(), isClean()); + protectConfig_ = null; + } + return protectConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index 6731dc71bdbe..387c9b34ee5c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java @@ -101,7 +101,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1426 + * google/container/v1beta1/cluster_service.proto;l=1550 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1439 + * google/container/v1beta1/cluster_service.proto;l=1563 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1439 + * google/container/v1beta1/cluster_service.proto;l=1563 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ java.lang.String getResourceLabelsOrDefault( * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1561 + * google/container/v1beta1/cluster_service.proto;l=1685 * @return The privateCluster. */ @java.lang.Deprecated @@ -1044,7 +1044,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1568 + * google/container/v1beta1/cluster_service.proto;l=1692 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1445,6 +1445,76 @@ java.lang.String getResourceLabelsOrDefault( */ com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder(); + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * + * @return Whether the workloadAltsConfig field is set. + */ + boolean hasWorkloadAltsConfig(); + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * + * @return The workloadAltsConfig. + */ + com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig(); + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + */ + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsConfigOrBuilder(); + + /** + * + * + *
+   * Configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * + * @return Whether the costManagementConfig field is set. + */ + boolean hasCostManagementConfig(); + /** + * + * + *
+   * Configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * + * @return The costManagementConfig. + */ + com.google.container.v1beta1.CostManagementConfig getCostManagementConfig(); + /** + * + * + *
+   * Configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + */ + com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder(); + /** * * @@ -1554,7 +1624,8 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -1566,7 +1637,8 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -1578,7 +1650,8 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * Configuration of Confidential Nodes
+   * Configuration of Confidential Nodes.
+   * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; @@ -1657,7 +1730,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return The zone. */ @java.lang.Deprecated @@ -1674,7 +1747,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1627 + * google/container/v1beta1/cluster_service.proto;l=1758 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1797,7 +1870,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1816,7 +1889,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1660 + * google/container/v1beta1/cluster_service.proto;l=1791 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1886,7 +1959,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return The statusMessage. */ @java.lang.Deprecated @@ -1903,7 +1976,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1672 + * google/container/v1beta1/cluster_service.proto;l=1803 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -1968,7 +2041,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -1983,7 +2056,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -1998,7 +2071,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2014,7 +2087,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1688 + * google/container/v1beta1/cluster_service.proto;l=1819 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2032,7 +2105,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1692 + * google/container/v1beta1/cluster_service.proto;l=1823 * @return The currentNodeCount. */ @java.lang.Deprecated @@ -2430,4 +2503,77 @@ java.lang.String getResourceLabelsOrDefault( * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; */ com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); + + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return Whether the nodePoolAutoConfig field is set. + */ + boolean hasNodePoolAutoConfig(); + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * + * @return The nodePoolAutoConfig. + */ + com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig(); + /** + * + * + *
+   * Node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + */ + com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder(); + + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * + * @return Whether the protectConfig field is set. + */ + boolean hasProtectConfig(); + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * + * @return The protectConfig. + */ + com.google.container.v1beta1.ProtectConfig getProtectConfig(); + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + */ + com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java index e87ad1751875..56c6ba040c31 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java @@ -59,6 +59,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -211,6 +215,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ProtectConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -219,6 +231,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_ClusterUpdate_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -351,6 +367,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_NodePool_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -359,6 +383,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -407,6 +439,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -455,6 +491,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -539,6 +579,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -595,6 +639,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_ReleaseChannel_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_container_v1beta1_TpuConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -668,493 +716,569 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ce.proto\022\030google.container.v1beta1\032\034goog" + "le/api/annotations.proto\032\027google/api/cli" + "ent.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\033google/pr" - + "otobuf/empty.proto\032\037google/protobuf/time" - + "stamp.proto\032\036google/protobuf/wrappers.pr" - + "oto\032\025google/rpc/code.proto\032\027google/rpc/s" - + "tatus.proto\032\026google/type/date.proto\"\212\001\n\017" - + "LinuxNodeConfig\022G\n\007sysctls\030\001 \003(\01326.googl" - + "e.container.v1beta1.LinuxNodeConfig.Sysc" - + "tlsEntry\032.\n\014SysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\200\001\n\021NodeKubeletConfig\022\032" - + "\n\022cpu_manager_policy\030\001 \001(\t\0221\n\rcpu_cfs_qu" - + "ota\030\002 \001(\0132\032.google.protobuf.BoolValue\022\034\n" - + "\024cpu_cfs_quota_period\030\003 \001(\t\"\334\n\n\nNodeConf" - + "ig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014disk_size_gb" - + "\030\002 \001(\005\022\024\n\014oauth_scopes\030\003 \003(\t\022\027\n\017service_" - + "account\030\t \001(\t\022D\n\010metadata\030\004 \003(\01322.google" - + ".container.v1beta1.NodeConfig.MetadataEn" - + "try\022\022\n\nimage_type\030\005 \001(\t\022@\n\006labels\030\006 \003(\0132" - + "0.google.container.v1beta1.NodeConfig.La" - + "belsEntry\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004ta" - + "gs\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022A\n\014acceler" - + "ators\030\013 \003(\0132+.google.container.v1beta1.A" - + "cceleratorConfig\022?\n\016sandbox_config\030\021 \001(\013" - + "2\'.google.container.v1beta1.SandboxConfi" - + "g\022\022\n\nnode_group\030\022 \001(\t\022K\n\024reservation_aff" - + "inity\030\023 \001(\0132-.google.container.v1beta1.R" - + "eservationAffinity\022\021\n\tdisk_type\030\014 \001(\t\022\030\n" - + "\020min_cpu_platform\030\r \001(\t\022R\n\030workload_meta" - + "data_config\030\016 \001(\01320.google.container.v1b" - + "eta1.WorkloadMetadataConfig\0223\n\006taints\030\017 " - + "\003(\0132#.google.container.v1beta1.NodeTaint" - + "\022\031\n\021boot_disk_kms_key\030\027 \001(\t\022R\n\030shielded_" - + "instance_config\030\024 \001(\01320.google.container" - + ".v1beta1.ShieldedInstanceConfig\022D\n\021linux" - + "_node_config\030\025 \001(\0132).google.container.v1" - + "beta1.LinuxNodeConfig\022C\n\016kubelet_config\030" - + "\026 \001(\0132+.google.container.v1beta1.NodeKub" - + "eletConfig\022R\n\030ephemeral_storage_config\030\030" - + " \001(\01320.google.container.v1beta1.Ephemera" - + "lStorageConfig\0229\n\013gcfs_config\030\031 \001(\0132$.go" - + "ogle.container.v1beta1.GcfsConfig\022T\n\031adv" - + "anced_machine_features\030\032 \001(\01321.google.co" - + "ntainer.v1beta1.AdvancedMachineFeatures\022" - + "3\n\005gvnic\030\035 \001(\0132$.google.container.v1beta" - + "1.VirtualNIC\022\014\n\004spot\030 \001(\010\032/\n\rMetadataEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013L" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"M\n\027AdvancedMachineFeatures\022\035\n\020threads" - + "_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_per_cor" - + "e\"b\n\021NodeNetworkConfig\022\035\n\020create_pod_ran" - + "ge\030\004 \001(\010B\003\340A\004\022\021\n\tpod_range\030\005 \001(\t\022\033\n\023pod_" - + "ipv4_cidr_block\030\006 \001(\t\"Y\n\026ShieldedInstanc" - + "eConfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n\033e" - + "nable_integrity_monitoring\030\002 \001(\010\"\212\001\n\rSan" - + "dboxConfig\022\030\n\014sandbox_type\030\001 \001(\tB\002\030\001\022:\n\004" - + "type\030\002 \001(\0162,.google.container.v1beta1.Sa" - + "ndboxConfig.Type\"#\n\004Type\022\017\n\013UNSPECIFIED\020" - + "\000\022\n\n\006GVISOR\020\001\"1\n\026EphemeralStorageConfig\022" - + "\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nGcfsConfig\022\017" - + "\n\007enabled\030\001 \001(\010\"\344\001\n\023ReservationAffinity\022" - + "T\n\030consume_reservation_type\030\001 \001(\01622.goog" - + "le.container.v1beta1.ReservationAffinity" - + ".Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004Ty" - + "pe\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020\001\022" - + "\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RESERVA" - + "TION\020\003\"\276\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.google.contai" - + "ner.v1beta1.NodeTaint.Effect\"Y\n\006Effect\022\026" - + "\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022" - + "\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"" - + "A\n\nNodeTaints\0223\n\006taints\030\001 \003(\0132#.google.c" - + "ontainer.v1beta1.NodeTaint\"}\n\nNodeLabels" - + "\022@\n\006labels\030\001 \003(\01320.google.container.v1be" - + "ta1.NodeLabels.LabelsEntry\032-\n\013LabelsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\033\n\013Net" - + "workTags\022\014\n\004tags\030\001 \003(\t\"\336\001\n\nMasterAuth\022\024\n" - + "\010username\030\001 \001(\tB\002\030\001\022\024\n\010password\030\002 \001(\tB\002\030" - + "\001\022T\n\031client_certificate_config\030\003 \001(\01321.g" - + "oogle.container.v1beta1.ClientCertificat" - + "eConfig\022\036\n\026cluster_ca_certificate\030d \001(\t\022" - + "\032\n\022client_certificate\030e \001(\t\022\022\n\nclient_ke" - + "y\030f \001(\t\";\n\027ClientCertificateConfig\022 \n\030is" - + "sue_client_certificate\030\001 \001(\010\"\305\007\n\014AddonsC" - + "onfig\022H\n\023http_load_balancing\030\001 \001(\0132+.goo" - + "gle.container.v1beta1.HttpLoadBalancing\022" - + "V\n\032horizontal_pod_autoscaling\030\002 \001(\01322.go" - + "ogle.container.v1beta1.HorizontalPodAuto" - + "scaling\022O\n\024kubernetes_dashboard\030\003 \001(\0132-." - + "google.container.v1beta1.KubernetesDashb" - + "oardB\002\030\001\022L\n\025network_policy_config\030\004 \001(\0132" - + "-.google.container.v1beta1.NetworkPolicy" - + "Config\022?\n\014istio_config\030\005 \001(\0132%.google.co" - + "ntainer.v1beta1.IstioConfigB\002\030\001\022B\n\020cloud" - + "_run_config\030\007 \001(\0132(.google.container.v1b" - + "eta1.CloudRunConfig\022B\n\020dns_cache_config\030" - + "\010 \001(\0132(.google.container.v1beta1.DnsCach" - + "eConfig\022P\n\027config_connector_config\030\n \001(\013" - + "2/.google.container.v1beta1.ConfigConnec" - + "torConfig\022i\n%gce_persistent_disk_csi_dri" - + "ver_config\030\013 \001(\0132:.google.container.v1be" - + "ta1.GcePersistentDiskCsiDriverConfig\022=\n\013" - + "kalm_config\030\014 \001(\0132$.google.container.v1b" - + "eta1.KalmConfigB\002\030\001\022^\n\037gcp_filestore_csi" - + "_driver_config\030\016 \001(\01325.google.container." - + "v1beta1.GcpFilestoreCsiDriverConfig\022O\n\027g" - + "ke_backup_agent_config\030\020 \001(\0132..google.co" - + "ntainer.v1beta1.GkeBackupAgentConfig\"%\n\021" - + "HttpLoadBalancing\022\020\n\010disabled\030\001 \001(\010\",\n\030H" - + "orizontalPodAutoscaling\022\020\n\010disabled\030\001 \001(" - + "\010\"\'\n\023KubernetesDashboard\022\020\n\010disabled\030\001 \001" - + "(\010\"\'\n\023NetworkPolicyConfig\022\020\n\010disabled\030\001 " - + "\001(\010\"!\n\016DnsCacheConfig\022\017\n\007enabled\030\001 \001(\010\"!" - + "\n\nKalmConfig\022\023\n\007enabled\030\001 \001(\010B\002\030\001\"\'\n\024Gke" - + "BackupAgentConfig\022\017\n\007enabled\030\001 \001(\010\"(\n\025Co" - + "nfigConnectorConfig\022\017\n\007enabled\030\001 \001(\010\"3\n " - + "GcePersistentDiskCsiDriverConfig\022\017\n\007enab" - + "led\030\001 \001(\010\".\n\033GcpFilestoreCsiDriverConfig" - + "\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClusterMaste" - + "rGlobalAccessConfig\022\017\n\007enabled\030\001 \001(\010\"\245\002\n" - + "\024PrivateClusterConfig\022\034\n\024enable_private_" - + "nodes\030\001 \001(\010\022\037\n\027enable_private_endpoint\030\002" - + " \001(\010\022\036\n\026master_ipv4_cidr_block\030\003 \001(\t\022\030\n\020" - + "private_endpoint\030\004 \001(\t\022\027\n\017public_endpoin" - + "t\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022e\n\033master_" - + "global_access_config\030\010 \001(\0132@.google.cont" - + "ainer.v1beta1.PrivateClusterMasterGlobal" - + "AccessConfig\"\237\001\n\013IstioConfig\022\024\n\010disabled" - + "\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\01623.google.contai" - + "ner.v1beta1.IstioConfig.IstioAuthModeB\002\030" - + "\001\"3\n\rIstioAuthMode\022\r\n\tAUTH_NONE\020\000\022\023\n\017AUT" - + "H_MUTUAL_TLS\020\001\"\363\001\n\016CloudRunConfig\022\020\n\010dis" - + "abled\030\001 \001(\010\022U\n\022load_balancer_type\030\003 \001(\0162" - + "9.google.container.v1beta1.CloudRunConfi" - + "g.LoadBalancerType\"x\n\020LoadBalancerType\022\"" - + "\n\036LOAD_BALANCER_TYPE_UNSPECIFIED\020\000\022\037\n\033LO" - + "AD_BALANCER_TYPE_EXTERNAL\020\001\022\037\n\033LOAD_BALA" - + "NCER_TYPE_INTERNAL\020\002\"\301\001\n\036MasterAuthorize" - + "dNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022W\n\013cidr" - + "_blocks\030\002 \003(\0132B.google.container.v1beta1" - + ".MasterAuthorizedNetworksConfig.CidrBloc" - + "k\0325\n\tCidrBlock\022\024\n\014display_name\030\001 \001(\t\022\022\n\n" - + "cidr_block\030\002 \001(\t\"\035\n\nLegacyAbac\022\017\n\007enable" - + "d\030\001 \001(\010\"\226\001\n\rNetworkPolicy\022B\n\010provider\030\001 " - + "\001(\01620.google.container.v1beta1.NetworkPo" - + "licy.Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provid" - + "er\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001" - + "\"\267\003\n\022IPAllocationPolicy\022\026\n\016use_ip_aliase" - + "s\030\001 \001(\010\022\031\n\021create_subnetwork\030\002 \001(\010\022\027\n\017su" - + "bnetwork_name\030\003 \001(\t\022\035\n\021cluster_ipv4_cidr" - + "\030\004 \001(\tB\002\030\001\022\032\n\016node_ipv4_cidr\030\005 \001(\tB\002\030\001\022\036" - + "\n\022services_ipv4_cidr\030\006 \001(\tB\002\030\001\022$\n\034cluste" - + "r_secondary_range_name\030\007 \001(\t\022%\n\035services" - + "_secondary_range_name\030\010 \001(\t\022\037\n\027cluster_i" - + "pv4_cidr_block\030\t \001(\t\022\034\n\024node_ipv4_cidr_b" - + "lock\030\n \001(\t\022 \n\030services_ipv4_cidr_block\030\013" - + " \001(\t\022\033\n\023allow_route_overlap\030\014 \001(\010\022\033\n\023tpu" - + "_ipv4_cidr_block\030\r \001(\t\022\022\n\nuse_routes\030\017 \001" - + "(\010\"&\n\023BinaryAuthorization\022\017\n\007enabled\030\001 \001" - + "(\010\"*\n\027PodSecurityPolicyConfig\022\017\n\007enabled" - + "\030\001 \001(\010\"D\n\031AuthenticatorGroupsConfig\022\017\n\007e" - + "nabled\030\001 \001(\010\022\026\n\016security_group\030\002 \001(\t\"\226\001\n" - + "\020ClusterTelemetry\022=\n\004type\030\001 \001(\0162/.google" - + ".container.v1beta1.ClusterTelemetry.Type" - + "\"C\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022" - + "\013\n\007ENABLED\020\002\022\017\n\013SYSTEM_ONLY\020\003\"\254\034\n\007Cluste" - + "r\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022" - + "initial_node_count\030\003 \001(\005B\002\030\001\022=\n\013node_con" - + "fig\030\004 \001(\0132$.google.container.v1beta1.Nod" - + "eConfigB\002\030\001\0229\n\013master_auth\030\005 \001(\0132$.googl" - + "e.container.v1beta1.MasterAuth\022\027\n\017loggin" - + "g_service\030\006 \001(\t\022\032\n\022monitoring_service\030\007 " - + "\001(\t\022\017\n\007network\030\010 \001(\t\022\031\n\021cluster_ipv4_cid" - + "r\030\t \001(\t\022=\n\raddons_config\030\n \001(\0132&.google." - + "container.v1beta1.AddonsConfig\022\022\n\nsubnet" - + "work\030\013 \001(\t\0226\n\nnode_pools\030\014 \003(\0132\".google." - + "container.v1beta1.NodePool\022\021\n\tlocations\030" - + "\r \003(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022N" - + "\n\017resource_labels\030\017 \003(\01325.google.contain" - + "er.v1beta1.Cluster.ResourceLabelsEntry\022\031" - + "\n\021label_fingerprint\030\020 \001(\t\0229\n\013legacy_abac" - + "\030\022 \001(\0132$.google.container.v1beta1.Legacy" - + "Abac\022?\n\016network_policy\030\023 \001(\0132\'.google.co" - + "ntainer.v1beta1.NetworkPolicy\022J\n\024ip_allo" - + "cation_policy\030\024 \001(\0132,.google.container.v" - + "1beta1.IPAllocationPolicy\022c\n!master_auth" - + "orized_networks_config\030\026 \001(\01328.google.co" - + "ntainer.v1beta1.MasterAuthorizedNetworks" - + "Config\022G\n\022maintenance_policy\030\027 \001(\0132+.goo" - + "gle.container.v1beta1.MaintenancePolicy\022" - + "K\n\024binary_authorization\030\030 \001(\0132-.google.c" - + "ontainer.v1beta1.BinaryAuthorization\022U\n\032" - + "pod_security_policy_config\030\031 \001(\01321.googl" - + "e.container.v1beta1.PodSecurityPolicyCon" - + "fig\022A\n\013autoscaling\030\032 \001(\0132,.google.contai" - + "ner.v1beta1.ClusterAutoscaling\022?\n\016networ" - + "k_config\030\033 \001(\0132\'.google.container.v1beta" - + "1.NetworkConfig\022\033\n\017private_cluster\030\034 \001(\010" - + "B\002\030\001\022\"\n\026master_ipv4_cidr_block\030\035 \001(\tB\002\030\001" - + "\022P\n\033default_max_pods_constraint\030\036 \001(\0132+." - + "google.container.v1beta1.MaxPodsConstrai" - + "nt\022Y\n\034resource_usage_export_config\030! \001(\013" - + "23.google.container.v1beta1.ResourceUsag" - + "eExportConfig\022X\n\033authenticator_groups_co" - + "nfig\030\" \001(\01323.google.container.v1beta1.Au" - + "thenticatorGroupsConfig\022N\n\026private_clust" - + "er_config\030% \001(\0132..google.container.v1bet" - + "a1.PrivateClusterConfig\022R\n\030vertical_pod_" - + "autoscaling\030\' \001(\01320.google.container.v1b" - + "eta1.VerticalPodAutoscaling\022?\n\016shielded_" - + "nodes\030( \001(\0132\'.google.container.v1beta1.S" - + "hieldedNodes\022A\n\017release_channel\030) \001(\0132(." - + "google.container.v1beta1.ReleaseChannel\022" - + "R\n\030workload_identity_config\030+ \001(\01320.goog" - + "le.container.v1beta1.WorkloadIdentityCon" - + "fig\022M\n\025workload_certificates\0304 \001(\0132..goo" - + "gle.container.v1beta1.WorkloadCertificat" - + "es\022E\n\021mesh_certificates\030C \001(\0132*.google.c" - + "ontainer.v1beta1.MeshCertificates\022E\n\021clu" - + "ster_telemetry\030. \001(\0132*.google.container." - + "v1beta1.ClusterTelemetry\0227\n\ntpu_config\030/" - + " \001(\0132#.google.container.v1beta1.TpuConfi" - + "g\022I\n\023notification_config\0301 \001(\0132,.google." - + "container.v1beta1.NotificationConfig\022G\n\022" - + "confidential_nodes\0302 \001(\0132+.google.contai" - + "ner.v1beta1.ConfidentialNodes\022P\n\027identit" - + "y_service_config\0306 \001(\0132/.google.containe" - + "r.v1beta1.IdentityServiceConfig\022\021\n\tself_" - + "link\030d \001(\t\022\020\n\004zone\030e \001(\tB\002\030\001\022\020\n\010endpoint" - + "\030f \001(\t\022\037\n\027initial_cluster_version\030g \001(\t\022" - + "\036\n\026current_master_version\030h \001(\t\022 \n\024curre" - + "nt_node_version\030i \001(\tB\002\030\001\022\023\n\013create_time" - + "\030j \001(\t\0228\n\006status\030k \001(\0162(.google.containe" - + "r.v1beta1.Cluster.Status\022\032\n\016status_messa" - + "ge\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(" - + "\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022\037\n\023instanc" - + "e_group_urls\030o \003(\tB\002\030\001\022\036\n\022current_node_c" - + "ount\030p \001(\005B\002\030\001\022\023\n\013expire_time\030q \001(\t\022\020\n\010l" - + "ocation\030r \001(\t\022\022\n\nenable_tpu\030s \001(\010\022\033\n\023tpu" - + "_ipv4_cidr_block\030t \001(\t\022I\n\023database_encry" - + "ption\030& \001(\0132,.google.container.v1beta1.D" - + "atabaseEncryption\022=\n\nconditions\030v \003(\0132)." - + "google.container.v1beta1.StatusCondition" - + "\0220\n\006master\030| \001(\0132 .google.container.v1be" - + "ta1.Master\0227\n\tautopilot\030\200\001 \001(\0132#.google." - + "container.v1beta1.Autopilot\022\020\n\002id\030\201\001 \001(\t" - + "B\003\340A\003\022L\n\022node_pool_defaults\030\203\001 \001(\0132*.goo" - + "gle.container.v1beta1.NodePoolDefaultsH\000" - + "\210\001\001\022@\n\016logging_config\030\204\001 \001(\0132\'.google.co" - + "ntainer.v1beta1.LoggingConfig\022F\n\021monitor" - + "ing_config\030\205\001 \001(\0132*.google.container.v1b" - + "eta1.MonitoringConfig\0325\n\023ResourceLabelsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"w\n\006" - + "Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVIS" - + "IONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014" - + "\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006B\025\n" - + "\023_node_pool_defaults\"^\n\020NodePoolDefaults" - + "\022J\n\024node_config_defaults\030\001 \001(\0132,.google." - + "container.v1beta1.NodeConfigDefaults\"O\n\022" - + "NodeConfigDefaults\0229\n\013gcfs_config\030\001 \001(\0132" - + "$.google.container.v1beta1.GcfsConfig\"\211\026" - + "\n\rClusterUpdate\022\034\n\024desired_node_version\030" - + "\004 \001(\t\022\"\n\032desired_monitoring_service\030\005 \001(" - + "\t\022E\n\025desired_addons_config\030\006 \001(\0132&.googl" - + "e.container.v1beta1.AddonsConfig\022\034\n\024desi" - + "red_node_pool_id\030\007 \001(\t\022\032\n\022desired_image_" - + "type\030\010 \001(\t\022T\n\035desired_node_pool_autoscal" - + "ing\030\t \001(\0132-.google.container.v1beta1.Nod" - + "ePoolAutoscaling\022\031\n\021desired_locations\030\n " - + "\003(\t\022k\n)desired_master_authorized_network" - + "s_config\030\014 \001(\01328.google.container.v1beta" - + "1.MasterAuthorizedNetworksConfig\022]\n\"desi" - + "red_pod_security_policy_config\030\016 \001(\01321.g" - + "oogle.container.v1beta1.PodSecurityPolic" - + "yConfig\022Q\n\033desired_cluster_autoscaling\030\017" - + " \001(\0132,.google.container.v1beta1.ClusterA" - + "utoscaling\022S\n\034desired_binary_authorizati" - + "on\030\020 \001(\0132-.google.container.v1beta1.Bina" - + "ryAuthorization\022\037\n\027desired_logging_servi" - + "ce\030\023 \001(\t\022a\n$desired_resource_usage_expor" - + "t_config\030\025 \001(\01323.google.container.v1beta" - + "1.ResourceUsageExportConfig\022Z\n desired_v" - + "ertical_pod_autoscaling\030\026 \001(\01320.google.c" - + "ontainer.v1beta1.VerticalPodAutoscaling\022" - + "V\n\036desired_private_cluster_config\030\031 \001(\0132" - + "..google.container.v1beta1.PrivateCluste" - + "rConfig\022a\n$desired_intra_node_visibility" - + "_config\030\032 \001(\01323.google.container.v1beta1" - + ".IntraNodeVisibilityConfig\022P\n\033desired_de" - + "fault_snat_status\030\034 \001(\0132+.google.contain" - + "er.v1beta1.DefaultSnatStatus\022M\n\031desired_" - + "cluster_telemetry\030\036 \001(\0132*.google.contain" - + "er.v1beta1.ClusterTelemetry\022I\n\027desired_r" - + "elease_channel\030\037 \001(\0132(.google.container." - + "v1beta1.ReleaseChannel\022?\n\022desired_tpu_co" - + "nfig\030& \001(\0132#.google.container.v1beta1.Tp" - + "uConfig\022V\n\037desired_l4ilb_subsetting_conf" - + "ig\030\' \001(\0132-.google.container.v1beta1.ILBS" - + "ubsettingConfig\022M\n\031desired_datapath_prov" - + "ider\0302 \001(\0162*.google.container.v1beta1.Da" - + "tapathProvider\022]\n\"desired_private_ipv6_g" - + "oogle_access\0303 \001(\01621.google.container.v1" - + "beta1.PrivateIPv6GoogleAccess\022Q\n\033desired" - + "_notification_config\0307 \001(\0132,.google.cont" - + "ainer.v1beta1.NotificationConfig\022\036\n\026desi" - + "red_master_version\030d \001(\t\022A\n\023desired_gcfs" - + "_config\030m \001(\0132$.google.container.v1beta1" - + ".GcfsConfig\022Q\n\033desired_database_encrypti" - + "on\030. \001(\0132,.google.container.v1beta1.Data" - + "baseEncryption\022Z\n desired_workload_ident" - + "ity_config\030/ \001(\01320.google.container.v1be" - + "ta1.WorkloadIdentityConfig\022U\n\035desired_wo" - + "rkload_certificates\030= \001(\0132..google.conta" - + "iner.v1beta1.WorkloadCertificates\022M\n\031des" - + "ired_mesh_certificates\030C \001(\0132*.google.co" - + "ntainer.v1beta1.MeshCertificates\022G\n\026desi" - + "red_shielded_nodes\0300 \001(\0132\'.google.contai" - + "ner.v1beta1.ShieldedNodes\0228\n\016desired_mas" - + "ter\0304 \001(\0132 .google.container.v1beta1.Mas" - + "ter\022?\n\022desired_dns_config\0305 \001(\0132#.google" - + ".container.v1beta1.DNSConfig\022_\n#desired_" - + "service_external_ips_config\030< \001(\01322.goog" - + "le.container.v1beta1.ServiceExternalIPsC" - + "onfig\022`\n#desired_authenticator_groups_co" - + "nfig\030? \001(\01323.google.container.v1beta1.Au" - + "thenticatorGroupsConfig\022G\n\026desired_loggi" - + "ng_config\030@ \001(\0132\'.google.container.v1bet" - + "a1.LoggingConfig\022M\n\031desired_monitoring_c" - + "onfig\030A \001(\0132*.google.container.v1beta1.M" - + "onitoringConfig\022X\n\037desired_identity_serv" - + "ice_config\030B \001(\0132/.google.container.v1be" - + "ta1.IdentityServiceConfig\"\212\010\n\tOperation\022" - + "\014\n\004name\030\001 \001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022@\n\016opera" - + "tion_type\030\003 \001(\0162(.google.container.v1bet" - + "a1.Operation.Type\022:\n\006status\030\004 \001(\0162*.goog" - + "le.container.v1beta1.Operation.Status\022\016\n" - + "\006detail\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\tB\005\030" - + "\001\340A\003\022\021\n\tself_link\030\006 \001(\t\022\023\n\013target_link\030\007" - + " \001(\t\022\020\n\010location\030\t \001(\t\022\022\n\nstart_time\030\n \001" - + "(\t\022\020\n\010end_time\030\013 \001(\t\022B\n\010progress\030\014 \001(\0132+" - + ".google.container.v1beta1.OperationProgr" - + "essB\003\340A\003\022I\n\022cluster_conditions\030\r \003(\0132).g" - + "oogle.container.v1beta1.StatusConditionB" - + "\002\030\001\022J\n\023nodepool_conditions\030\016 \003(\0132).googl" - + "e.container.v1beta1.StatusConditionB\002\030\001\022" - + "!\n\005error\030\017 \001(\0132\022.google.rpc.Status\"R\n\006St" - + "atus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007PENDING\020" - + "\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375" - + "\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREATE_" - + "CLUSTER\020\001\022\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPGRADE" - + "_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPAIR_C" - + "LUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREATE_N" - + "ODE_POOL\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_" - + "NODE_POOL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NO" - + "DES\020\n\022\026\n\022AUTO_UPGRADE_NODES\020\013\022\016\n\nSET_LAB" - + "ELS\020\014\022\023\n\017SET_MASTER_AUTH\020\r\022\026\n\022SET_NODE_P" - + "OOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SE" - + "T_MAINTENANCE_POLICY\020\020\"\312\002\n\021OperationProg" - + "ress\022\014\n\004name\030\001 \001(\t\022:\n\006status\030\002 \001(\0162*.goo" - + "gle.container.v1beta1.Operation.Status\022C" - + "\n\007metrics\030\003 \003(\01322.google.container.v1bet" - + "a1.OperationProgress.Metric\022;\n\006stages\030\004 " - + "\003(\0132+.google.container.v1beta1.Operation" - + "Progress\032i\n\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n" - + "\tint_value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001" - + "H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005value\"\217\001\n\024" - + "CreateClusterRequest\022\031\n\nproject_id\030\001 \001(\t" - + "B\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\0227\n\007cluster\030" - + "\003 \001(\0132!.google.container.v1beta1.Cluster" - + "B\003\340A\002\022\016\n\006parent\030\005 \001(\t\"l\n\021GetClusterReque" - + "st\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 " - + "\001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n" - + "\004name\030\005 \001(\t\"\255\001\n\024UpdateClusterRequest\022\031\n\n" - + "project_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030" - + "\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022<\n\006updat" - + "e\030\004 \001(\0132\'.google.container.v1beta1.Clust" - + "erUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\222\006\n\025UpdateNo" - + "dePoolRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002" - + "\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(" - + "\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\031\n" - + "\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\nimage_type\030\006" - + " \001(\tB\003\340A\002\022\021\n\tlocations\030\r \003(\t\022R\n\030workload" - + "_metadata_config\030\016 \001(\01320.google.containe" - + "r.v1beta1.WorkloadMetadataConfig\022\014\n\004name" - + "\030\010 \001(\t\022L\n\020upgrade_settings\030\017 \001(\01322.googl" - + "e.container.v1beta1.NodePool.UpgradeSett" - + "ings\0223\n\004tags\030\020 \001(\0132%.google.container.v1" - + "beta1.NetworkTags\0224\n\006taints\030\021 \001(\0132$.goog" - + "le.container.v1beta1.NodeTaints\0224\n\006label" - + "s\030\022 \001(\0132$.google.container.v1beta1.NodeL" - + "abels\022D\n\021linux_node_config\030\023 \001(\0132).googl" + + "to\032\031google/api/resource.proto\032\036google/pr" + + "otobuf/duration.proto\032\033google/protobuf/e" + + "mpty.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\036google/protobuf/wrappers.proto\032\025goo" + + "gle/rpc/code.proto\032\027google/rpc/status.pr" + + "oto\032\026google/type/date.proto\"\250\002\n\017LinuxNod" + + "eConfig\022G\n\007sysctls\030\001 \003(\01326.google.contai" + + "ner.v1beta1.LinuxNodeConfig.SysctlsEntry" + + "\022I\n\013cgroup_mode\030\002 \001(\01624.google.container" + + ".v1beta1.LinuxNodeConfig.CgroupMode\032.\n\014S" + + "ysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECI" + + "FIED\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MOD" + + "E_V2\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_mana" + + "ger_policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132" + + "\032.google.protobuf.BoolValue\022\034\n\024cpu_cfs_q" + + "uota_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(" + + "\003\"\245\013\n\nNodeConfig\022\024\n\014machine_type\030\001 \001(\t\022\024" + + "\n\014disk_size_gb\030\002 \001(\005\022\024\n\014oauth_scopes\030\003 \003" + + "(\t\022\027\n\017service_account\030\t \001(\t\022D\n\010metadata\030" + + "\004 \003(\01322.google.container.v1beta1.NodeCon" + + "fig.MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022@\n" + + "\006labels\030\006 \003(\01320.google.container.v1beta1" + + ".NodeConfig.LabelsEntry\022\027\n\017local_ssd_cou" + + "nt\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n " + + "\001(\010\022A\n\014accelerators\030\013 \003(\0132+.google.conta" + + "iner.v1beta1.AcceleratorConfig\022?\n\016sandbo" + + "x_config\030\021 \001(\0132\'.google.container.v1beta" + + "1.SandboxConfig\022\022\n\nnode_group\030\022 \001(\t\022K\n\024r" + + "eservation_affinity\030\023 \001(\0132-.google.conta" + + "iner.v1beta1.ReservationAffinity\022\021\n\tdisk" + + "_type\030\014 \001(\t\022\030\n\020min_cpu_platform\030\r \001(\t\022R\n" + + "\030workload_metadata_config\030\016 \001(\01320.google" + + ".container.v1beta1.WorkloadMetadataConfi" + + "g\0223\n\006taints\030\017 \003(\0132#.google.container.v1b" + + "eta1.NodeTaint\022\031\n\021boot_disk_kms_key\030\027 \001(" + + "\t\022R\n\030shielded_instance_config\030\024 \001(\01320.go" + + "ogle.container.v1beta1.ShieldedInstanceC" + + "onfig\022D\n\021linux_node_config\030\025 \001(\0132).googl" + "e.container.v1beta1.LinuxNodeConfig\022C\n\016k" - + "ubelet_config\030\024 \001(\0132+.google.container.v" - + "1beta1.NodeKubeletConfig\0229\n\013gcfs_config\030" - + "\026 \001(\0132$.google.container.v1beta1.GcfsCon" - + "fig\0223\n\005gvnic\030\035 \001(\0132$.google.container.v1" - + "beta1.VirtualNIC\"\336\001\n\035SetNodePoolAutoscal" - + "ingRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n", - "\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005" - + "\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022G\n\013au" - + "toscaling\030\005 \001(\0132-.google.container.v1bet" - + "a1.NodePoolAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(" - + "\t\"\221\001\n\030SetLoggingServiceRequest\022\031\n\nprojec" - + "t_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031" - + "\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\034\n\017logging_ser" - + "vice\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\227\001\n\033SetMon" - + "itoringServiceRequest\022\031\n\nproject_id\030\001 \001(" - + "\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster" - + "_id\030\003 \001(\tB\005\030\001\340A\002\022\037\n\022monitoring_service\030\004" - + " \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\265\001\n\026SetAddonsCon" - + "figRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n" - + "\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005" - + "\030\001\340A\002\022B\n\raddons_config\030\004 \001(\0132&.google.co" - + "ntainer.v1beta1.AddonsConfigB\003\340A\002\022\014\n\004nam" - + "e\030\006 \001(\t\"\206\001\n\023SetLocationsRequest\022\031\n\nproje" - + "ct_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022" - + "\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\026\n\tlocations\030" - + "\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\213\001\n\023UpdateMaste" - + "rRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004z" + + "ubelet_config\030\026 \001(\0132+.google.container.v" + + "1beta1.NodeKubeletConfig\022R\n\030ephemeral_st" + + "orage_config\030\030 \001(\01320.google.container.v1" + + "beta1.EphemeralStorageConfig\0229\n\013gcfs_con" + + "fig\030\031 \001(\0132$.google.container.v1beta1.Gcf" + + "sConfig\022T\n\031advanced_machine_features\030\032 \001" + + "(\01321.google.container.v1beta1.AdvancedMa" + + "chineFeatures\0223\n\005gvnic\030\035 \001(\0132$.google.co" + + "ntainer.v1beta1.VirtualNIC\022\014\n\004spot\030 \001(\010" + + "\022G\n\022confidential_nodes\030# \001(\0132+.google.co" + + "ntainer.v1beta1.ConfidentialNodes\032/\n\rMet" + + "adataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"M\n\027AdvancedMachineFeatures\022\035\n\020" + + "threads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_" + + "per_core\"\355\004\n\021NodeNetworkConfig\022\035\n\020create" + + "_pod_range\030\004 \001(\010B\003\340A\004\022\021\n\tpod_range\030\005 \001(\t" + + "\022\033\n\023pod_ipv4_cidr_block\030\006 \001(\t\022m\n\032network" + + "_performance_config\030\013 \001(\0132D.google.conta" + + "iner.v1beta1.NodeNetworkConfig.NetworkPe" + + "rformanceConfigH\000\210\001\001\032\372\002\n\030NetworkPerforma" + + "nceConfig\022s\n\033total_egress_bandwidth_tier" + + "\030\001 \001(\0162I.google.container.v1beta1.NodeNe" + + "tworkConfig.NetworkPerformanceConfig.Tie" + + "rH\000\210\001\001\022y\n!external_ip_egress_bandwidth_t" + + "ier\030\002 \001(\0162I.google.container.v1beta1.Nod" + + "eNetworkConfig.NetworkPerformanceConfig." + + "TierH\001\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022" + + "\n\n\006TIER_1\020\001B\036\n\034_total_egress_bandwidth_t" + + "ierB$\n\"_external_ip_egress_bandwidth_tie" + + "rB\035\n\033_network_performance_config\"Y\n\026Shie" + + "ldedInstanceConfig\022\032\n\022enable_secure_boot" + + "\030\001 \001(\010\022#\n\033enable_integrity_monitoring\030\002 " + + "\001(\010\"\212\001\n\rSandboxConfig\022\030\n\014sandbox_type\030\001 " + + "\001(\tB\002\030\001\022:\n\004type\030\002 \001(\0162,.google.container" + + ".v1beta1.SandboxConfig.Type\"#\n\004Type\022\017\n\013U" + + "NSPECIFIED\020\000\022\n\n\006GVISOR\020\001\"1\n\026EphemeralSto" + + "rageConfig\022\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nG" + + "cfsConfig\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\023Reservati" + + "onAffinity\022T\n\030consume_reservation_type\030\001" + + " \001(\01622.google.container.v1beta1.Reservat" + + "ionAffinity.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030" + + "\003 \003(\t\"Z\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RES" + + "ERVATION\020\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECI" + + "FIC_RESERVATION\020\003\"\276\001\n\tNodeTaint\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.go" + + "ogle.container.v1beta1.NodeTaint.Effect\"" + + "Y\n\006Effect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_" + + "SCHEDULE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO" + + "_EXECUTE\020\003\"A\n\nNodeTaints\0223\n\006taints\030\001 \003(\013" + + "2#.google.container.v1beta1.NodeTaint\"}\n" + + "\nNodeLabels\022@\n\006labels\030\001 \003(\01320.google.con" + + "tainer.v1beta1.NodeLabels.LabelsEntry\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001\"\033\n\013NetworkTags\022\014\n\004tags\030\001 \003(\t\"\336\001\n\nMa" + + "sterAuth\022\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n\010passwo" + + "rd\030\002 \001(\tB\002\030\001\022T\n\031client_certificate_confi" + + "g\030\003 \001(\01321.google.container.v1beta1.Clien" + + "tCertificateConfig\022\036\n\026cluster_ca_certifi" + + "cate\030d \001(\t\022\032\n\022client_certificate\030e \001(\t\022\022" + + "\n\nclient_key\030f \001(\t\";\n\027ClientCertificateC" + + "onfig\022 \n\030issue_client_certificate\030\001 \001(\010\"" + + "\305\007\n\014AddonsConfig\022H\n\023http_load_balancing\030" + + "\001 \001(\0132+.google.container.v1beta1.HttpLoa" + + "dBalancing\022V\n\032horizontal_pod_autoscaling" + + "\030\002 \001(\01322.google.container.v1beta1.Horizo" + + "ntalPodAutoscaling\022O\n\024kubernetes_dashboa" + + "rd\030\003 \001(\0132-.google.container.v1beta1.Kube" + + "rnetesDashboardB\002\030\001\022L\n\025network_policy_co" + + "nfig\030\004 \001(\0132-.google.container.v1beta1.Ne" + + "tworkPolicyConfig\022?\n\014istio_config\030\005 \001(\0132" + + "%.google.container.v1beta1.IstioConfigB\002" + + "\030\001\022B\n\020cloud_run_config\030\007 \001(\0132(.google.co" + + "ntainer.v1beta1.CloudRunConfig\022B\n\020dns_ca" + + "che_config\030\010 \001(\0132(.google.container.v1be" + + "ta1.DnsCacheConfig\022P\n\027config_connector_c" + + "onfig\030\n \001(\0132/.google.container.v1beta1.C" + + "onfigConnectorConfig\022i\n%gce_persistent_d" + + "isk_csi_driver_config\030\013 \001(\0132:.google.con" + + "tainer.v1beta1.GcePersistentDiskCsiDrive" + + "rConfig\022=\n\013kalm_config\030\014 \001(\0132$.google.co" + + "ntainer.v1beta1.KalmConfigB\002\030\001\022^\n\037gcp_fi" + + "lestore_csi_driver_config\030\016 \001(\01325.google" + + ".container.v1beta1.GcpFilestoreCsiDriver" + + "Config\022O\n\027gke_backup_agent_config\030\020 \001(\0132" + + "..google.container.v1beta1.GkeBackupAgen" + + "tConfig\"%\n\021HttpLoadBalancing\022\020\n\010disabled" + + "\030\001 \001(\010\",\n\030HorizontalPodAutoscaling\022\020\n\010di" + + "sabled\030\001 \001(\010\"\'\n\023KubernetesDashboard\022\020\n\010d" + + "isabled\030\001 \001(\010\"\'\n\023NetworkPolicyConfig\022\020\n\010" + + "disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022\017\n\007enab" + + "led\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enabled\030\001 \001(\010" + + "B\002\030\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007enabled\030" + + "\001 \001(\010\"(\n\025ConfigConnectorConfig\022\017\n\007enable" + + "d\030\001 \001(\010\"3\n GcePersistentDiskCsiDriverCon" + + "fig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilestoreCsiD" + + "riverConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateC" + + "lusterMasterGlobalAccessConfig\022\017\n\007enable" + + "d\030\001 \001(\010\"\245\002\n\024PrivateClusterConfig\022\034\n\024enab" + + "le_private_nodes\030\001 \001(\010\022\037\n\027enable_private" + + "_endpoint\030\002 \001(\010\022\036\n\026master_ipv4_cidr_bloc" + + "k\030\003 \001(\t\022\030\n\020private_endpoint\030\004 \001(\t\022\027\n\017pub" + + "lic_endpoint\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t" + + "\022e\n\033master_global_access_config\030\010 \001(\0132@." + + "google.container.v1beta1.PrivateClusterM" + + "asterGlobalAccessConfig\"\237\001\n\013IstioConfig\022" + + "\024\n\010disabled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\01623.go" + + "ogle.container.v1beta1.IstioConfig.Istio" + + "AuthModeB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAUTH_NO" + + "NE\020\000\022\023\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016CloudRunCo" + + "nfig\022\020\n\010disabled\030\001 \001(\010\022U\n\022load_balancer_" + + "type\030\003 \001(\01629.google.container.v1beta1.Cl" + + "oudRunConfig.LoadBalancerType\"x\n\020LoadBal" + + "ancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSPECIF" + + "IED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL\020\001\022\037" + + "\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\301\001\n\036Mast" + + "erAuthorizedNetworksConfig\022\017\n\007enabled\030\001 " + + "\001(\010\022W\n\013cidr_blocks\030\002 \003(\0132B.google.contai" + + "ner.v1beta1.MasterAuthorizedNetworksConf" + + "ig.CidrBlock\0325\n\tCidrBlock\022\024\n\014display_nam" + + "e\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\t\"\035\n\nLegacyAba" + + "c\022\017\n\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPolicy\022B\n\010" + + "provider\030\001 \001(\01620.google.container.v1beta" + + "1.NetworkPolicy.Provider\022\017\n\007enabled\030\002 \001(" + + "\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022" + + "\n\n\006CALICO\020\001\"\270\006\n\022IPAllocationPolicy\022\026\n\016us" + + "e_ip_aliases\030\001 \001(\010\022\031\n\021create_subnetwork\030" + + "\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021cluste" + + "r_ipv4_cidr\030\004 \001(\tB\002\030\001\022\032\n\016node_ipv4_cidr\030" + + "\005 \001(\tB\002\030\001\022\036\n\022services_ipv4_cidr\030\006 \001(\tB\002\030" + + "\001\022$\n\034cluster_secondary_range_name\030\007 \001(\t\022" + + "%\n\035services_secondary_range_name\030\010 \001(\t\022\037" + + "\n\027cluster_ipv4_cidr_block\030\t \001(\t\022\034\n\024node_" + + "ipv4_cidr_block\030\n \001(\t\022 \n\030services_ipv4_c" + + "idr_block\030\013 \001(\t\022\033\n\023allow_route_overlap\030\014" + + " \001(\010\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022\022\n\nuse" + + "_routes\030\017 \001(\010\022J\n\nstack_type\030\020 \001(\01626.goog" + + "le.container.v1beta1.IPAllocationPolicy." + + "StackType\022U\n\020ipv6_access_type\030\021 \001(\0162;.go" + + "ogle.container.v1beta1.IPAllocationPolic" + + "y.IPv6AccessType\022#\n\026subnet_ipv6_cidr_blo" + + "ck\030\026 \001(\tB\003\340A\003\022%\n\030services_ipv6_cidr_bloc" + + "k\030\027 \001(\tB\003\340A\003\"@\n\tStackType\022\032\n\026STACK_TYPE_" + + "UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IPV6\020\002\"N" + + "\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TYPE_UNS" + + "PECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNAL\020\002\"\344" + + "\001\n\023BinaryAuthorization\022\017\n\007enabled\030\001 \001(\010\022" + + "U\n\017evaluation_mode\030\002 \001(\0162<.google.contai" + + "ner.v1beta1.BinaryAuthorization.Evaluati" + + "onMode\"e\n\016EvaluationMode\022\037\n\033EVALUATION_M" + + "ODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJE" + + "CT_SINGLETON_POLICY_ENFORCE\020\002\"*\n\027PodSecu" + + "rityPolicyConfig\022\017\n\007enabled\030\001 \001(\010\"D\n\031Aut" + + "henticatorGroupsConfig\022\017\n\007enabled\030\001 \001(\010\022" + + "\026\n\016security_group\030\002 \001(\t\"\226\001\n\020ClusterTelem" + + "etry\022=\n\004type\030\001 \001(\0162/.google.container.v1" + + "beta1.ClusterTelemetry.Type\"C\n\004Type\022\017\n\013U" + + "NSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\013\n\007ENABLED\020\002\022" + + "\017\n\013SYSTEM_ONLY\020\003\"\360\036\n\007Cluster\022\014\n\004name\030\001 \001" + + "(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022initial_node_" + + "count\030\003 \001(\005B\002\030\001\022=\n\013node_config\030\004 \001(\0132$.g" + + "oogle.container.v1beta1.NodeConfigB\002\030\001\0229" + + "\n\013master_auth\030\005 \001(\0132$.google.container.v" + + "1beta1.MasterAuth\022\027\n\017logging_service\030\006 \001" + + "(\t\022\032\n\022monitoring_service\030\007 \001(\t\022\017\n\007networ" + + "k\030\010 \001(\t\022\031\n\021cluster_ipv4_cidr\030\t \001(\t\022=\n\rad" + + "dons_config\030\n \001(\0132&.google.container.v1b" + + "eta1.AddonsConfig\022\022\n\nsubnetwork\030\013 \001(\t\0226\n" + + "\nnode_pools\030\014 \003(\0132\".google.container.v1b" + + "eta1.NodePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enab" + + "le_kubernetes_alpha\030\016 \001(\010\022N\n\017resource_la" + + "bels\030\017 \003(\01325.google.container.v1beta1.Cl" + + "uster.ResourceLabelsEntry\022\031\n\021label_finge" + + "rprint\030\020 \001(\t\0229\n\013legacy_abac\030\022 \001(\0132$.goog" + + "le.container.v1beta1.LegacyAbac\022?\n\016netwo" + + "rk_policy\030\023 \001(\0132\'.google.container.v1bet" + + "a1.NetworkPolicy\022J\n\024ip_allocation_policy" + + "\030\024 \001(\0132,.google.container.v1beta1.IPAllo" + + "cationPolicy\022c\n!master_authorized_networ" + + "ks_config\030\026 \001(\01328.google.container.v1bet" + + "a1.MasterAuthorizedNetworksConfig\022G\n\022mai" + + "ntenance_policy\030\027 \001(\0132+.google.container" + + ".v1beta1.MaintenancePolicy\022K\n\024binary_aut" + + "horization\030\030 \001(\0132-.google.container.v1be" + + "ta1.BinaryAuthorization\022U\n\032pod_security_" + + "policy_config\030\031 \001(\01321.google.container.v" + + "1beta1.PodSecurityPolicyConfig\022A\n\013autosc" + + "aling\030\032 \001(\0132,.google.container.v1beta1.C" + + "lusterAutoscaling\022?\n\016network_config\030\033 \001(" + + "\0132\'.google.container.v1beta1.NetworkConf" + + "ig\022\033\n\017private_cluster\030\034 \001(\010B\002\030\001\022\"\n\026maste" + + "r_ipv4_cidr_block\030\035 \001(\tB\002\030\001\022P\n\033default_m" + + "ax_pods_constraint\030\036 \001(\0132+.google.contai" + + "ner.v1beta1.MaxPodsConstraint\022Y\n\034resourc" + + "e_usage_export_config\030! \001(\01323.google.con" + + "tainer.v1beta1.ResourceUsageExportConfig" + + "\022X\n\033authenticator_groups_config\030\" \001(\01323." + + "google.container.v1beta1.AuthenticatorGr" + + "oupsConfig\022N\n\026private_cluster_config\030% \001" + + "(\0132..google.container.v1beta1.PrivateClu" + + "sterConfig\022R\n\030vertical_pod_autoscaling\030\'" + + " \001(\01320.google.container.v1beta1.Vertical" + + "PodAutoscaling\022?\n\016shielded_nodes\030( \001(\0132\'" + + ".google.container.v1beta1.ShieldedNodes\022" + + "A\n\017release_channel\030) \001(\0132(.google.contai" + + "ner.v1beta1.ReleaseChannel\022R\n\030workload_i" + + "dentity_config\030+ \001(\01320.google.container." + + "v1beta1.WorkloadIdentityConfig\022M\n\025worklo" + + "ad_certificates\0304 \001(\0132..google.container" + + ".v1beta1.WorkloadCertificates\022E\n\021mesh_ce" + + "rtificates\030C \001(\0132*.google.container.v1be" + + "ta1.MeshCertificates\022J\n\024workload_alts_co" + + "nfig\0305 \001(\0132,.google.container.v1beta1.Wo" + + "rkloadALTSConfig\022N\n\026cost_management_conf" + + "ig\030- \001(\0132..google.container.v1beta1.Cost" + + "ManagementConfig\022E\n\021cluster_telemetry\030. " + + "\001(\0132*.google.container.v1beta1.ClusterTe" + + "lemetry\0227\n\ntpu_config\030/ \001(\0132#.google.con" + + "tainer.v1beta1.TpuConfig\022I\n\023notification" + + "_config\0301 \001(\0132,.google.container.v1beta1" + + ".NotificationConfig\022G\n\022confidential_node" + + "s\0302 \001(\0132+.google.container.v1beta1.Confi" + + "dentialNodes\022P\n\027identity_service_config\030" + + "6 \001(\0132/.google.container.v1beta1.Identit" + + "yServiceConfig\022\021\n\tself_link\030d \001(\t\022\020\n\004zon" + + "e\030e \001(\tB\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initial" + + "_cluster_version\030g \001(\t\022\036\n\026current_master" + + "_version\030h \001(\t\022 \n\024current_node_version\030i" + + " \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\0228\n\006status\030" + + "k \001(\0162(.google.container.v1beta1.Cluster" + + ".Status\022\032\n\016status_message\030l \001(\tB\002\030\001\022\033\n\023n" + + "ode_ipv4_cidr_size\030m \001(\005\022\032\n\022services_ipv" + + "4_cidr\030n \001(\t\022\037\n\023instance_group_urls\030o \003(" + + "\tB\002\030\001\022\036\n\022current_node_count\030p \001(\005B\002\030\001\022\023\n" + + "\013expire_time\030q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\n" + + "enable_tpu\030s \001(\010\022\033\n\023tpu_ipv4_cidr_block\030" + + "t \001(\t\022I\n\023database_encryption\030& \001(\0132,.goo" + + "gle.container.v1beta1.DatabaseEncryption" + + "\022=\n\nconditions\030v \003(\0132).google.container." + + "v1beta1.StatusCondition\0220\n\006master\030| \001(\0132" + + " .google.container.v1beta1.Master\0227\n\taut" + + "opilot\030\200\001 \001(\0132#.google.container.v1beta1" + + ".Autopilot\022\020\n\002id\030\201\001 \001(\tB\003\340A\003\022L\n\022node_poo" + + "l_defaults\030\203\001 \001(\0132*.google.container.v1b" + + "eta1.NodePoolDefaultsH\000\210\001\001\022@\n\016logging_co" + + "nfig\030\204\001 \001(\0132\'.google.container.v1beta1.L" + + "oggingConfig\022F\n\021monitoring_config\030\205\001 \001(\013" + + "2*.google.container.v1beta1.MonitoringCo" + + "nfig\022L\n\025node_pool_auto_config\030\210\001 \001(\0132,.g" + + "oogle.container.v1beta1.NodePoolAutoConf" + + "ig\022E\n\016protect_config\030\211\001 \001(\0132\'.google.con" + + "tainer.v1beta1.ProtectConfigH\001\210\001\001\0325\n\023Res" + + "ourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"w\n\006Status\022\026\n\022STATUS_UNSPECIFIED" + + "\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013REC" + + "ONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010D" + + "EGRADED\020\006B\025\n\023_node_pool_defaultsB\021\n\017_pro" + + "tect_config\"\304\001\n\016WorkloadConfig\022F\n\naudit_" + + "mode\030\001 \001(\0162-.google.container.v1beta1.Wo" + + "rkloadConfig.ModeH\000\210\001\001\"[\n\004Mode\022\024\n\020MODE_U" + + "NSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005BASIC\020\004\022\020\n" + + "\010BASELINE\020\002\032\002\010\001\022\022\n\nRESTRICTED\020\003\032\002\010\001B\r\n\013_" + + "audit_mode\"k\n\rProtectConfig\022F\n\017workload_" + + "config\030\001 \001(\0132(.google.container.v1beta1." + + "WorkloadConfigH\000\210\001\001B\022\n\020_workload_config\"" + + "^\n\020NodePoolDefaults\022J\n\024node_config_defau" + + "lts\030\001 \001(\0132,.google.container.v1beta1.Nod" + + "eConfigDefaults\"O\n\022NodeConfigDefaults\0229\n" + + "\013gcfs_config\030\001 \001(\0132$.google.container.v1" + + "beta1.GcfsConfig\"Q\n\022NodePoolAutoConfig\022;" + + "\n\014network_tags\030\001 \001(\0132%.google.container." + + "v1beta1.NetworkTags\"\371\030\n\rClusterUpdate\022\034\n" + + "\024desired_node_version\030\004 \001(\t\022\"\n\032desired_m" + + "onitoring_service\030\005 \001(\t\022E\n\025desired_addon" + + "s_config\030\006 \001(\0132&.google.container.v1beta" + + "1.AddonsConfig\022\034\n\024desired_node_pool_id\030\007" + + " \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022T\n\035desi" + + "red_node_pool_autoscaling\030\t \001(\0132-.google" + + ".container.v1beta1.NodePoolAutoscaling\022\031" + + "\n\021desired_locations\030\n \003(\t\022k\n)desired_mas" + + "ter_authorized_networks_config\030\014 \001(\01328.g" + + "oogle.container.v1beta1.MasterAuthorized" + + "NetworksConfig\022]\n\"desired_pod_security_p" + + "olicy_config\030\016 \001(\01321.google.container.v1" + + "beta1.PodSecurityPolicyConfig\022Q\n\033desired" + + "_cluster_autoscaling\030\017 \001(\0132,.google.cont" + + "ainer.v1beta1.ClusterAutoscaling\022S\n\034desi" + + "red_binary_authorization\030\020 \001(\0132-.google." + + "container.v1beta1.BinaryAuthorization\022\037\n" + + "\027desired_logging_service\030\023 \001(\t\022a\n$desire" + + "d_resource_usage_export_config\030\025 \001(\01323.g" + + "oogle.container.v1beta1.ResourceUsageExp" + + "ortConfig\022Z\n desired_vertical_pod_autosc" + + "aling\030\026 \001(\01320.google.container.v1beta1.V" + + "erticalPodAutoscaling\022V\n\036desired_private" + + "_cluster_config\030\031 \001(\0132..google.container" + + ".v1beta1.PrivateClusterConfig\022a\n$desired" + + "_intra_node_visibility_config\030\032 \001(\01323.go" + + "ogle.container.v1beta1.IntraNodeVisibili" + + "tyConfig\022P\n\033desired_default_snat_status\030" + + "\034 \001(\0132+.google.container.v1beta1.Default" + + "SnatStatus\022M\n\031desired_cluster_telemetry\030" + + "\036 \001(\0132*.google.container.v1beta1.Cluster" + + "Telemetry\022I\n\027desired_release_channel\030\037 \001" + + "(\0132(.google.container.v1beta1.ReleaseCha" + + "nnel\022?\n\022desired_tpu_config\030& \001(\0132#.googl" + + "e.container.v1beta1.TpuConfig\022V\n\037desired" + + "_l4ilb_subsetting_config\030\' \001(\0132-.google." + + "container.v1beta1.ILBSubsettingConfig\022M\n" + + "\031desired_datapath_provider\0302 \001(\0162*.googl" + + "e.container.v1beta1.DatapathProvider\022]\n\"" + + "desired_private_ipv6_google_access\0303 \001(\016" + + "21.google.container.v1beta1.PrivateIPv6G" + + "oogleAccess\022Q\n\033desired_notification_conf" + + "ig\0307 \001(\0132,.google.container.v1beta1.Noti" + + "ficationConfig\022\036\n\026desired_master_version" + + "\030d \001(\t\022A\n\023desired_gcfs_config\030m \001(\0132$.go" + + "ogle.container.v1beta1.GcfsConfig\022Q\n\033des" + + "ired_database_encryption\030. \001(\0132,.google." + + "container.v1beta1.DatabaseEncryption\022Z\n " + + "desired_workload_identity_config\030/ \001(\01320" + + ".google.container.v1beta1.WorkloadIdenti" + + "tyConfig\022U\n\035desired_workload_certificate" + + "s\030= \001(\0132..google.container.v1beta1.Workl" + + "oadCertificates\022M\n\031desired_mesh_certific" + + "ates\030C \001(\0132*.google.container.v1beta1.Me" + + "shCertificates\022R\n\034desired_workload_alts_" + + "config\030> \001(\0132,.google.container.v1beta1." + + "WorkloadALTSConfig\022G\n\026desired_shielded_n" + + "odes\0300 \001(\0132\'.google.container.v1beta1.Sh" + + "ieldedNodes\022V\n\036desired_cost_management_c" + + "onfig\0301 \001(\0132..google.container.v1beta1.C" + + "ostManagementConfig\0228\n\016desired_master\0304 " + + "\001(\0132 .google.container.v1beta1.Master\022?\n" + + "\022desired_dns_config\0305 \001(\0132#.google.conta" + + "iner.v1beta1.DNSConfig\022_\n#desired_servic" + + "e_external_ips_config\030< \001(\01322.google.con" + + "tainer.v1beta1.ServiceExternalIPsConfig\022" + + "`\n#desired_authenticator_groups_config\030?" + + " \001(\01323.google.container.v1beta1.Authenti" + + "catorGroupsConfig\022G\n\026desired_logging_con" + + "fig\030@ \001(\0132\'.google.container.v1beta1.Log" + + "gingConfig\022M\n\031desired_monitoring_config\030" + + "A \001(\0132*.google.container.v1beta1.Monitor" + + "ingConfig\022X\n\037desired_identity_service_co" + + "nfig\030B \001(\0132/.google.container.v1beta1.Id" + + "entityServiceConfig\022Y\n*desired_node_pool" + + "_auto_config_network_tags\030n \001(\0132%.google" + + ".container.v1beta1.NetworkTags\022L\n\026desire" + + "d_protect_config\030p \001(\0132\'.google.containe" + + "r.v1beta1.ProtectConfigH\000\210\001\001B\031\n\027_desired" + + "_protect_config\"\212\010\n\tOperation\022\014\n\004name\030\001 " + + "\001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022@\n\016operation_type\030" + + "\003 \001(\0162(.google.container.v1beta1.Operati" + + "on.Type\022:\n\006status\030\004 \001(\0162*.google.contain" + + "er.v1beta1.Operation.Status\022\016\n\006detail\030\010 ", + "\001(\t\022\035\n\016status_message\030\005 \001(\tB\005\030\001\340A\003\022\021\n\tse" + + "lf_link\030\006 \001(\t\022\023\n\013target_link\030\007 \001(\t\022\020\n\010lo" + + "cation\030\t \001(\t\022\022\n\nstart_time\030\n \001(\t\022\020\n\010end_" + + "time\030\013 \001(\t\022B\n\010progress\030\014 \001(\0132+.google.co" + + "ntainer.v1beta1.OperationProgressB\003\340A\003\022I" + + "\n\022cluster_conditions\030\r \003(\0132).google.cont" + + "ainer.v1beta1.StatusConditionB\002\030\001\022J\n\023nod" + + "epool_conditions\030\016 \003(\0132).google.containe" + + "r.v1beta1.StatusConditionB\002\030\001\022!\n\005error\030\017" + + " \001(\0132\022.google.rpc.Status\"R\n\006Status\022\026\n\022ST" + + "ATUS_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNI" + + "NG\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375\002\n\004Type\022\024\n" + + "\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREATE_CLUSTER\020\001\022" + + "\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPGRADE_MASTER\020\003\022" + + "\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPAIR_CLUSTER\020\005\022\022" + + "\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREATE_NODE_POOL\020\007" + + "\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_POOL_" + + "MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026\n\022A" + + "UTO_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023\n\017S" + + "ET_MASTER_AUTH\020\r\022\026\n\022SET_NODE_POOL_SIZE\020\016" + + "\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SET_MAINTENA" + + "NCE_POLICY\020\020\"\312\002\n\021OperationProgress\022\014\n\004na" + + "me\030\001 \001(\t\022:\n\006status\030\002 \001(\0162*.google.contai" + + "ner.v1beta1.Operation.Status\022C\n\007metrics\030" + + "\003 \003(\01322.google.container.v1beta1.Operati" + + "onProgress.Metric\022;\n\006stages\030\004 \003(\0132+.goog" + + "le.container.v1beta1.OperationProgress\032i" + + "\n\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value" + + "\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014stri" + + "ng_value\030\004 \001(\tH\000B\007\n\005value\"\217\001\n\024CreateClus" + + "terRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n" + + "\004zone\030\002 \001(\tB\005\030\001\340A\002\0227\n\007cluster\030\003 \001(\0132!.go" + + "ogle.container.v1beta1.ClusterB\003\340A\002\022\016\n\006p" + + "arent\030\005 \001(\t\"l\n\021GetClusterRequest\022\031\n\nproj" + + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" + + "\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\005 \001(" + + "\t\"\255\001\n\024UpdateClusterRequest\022\031\n\nproject_id" + + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncl" + + "uster_id\030\003 \001(\tB\005\030\001\340A\002\022<\n\006update\030\004 \001(\0132\'." + + "google.container.v1beta1.ClusterUpdateB\003" + + "\340A\002\022\014\n\004name\030\005 \001(\t\"\245\007\n\025UpdateNodePoolRequ" + + "est\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002" + + " \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033" + + "\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\031\n\014node_vers" + + "ion\030\005 \001(\tB\003\340A\002\022\027\n\nimage_type\030\006 \001(\tB\003\340A\002\022" + + "\021\n\tlocations\030\r \003(\t\022R\n\030workload_metadata_" + + "config\030\016 \001(\01320.google.container.v1beta1." + + "WorkloadMetadataConfig\022\014\n\004name\030\010 \001(\t\022L\n\020" + + "upgrade_settings\030\017 \001(\01322.google.containe" + + "r.v1beta1.NodePool.UpgradeSettings\0223\n\004ta" + + "gs\030\020 \001(\0132%.google.container.v1beta1.Netw" + + "orkTags\0224\n\006taints\030\021 \001(\0132$.google.contain" + + "er.v1beta1.NodeTaints\0224\n\006labels\030\022 \001(\0132$." + + "google.container.v1beta1.NodeLabels\022D\n\021l" + + "inux_node_config\030\023 \001(\0132).google.containe" + + "r.v1beta1.LinuxNodeConfig\022C\n\016kubelet_con" + + "fig\030\024 \001(\0132+.google.container.v1beta1.Nod" + + "eKubeletConfig\022H\n\023node_network_config\030\025 " + + "\001(\0132+.google.container.v1beta1.NodeNetwo" + + "rkConfig\0229\n\013gcfs_config\030\026 \001(\0132$.google.c" + + "ontainer.v1beta1.GcfsConfig\022G\n\022confident" + + "ial_nodes\030\027 \001(\0132+.google.container.v1bet" + + "a1.ConfidentialNodes\0223\n\005gvnic\030\035 \001(\0132$.go" + + "ogle.container.v1beta1.VirtualNIC\"\336\001\n\035Se" + + "tNodePoolAutoscalingRequest\022\031\n\nproject_i" + + "d\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nc" + + "luster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004" + + " \001(\tB\005\030\001\340A\002\022G\n\013autoscaling\030\005 \001(\0132-.googl" + + "e.container.v1beta1.NodePoolAutoscalingB" + + "\003\340A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030SetLoggingService" + + "Request\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zo" + + "ne\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340" + + "A\002\022\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n\004name" + + "\030\005 \001(\t\"\227\001\n\033SetMonitoringServiceRequest\022\031" + + "\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB" + + "\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\037\n\022mon" + + "itoring_service\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t" + + "\"\265\001\n\026SetAddonsConfigRequest\022\031\n\nproject_i" + + "d\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nc" + + "luster_id\030\003 \001(\tB\005\030\001\340A\002\022B\n\raddons_config\030" + + "\004 \001(\0132&.google.container.v1beta1.AddonsC" + + "onfigB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\206\001\n\023SetLocation" + + "sRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004z" + "one\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001" - + "\340A\002\022\033\n\016master_version\030\004 \001(\tB\003\340A\002\022\014\n\004name" - + "\030\007 \001(\t\"\310\002\n\024SetMasterAuthRequest\022\031\n\nproje" - + "ct_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022" - + "\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022J\n\006action\030\004 \001" - + "(\01625.google.container.v1beta1.SetMasterA" - + "uthRequest.ActionB\003\340A\002\0229\n\006update\030\005 \001(\0132$" - + ".google.container.v1beta1.MasterAuthB\003\340A" - + "\002\022\014\n\004name\030\007 \001(\t\"P\n\006Action\022\013\n\007UNKNOWN\020\000\022\020" - + "\n\014SET_PASSWORD\020\001\022\025\n\021GENERATE_PASSWORD\020\002\022" - + "\020\n\014SET_USERNAME\020\003\"o\n\024DeleteClusterReques" - + "t\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001" - + "(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004" - + "name\030\004 \001(\t\"U\n\023ListClustersRequest\022\031\n\npro" + + "\340A\002\022\026\n\tlocations\030\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(" + + "\t\"\213\001\n\023UpdateMasterRequest\022\031\n\nproject_id\030" + + "\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nclu" + + "ster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\016master_version\030\004" + + " \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\310\002\n\024SetMasterAut" + + "hRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004z" + + "one\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001" + + "\340A\002\022J\n\006action\030\004 \001(\01625.google.container.v" + + "1beta1.SetMasterAuthRequest.ActionB\003\340A\002\022" + + "9\n\006update\030\005 \001(\0132$.google.container.v1bet" + + "a1.MasterAuthB\003\340A\002\022\014\n\004name\030\007 \001(\t\"P\n\006Acti" + + "on\022\013\n\007UNKNOWN\020\000\022\020\n\014SET_PASSWORD\020\001\022\025\n\021GEN" + + "ERATE_PASSWORD\020\002\022\020\n\014SET_USERNAME\020\003\"o\n\024De" + + "leteClusterRequest\022\031\n\nproject_id\030\001 \001(\tB\005" + + "\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id" + + "\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"U\n\023ListClust" + + "ersRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n" + + "\004zone\030\002 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\004 \001(\t\"b\n\024Li" + + "stClustersResponse\0223\n\010clusters\030\001 \003(\0132!.g" + + "oogle.container.v1beta1.Cluster\022\025\n\rmissi" + + "ng_zones\030\002 \003(\t\"p\n\023GetOperationRequest\022\031\n" + + "\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005" + + "\030\001\340A\002\022\033\n\014operation_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004na" + + "me\030\005 \001(\t\"W\n\025ListOperationsRequest\022\031\n\npro" + "ject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A" - + "\002\022\016\n\006parent\030\004 \001(\t\"b\n\024ListClustersRespons" - + "e\0223\n\010clusters\030\001 \003(\0132!.google.container.v" - + "1beta1.Cluster\022\025\n\rmissing_zones\030\002 \003(\t\"p\n" - + "\023GetOperationRequest\022\031\n\nproject_id\030\001 \001(\t" - + "B\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\033\n\014operatio" - + "n_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\005 \001(\t\"W\n\025ListO" - + "perationsRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001" - + "\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\004 \001(\t" - + "\"s\n\026CancelOperationRequest\022\031\n\nproject_id" - + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\033\n\014op" - + "eration_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"h\n" - + "\026ListOperationsResponse\0227\n\noperations\030\001 " - + "\003(\0132#.google.container.v1beta1.Operation" - + "\022\025\n\rmissing_zones\030\002 \003(\t\"V\n\026GetServerConf" - + "igRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004" - + "zone\030\002 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"\351\005\n\014Serv" - + "erConfig\022\037\n\027default_cluster_version\030\001 \001(" - + "\t\022\033\n\023valid_node_versions\030\003 \003(\t\022\032\n\022defaul" - + "t_image_type\030\004 \001(\t\022\031\n\021valid_image_types\030" - + "\005 \003(\t\022\035\n\025valid_master_versions\030\006 \003(\t\022M\n\010" - + "channels\030\t \003(\0132;.google.container.v1beta" - + "1.ServerConfig.ReleaseChannelConfig\022\\\n\024w" - + "indows_version_maps\030\n \003(\0132>.google.conta" - + "iner.v1beta1.ServerConfig.WindowsVersion" - + "MapsEntry\032\261\002\n\024ReleaseChannelConfig\022A\n\007ch" - + "annel\030\001 \001(\01620.google.container.v1beta1.R" - + "eleaseChannel.Channel\022\027\n\017default_version" - + "\030\002 \001(\t\022l\n\022available_versions\030\003 \003(\0132L.goo" - + "gle.container.v1beta1.ServerConfig.Relea" - + "seChannelConfig.AvailableVersionB\002\030\001\022\026\n\016" - + "valid_versions\030\004 \003(\t\0327\n\020AvailableVersion" - + "\022\017\n\007version\030\001 \001(\t\022\016\n\006reason\030\002 \001(\t:\002\030\001\032d\n" - + "\027WindowsVersionMapsEntry\022\013\n\003key\030\001 \001(\t\0228\n" - + "\005value\030\002 \001(\0132).google.container.v1beta1." - + "WindowsVersions:\0028\001\"\314\001\n\017WindowsVersions\022" - + "R\n\020windows_versions\030\001 \003(\01328.google.conta" - + "iner.v1beta1.WindowsVersions.WindowsVers" - + "ion\032e\n\016WindowsVersion\022\022\n\nimage_type\030\001 \001(" - + "\t\022\022\n\nos_version\030\002 \001(\t\022+\n\020support_end_dat" - + "e\030\003 \001(\0132\021.google.type.Date\"\256\001\n\025CreateNod" - + "ePoolRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022" - + "\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\t" - + "B\005\030\001\340A\002\022:\n\tnode_pool\030\004 \001(\0132\".google.cont" - + "ainer.v1beta1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 " - + "\001(\t\"\215\001\n\025DeleteNodePoolRequest\022\031\n\nproject" + + "\002\022\016\n\006parent\030\004 \001(\t\"s\n\026CancelOperationRequ" + + "est\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002" + + " \001(\tB\005\030\001\340A\002\022\033\n\014operation_id\030\003 \001(\tB\005\030\001\340A\002" + + "\022\014\n\004name\030\004 \001(\t\"h\n\026ListOperationsResponse" + + "\0227\n\noperations\030\001 \003(\0132#.google.container." + + "v1beta1.Operation\022\025\n\rmissing_zones\030\002 \003(\t" + + "\"V\n\026GetServerConfigRequest\022\031\n\nproject_id" + + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\014\n\004na" + + "me\030\004 \001(\t\"\351\005\n\014ServerConfig\022\037\n\027default_clu" + + "ster_version\030\001 \001(\t\022\033\n\023valid_node_version" + + "s\030\003 \003(\t\022\032\n\022default_image_type\030\004 \001(\t\022\031\n\021v" + + "alid_image_types\030\005 \003(\t\022\035\n\025valid_master_v" + + "ersions\030\006 \003(\t\022M\n\010channels\030\t \003(\0132;.google" + + ".container.v1beta1.ServerConfig.ReleaseC" + + "hannelConfig\022\\\n\024windows_version_maps\030\n \003" + + "(\0132>.google.container.v1beta1.ServerConf" + + "ig.WindowsVersionMapsEntry\032\261\002\n\024ReleaseCh" + + "annelConfig\022A\n\007channel\030\001 \001(\01620.google.co" + + "ntainer.v1beta1.ReleaseChannel.Channel\022\027" + + "\n\017default_version\030\002 \001(\t\022l\n\022available_ver" + + "sions\030\003 \003(\0132L.google.container.v1beta1.S" + + "erverConfig.ReleaseChannelConfig.Availab" + + "leVersionB\002\030\001\022\026\n\016valid_versions\030\004 \003(\t\0327\n" + + "\020AvailableVersion\022\017\n\007version\030\001 \001(\t\022\016\n\006re" + + "ason\030\002 \001(\t:\002\030\001\032d\n\027WindowsVersionMapsEntr" + + "y\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google.c" + + "ontainer.v1beta1.WindowsVersions:\0028\001\"\314\001\n" + + "\017WindowsVersions\022R\n\020windows_versions\030\001 \003" + + "(\01328.google.container.v1beta1.WindowsVer" + + "sions.WindowsVersion\032e\n\016WindowsVersion\022\022" + + "\n\nimage_type\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022+" + + "\n\020support_end_date\030\003 \001(\0132\021.google.type.D" + + "ate\"\256\001\n\025CreateNodePoolRequest\022\031\n\nproject" + "_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n" - + "\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id" - + "\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"q\n\024ListNodeP" - + "oolsRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023" - + "\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB" - + "\005\030\001\340A\002\022\016\n\006parent\030\005 \001(\t\"\212\001\n\022GetNodePoolRe" - + "quest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone" - + "\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002" - + "\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 " - + "\001(\t\"\346\010\n\010NodePool\022\014\n\004name\030\001 \001(\t\0224\n\006config" + + "\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022:\n\tnode_pool\030\004 " + + "\001(\0132\".google.container.v1beta1.NodePoolB" + + "\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\215\001\n\025DeleteNodePoolR" + + "equest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zon" + + "e\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A" + + "\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006" + + " \001(\t\"q\n\024ListNodePoolsRequest\022\031\n\nproject_" + + "id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\n" + + "cluster_id\030\003 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\005 \001(\t\"" + + "\212\001\n\022GetNodePoolRequest\022\031\n\nproject_id\030\001 \001" + + "(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluste" + + "r_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB" + + "\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"\244\003\n\021BlueGreenSettin" + + "gs\022d\n\027standard_rollout_policy\030\001 \001(\0132A.go" + + "ogle.container.v1beta1.BlueGreenSettings" + + ".StandardRolloutPolicyH\000\022?\n\027node_pool_so" + + "ak_duration\030\002 \001(\0132\031.google.protobuf.Dura" + + "tionH\001\210\001\001\032\271\001\n\025StandardRolloutPolicy\022\032\n\020b" + + "atch_percentage\030\001 \001(\002H\000\022\032\n\020batch_node_co" + + "unt\030\002 \001(\005H\000\022;\n\023batch_soak_duration\030\003 \001(\013" + + "2\031.google.protobuf.DurationH\001\210\001\001B\023\n\021upda" + + "te_batch_sizeB\026\n\024_batch_soak_durationB\020\n" + + "\016rollout_policyB\032\n\030_node_pool_soak_durat" + + "ion\"\202\017\n\010NodePool\022\014\n\004name\030\001 \001(\t\0224\n\006config" + "\030\002 \001(\0132$.google.container.v1beta1.NodeCo" + "nfig\022\032\n\022initial_node_count\030\003 \001(\005\022\021\n\tloca" + "tions\030\r \003(\t\022C\n\016network_config\030\016 \001(\0132+.go" @@ -1174,535 +1298,584 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.container.v1beta1.NodePool.UpgradeSet" + "tings\022L\n\020placement_policy\030l \001(\01322.google" + ".container.v1beta1.NodePool.PlacementPol" - + "icy\032=\n\017UpgradeSettings\022\021\n\tmax_surge\030\001 \001(" - + "\005\022\027\n\017max_unavailable\030\002 \001(\005\032\203\001\n\017Placement" - + "Policy\022E\n\004type\030\001 \001(\01627.google.container." - + "v1beta1.NodePool.PlacementPolicy.Type\")\n" - + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013\n\007COMPACT\020\001" - + "\"\201\001\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014P" - + "ROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\026\n\022RUNNING_WI" - + "TH_ERROR\020\003\022\017\n\013RECONCILING\020\004\022\014\n\010STOPPING\020" - + "\005\022\t\n\005ERROR\020\006\"\202\001\n\016NodeManagement\022\024\n\014auto_" - + "upgrade\030\001 \001(\010\022\023\n\013auto_repair\030\002 \001(\010\022E\n\017up" - + "grade_options\030\n \001(\0132,.google.container.v" - + "1beta1.AutoUpgradeOptions\"J\n\022AutoUpgrade" - + "Options\022\037\n\027auto_upgrade_start_time\030\001 \001(\t" - + "\022\023\n\013description\030\002 \001(\t\"j\n\021MaintenancePoli" - + "cy\022;\n\006window\030\001 \001(\0132+.google.container.v1" - + "beta1.MaintenanceWindow\022\030\n\020resource_vers" - + "ion\030\003 \001(\t\"\212\003\n\021MaintenanceWindow\022T\n\030daily" - + "_maintenance_window\030\002 \001(\01320.google.conta" - + "iner.v1beta1.DailyMaintenanceWindowH\000\022I\n" - + "\020recurring_window\030\003 \001(\0132-.google.contain" - + "er.v1beta1.RecurringTimeWindowH\000\022f\n\026main" - + "tenance_exclusions\030\004 \003(\0132F.google.contai" - + "ner.v1beta1.MaintenanceWindow.Maintenanc" - + "eExclusionsEntry\032b\n\032MaintenanceExclusion" - + "sEntry\022\013\n\003key\030\001 \001(\t\0223\n\005value\030\002 \001(\0132$.goo" - + "gle.container.v1beta1.TimeWindow:\0028\001B\010\n\006" - + "policy\"\325\001\n\nTimeWindow\022^\n\035maintenance_exc" - + "lusion_options\030\003 \001(\01325.google.container." - + "v1beta1.MaintenanceExclusionOptionsH\000\022.\n" - + "\nstart_time\030\001 \001(\0132\032.google.protobuf.Time" - + "stamp\022,\n\010end_time\030\002 \001(\0132\032.google.protobu" - + "f.TimestampB\t\n\007options\"\271\001\n\033MaintenanceEx" - + "clusionOptions\022J\n\005scope\030\001 \001(\0162;.google.c" - + "ontainer.v1beta1.MaintenanceExclusionOpt" - + "ions.Scope\"N\n\005Scope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021" - + "NO_MINOR_UPGRADES\020\001\022\035\n\031NO_MINOR_OR_NODE_" - + "UPGRADES\020\002\"_\n\023RecurringTimeWindow\0224\n\006win" - + "dow\030\001 \001(\0132$.google.container.v1beta1.Tim" - + "eWindow\022\022\n\nrecurrence\030\002 \001(\t\">\n\026DailyMain" - + "tenanceWindow\022\022\n\nstart_time\030\002 \001(\t\022\020\n\010dur" - + "ation\030\003 \001(\t\"\327\001\n\034SetNodePoolManagementReq" - + "uest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030" - + "\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" - + "\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022A\n\nmanageme" - + "nt\030\005 \001(\0132(.google.container.v1beta1.Node" - + "ManagementB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\247\001\n\026SetNod" - + "ePoolSizeRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001" - + "\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003" - + " \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002" - + "\022\027\n\nnode_count\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\"" - + "\226\001\n\036RollbackNodePoolUpgradeRequest\022\031\n\npr" - + "oject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340" - + "A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_po" - + "ol_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"O\n\025List" - + "NodePoolsResponse\0226\n\nnode_pools\030\001 \003(\0132\"." - + "google.container.v1beta1.NodePool\"\276\003\n\022Cl" - + "usterAutoscaling\022$\n\034enable_node_autoprov" - + "isioning\030\001 \001(\010\022@\n\017resource_limits\030\002 \003(\0132" - + "\'.google.container.v1beta1.ResourceLimit" - + "\022\\\n\023autoscaling_profile\030\003 \001(\0162?.google.c" - + "ontainer.v1beta1.ClusterAutoscaling.Auto" - + "scalingProfile\022g\n#autoprovisioning_node_" - + "pool_defaults\030\004 \001(\0132:.google.container.v" - + "1beta1.AutoprovisioningNodePoolDefaults\022" - + "\"\n\032autoprovisioning_locations\030\005 \003(\t\"U\n\022A" - + "utoscalingProfile\022\027\n\023PROFILE_UNSPECIFIED" - + "\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BALANCED" - + "\020\002\"\243\003\n AutoprovisioningNodePoolDefaults\022" - + "\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017service_account" - + "\030\002 \001(\t\022L\n\020upgrade_settings\030\003 \001(\01322.googl" - + "e.container.v1beta1.NodePool.UpgradeSett" - + "ings\022<\n\nmanagement\030\004 \001(\0132(.google.contai" - + "ner.v1beta1.NodeManagement\022\030\n\020min_cpu_pl" - + "atform\030\005 \001(\t\022\024\n\014disk_size_gb\030\006 \001(\005\022\021\n\tdi" - + "sk_type\030\007 \001(\t\022R\n\030shielded_instance_confi" - + "g\030\010 \001(\01320.google.container.v1beta1.Shiel" - + "dedInstanceConfig\022\031\n\021boot_disk_kms_key\030\t" - + " \001(\t\022\022\n\nimage_type\030\n \001(\t\"H\n\rResourceLimi" - + "t\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minimum\030\002 \001(" - + "\003\022\017\n\007maximum\030\003 \001(\003\"o\n\023NodePoolAutoscalin" - + "g\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_count\030\002 \001" - + "(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017autoprovis" - + "ioned\030\004 \001(\010\"\240\002\n\020SetLabelsRequest\022\031\n\nproj" - + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" - + "\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\\\n\017resource_" - + "labels\030\004 \003(\0132>.google.container.v1beta1." - + "SetLabelsRequest.ResourceLabelsEntryB\003\340A" - + "\002\022\036\n\021label_fingerprint\030\005 \001(\tB\003\340A\002\022\014\n\004nam" - + "e\030\007 \001(\t\0325\n\023ResourceLabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\024SetLegacyAbac" - + "Request\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zo" - + "ne\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340" - + "A\002\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\215" - + "\001\n\026StartIPRotationRequest\022\031\n\nproject_id\030" - + "\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nclu" - + "ster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\022\032\n\022ro" - + "tate_credentials\030\007 \001(\010\"t\n\031CompleteIPRota" - + "tionRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023" - + "\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB" - + "\005\030\001\340A\002\022\014\n\004name\030\007 \001(\t\"d\n\021AcceleratorConfi" - + "g\022\031\n\021accelerator_count\030\001 \001(\003\022\030\n\020accelera" - + "tor_type\030\002 \001(\t\022\032\n\022gpu_partition_size\030\003 \001" - + "(\t\"*\n\027ManagedPrometheusConfig\022\017\n\007enabled" - + "\030\001 \001(\010\"\313\002\n\026WorkloadMetadataConfig\022X\n\rnod" - + "e_metadata\030\001 \001(\0162=.google.container.v1be" - + "ta1.WorkloadMetadataConfig.NodeMetadataB" - + "\002\030\001\022C\n\004mode\030\002 \001(\01625.google.container.v1b" - + "eta1.WorkloadMetadataConfig.Mode\"P\n\014Node" - + "Metadata\022\017\n\013UNSPECIFIED\020\000\022\n\n\006SECURE\020\001\022\n\n" - + "\006EXPOSE\020\002\022\027\n\023GKE_METADATA_SERVER\020\003\"@\n\004Mo" - + "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA" - + "\020\001\022\020\n\014GKE_METADATA\020\002\"\270\001\n\027SetNetworkPolic" - + "yRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004z" - + "one\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001" - + "\340A\002\022D\n\016network_policy\030\004 \001(\0132\'.google.con" - + "tainer.v1beta1.NetworkPolicyB\003\340A\002\022\014\n\004nam" - + "e\030\006 \001(\t\"\276\001\n\033SetMaintenancePolicyRequest\022" - + "\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003" - + "\340A\002\022\027\n\ncluster_id\030\003 \001(\tB\003\340A\002\022L\n\022maintena" - + "nce_policy\030\004 \001(\0132+.google.container.v1be" - + "ta1.MaintenancePolicyB\003\340A\002\022\014\n\004name\030\005 \001(\t" - + "\"+\n\024ListLocationsRequest\022\023\n\006parent\030\001 \001(\t" - + "B\003\340A\002\"g\n\025ListLocationsResponse\0225\n\tlocati" - + "ons\030\001 \003(\0132\".google.container.v1beta1.Loc" - + "ation\022\027\n\017next_page_token\030\002 \001(\t\"\261\001\n\010Locat" - + "ion\022=\n\004type\030\001 \001(\0162/.google.container.v1b" - + "eta1.Location.LocationType\022\014\n\004name\030\002 \001(\t" - + "\022\023\n\013recommended\030\003 \001(\010\"C\n\014LocationType\022\035\n" - + "\031LOCATION_TYPE_UNSPECIFIED\020\000\022\010\n\004ZONE\020\001\022\n" - + "\n\006REGION\020\002\"\262\002\n\017StatusCondition\022@\n\004code\030\001" - + " \001(\0162..google.container.v1beta1.StatusCo" - + "ndition.CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(\n\016can" - + "onical_code\030\003 \001(\0162\020.google.rpc.Code\"\241\001\n\004" - + "Code\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_STOCKOUT\020\001\022\037\n\033G" - + "KE_SERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOT" - + "A_EXCEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLO" - + "UD_KMS_KEY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t\032\002\030\001\"" - + "\365\003\n\rNetworkConfig\022\017\n\007network\030\001 \001(\t\022\022\n\nsu" - + "bnetwork\030\002 \001(\t\022$\n\034enable_intra_node_visi" - + "bility\030\005 \001(\010\022H\n\023default_snat_status\030\007 \001(" - + "\0132+.google.container.v1beta1.DefaultSnat" - + "Status\022\037\n\027enable_l4ilb_subsetting\030\n \001(\010\022" - + "E\n\021datapath_provider\030\013 \001(\0162*.google.cont" - + "ainer.v1beta1.DatapathProvider\022U\n\032privat" - + "e_ipv6_google_access\030\014 \001(\01621.google.cont" - + "ainer.v1beta1.PrivateIPv6GoogleAccess\0227\n" - + "\ndns_config\030\r \001(\0132#.google.container.v1b" - + "eta1.DNSConfig\022W\n\033service_external_ips_c" - + "onfig\030\017 \001(\01322.google.container.v1beta1.S" - + "erviceExternalIPsConfig\"+\n\030ServiceExtern" - + "alIPsConfig\022\017\n\007enabled\030\001 \001(\010\"j\n\034ListUsab" - + "leSubnetworksRequest\022\023\n\006parent\030\001 \001(\tB\003\340A" - + "\002\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\n" - + "page_token\030\004 \001(\t\"y\n\035ListUsableSubnetwork" - + "sResponse\022?\n\013subnetworks\030\001 \003(\0132*.google." - + "container.v1beta1.UsableSubnetwork\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\205\002\n\036UsableSubnetwork" - + "SecondaryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\rip" - + "_cidr_range\030\002 \001(\t\022O\n\006status\030\003 \001(\0162?.goog" - + "le.container.v1beta1.UsableSubnetworkSec" - + "ondaryRange.Status\"g\n\006Status\022\013\n\007UNKNOWN\020" - + "\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024IN_" - + "USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_PO" - + "D\020\004\"\275\001\n\020UsableSubnetwork\022\022\n\nsubnetwork\030\001" - + " \001(\t\022\017\n\007network\030\002 \001(\t\022\025\n\rip_cidr_range\030\003" - + " \001(\t\022U\n\023secondary_ip_ranges\030\004 \003(\01328.goog" - + "le.container.v1beta1.UsableSubnetworkSec" - + "ondaryRange\022\026\n\016status_message\030\005 \001(\t\")\n\026V" - + "erticalPodAutoscaling\022\017\n\007enabled\030\001 \001(\010\"%" - + "\n\021DefaultSnatStatus\022\020\n\010disabled\030\001 \001(\010\",\n" - + "\031IntraNodeVisibilityConfig\022\017\n\007enabled\030\001 " - + "\001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007enabled\030\001 " - + "\001(\010\"\307\002\n\tDNSConfig\022A\n\013cluster_dns\030\001 \001(\0162," - + ".google.container.v1beta1.DNSConfig.Prov" - + "ider\022G\n\021cluster_dns_scope\030\002 \001(\0162,.google" - + ".container.v1beta1.DNSConfig.DNSScope\022\032\n" - + "\022cluster_dns_domain\030\003 \001(\t\"I\n\010Provider\022\030\n" - + "\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEFA" - + "ULT\020\001\022\r\n\tCLOUD_DNS\020\002\"G\n\010DNSScope\022\031\n\025DNS_" - + "SCOPE_UNSPECIFIED\020\000\022\021\n\rCLUSTER_SCOPE\020\001\022\r" - + "\n\tVPC_SCOPE\020\002\".\n\021MaxPodsConstraint\022\031\n\021ma" - + "x_pods_per_node\030\001 \001(\003\"j\n\026WorkloadIdentit" - + "yConfig\022\036\n\022identity_namespace\030\001 \001(\tB\002\030\001\022" - + "\025\n\rworkload_pool\030\002 \001(\t\022\031\n\021identity_provi" - + "der\030\003 \001(\t\"O\n\024WorkloadCertificates\0227\n\023ena" - + "ble_certificates\030\001 \001(\0132\032.google.protobuf" - + ".BoolValue\"K\n\020MeshCertificates\0227\n\023enable" - + "_certificates\030\001 \001(\0132\032.google.protobuf.Bo" - + "olValue\"\235\001\n\022DatabaseEncryption\022A\n\005state\030" - + "\002 \001(\01622.google.container.v1beta1.Databas" - + "eEncryption.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005S" - + "tate\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECR" - + "YPTED\020\002\"\367\002\n\031ResourceUsageExportConfig\022e\n" - + "\024bigquery_destination\030\001 \001(\0132G.google.con" - + "tainer.v1beta1.ResourceUsageExportConfig" - + ".BigQueryDestination\022&\n\036enable_network_e" - + "gress_metering\030\002 \001(\010\022r\n\033consumption_mete" - + "ring_config\030\003 \001(\0132M.google.container.v1b" - + "eta1.ResourceUsageExportConfig.Consumpti" - + "onMeteringConfig\032)\n\023BigQueryDestination\022" - + "\022\n\ndataset_id\030\001 \001(\t\032,\n\031ConsumptionMeteri" - + "ngConfig\022\017\n\007enabled\030\001 \001(\010\" \n\rShieldedNod" - + "es\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtualNIC\022\017\n\007ena" - + "bled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022\016\n\006" - + "parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigResponse" - + "\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030re" - + "sponse_types_supported\030\003 \003(\t\022\037\n\027subject_" - + "types_supported\030\004 \003(\t\022-\n%id_token_signin" - + "g_alg_values_supported\030\005 \003(\t\022\030\n\020claims_s" - + "upported\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"\'\n\025G" - + "etJSONWebKeysRequest\022\016\n\006parent\030\001 \001(\t\"r\n\003" - + "Jwk\022\013\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001" - + "(\t\022\013\n\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n" - + "\001x\030\007 \001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"E\n\026GetJ" - + "SONWebKeysResponse\022+\n\004keys\030\001 \003(\0132\035.googl" - + "e.container.v1beta1.Jwk\"\223\001\n\016ReleaseChann" - + "el\022A\n\007channel\030\001 \001(\01620.google.container.v" - + "1beta1.ReleaseChannel.Channel\">\n\007Channel" - + "\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020" - + "\002\022\n\n\006STABLE\020\003\"U\n\tTpuConfig\022\017\n\007enabled\030\001 " - + "\001(\010\022\036\n\026use_service_networking\030\002 \001(\010\022\027\n\017i" - + "pv4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\034\n\tAutopi" - + "lot\022\017\n\007enabled\030\001 \001(\010\"\267\003\n\022NotificationCon" - + "fig\022C\n\006pubsub\030\001 \001(\01323.google.container.v" - + "1beta1.NotificationConfig.PubSub\032\217\001\n\006Pub" - + "Sub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035" - + "\n\033pubsub.googleapis.com/Topic\022C\n\006filter\030" - + "\003 \001(\01323.google.container.v1beta1.Notific" - + "ationConfig.Filter\032T\n\006Filter\022J\n\nevent_ty" - + "pe\030\001 \003(\01626.google.container.v1beta1.Noti" - + "ficationConfig.EventType\"t\n\tEventType\022\032\n" - + "\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_AVA" - + "ILABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SEC" - + "URITY_BULLETIN_EVENT\020\003\"$\n\021ConfidentialNo" - + "des\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\014UpgradeEvent\022D\n" - + "\rresource_type\030\001 \001(\0162-.google.container." - + "v1beta1.UpgradeResourceType\022\021\n\toperation" - + "\030\002 \001(\t\0228\n\024operation_start_time\030\003 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022\027\n\017current_vers" - + "ion\030\004 \001(\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010res" - + "ource\030\006 \001(\t\"\210\002\n\025UpgradeAvailableEvent\022\017\n" - + "\007version\030\001 \001(\t\022D\n\rresource_type\030\002 \001(\0162-." - + "google.container.v1beta1.UpgradeResource" - + "Type\022A\n\017release_channel\030\003 \001(\0132(.google.c" - + "ontainer.v1beta1.ReleaseChannel\022\020\n\010resou" - + "rce\030\004 \001(\t\022C\n\020windows_versions\030\005 \001(\0132).go" - + "ogle.container.v1beta1.WindowsVersions\"\236" - + "\002\n\025SecurityBulletinEvent\022\036\n\026resource_typ" - + "e_affected\030\001 \001(\t\022\023\n\013bulletin_id\030\002 \001(\t\022\017\n" - + "\007cve_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014bull" - + "etin_uri\030\005 \001(\t\022\031\n\021brief_description\030\006 \001(" - + "\t\022!\n\031affected_supported_minors\030\007 \003(\t\022\030\n\020" - + "patched_versions\030\010 \003(\t\022 \n\030suggested_upgr" - + "ade_target\030\t \001(\t\022\035\n\025manual_steps_require" - + "d\030\n \001(\010\"(\n\025IdentityServiceConfig\022\017\n\007enab" - + "led\030\001 \001(\010\"[\n\rLoggingConfig\022J\n\020component_" - + "config\030\001 \001(\01320.google.container.v1beta1." - + "LoggingComponentConfig\"\275\001\n\026LoggingCompon" - + "entConfig\022U\n\021enable_components\030\001 \003(\0162:.g" - + "oogle.container.v1beta1.LoggingComponent" - + "Config.Component\"L\n\tComponent\022\031\n\025COMPONE" - + "NT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022" - + "\r\n\tWORKLOADS\020\002\"\267\001\n\020MonitoringConfig\022M\n\020c" - + "omponent_config\030\001 \001(\01323.google.container" - + ".v1beta1.MonitoringComponentConfig\022T\n\031ma" - + "naged_prometheus_config\030\002 \001(\01321.google.c" - + "ontainer.v1beta1.ManagedPrometheusConfig" - + "\"\303\001\n\031MonitoringComponentConfig\022X\n\021enable" - + "_components\030\001 \003(\0162=.google.container.v1b" - + "eta1.MonitoringComponentConfig.Component" - + "\"L\n\tComponent\022\031\n\025COMPONENT_UNSPECIFIED\020\000" - + "\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWORKLOADS\020\002*\306" - + "\001\n\027PrivateIPv6GoogleAccess\022*\n&PRIVATE_IP" - + "V6_GOOGLE_ACCESS_UNSPECIFIED\020\000\022\'\n#PRIVAT" - + "E_IPV6_GOOGLE_ACCESS_DISABLED\020\001\022(\n$PRIVA" - + "TE_IPV6_GOOGLE_ACCESS_TO_GOOGLE\020\002\022,\n(PRI" - + "VATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL\020\003*" - + "a\n\020DatapathProvider\022!\n\035DATAPATH_PROVIDER" - + "_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n\021A" - + "DVANCED_DATAPATH\020\002*W\n\023UpgradeResourceTyp" - + "e\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000" - + "\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\0022\352J\n\016ClusterM" - + "anager\022\363\001\n\014ListClusters\022-.google.contain" - + "er.v1beta1.ListClustersRequest\032..google." - + "container.v1beta1.ListClustersResponse\"\203" - + "\001\202\323\344\223\002k\0221/v1beta1/{parent=projects/*/loc" - + "ations/*}/clustersZ6\0224/v1beta1/projects/" - + "{project_id}/zones/{zone}/clusters\332A\017pro" - + "ject_id,zone\022\372\001\n\nGetCluster\022+.google.con" - + "tainer.v1beta1.GetClusterRequest\032!.googl", - "e.container.v1beta1.Cluster\"\233\001\202\323\344\223\002x\0221/v" + + "icy\022G\n\013update_info\030m \001(\0132-.google.contai" + + "ner.v1beta1.NodePool.UpdateInfoB\003\340A\003\032\372\001\n" + + "\017UpgradeSettings\022\021\n\tmax_surge\030\001 \001(\005\022\027\n\017m" + + "ax_unavailable\030\002 \001(\005\022G\n\010strategy\030\003 \001(\01620" + + ".google.container.v1beta1.NodePoolUpdate" + + "StrategyH\000\210\001\001\022M\n\023blue_green_settings\030\004 \001" + + "(\0132+.google.container.v1beta1.BlueGreenS" + + "ettingsH\001\210\001\001B\013\n\t_strategyB\026\n\024_blue_green" + + "_settings\032\222\004\n\nUpdateInfo\022T\n\017blue_green_i" + + "nfo\030\001 \001(\0132;.google.container.v1beta1.Nod" + + "ePool.UpdateInfo.BlueGreenInfo\032\255\003\n\rBlueG" + + "reenInfo\022P\n\005phase\030\001 \001(\0162A.google.contain" + + "er.v1beta1.NodePool.UpdateInfo.BlueGreen" + + "Info.Phase\022 \n\030blue_instance_group_urls\030\002" + + " \003(\t\022!\n\031green_instance_group_urls\030\003 \003(\t\022" + + "%\n\035blue_pool_deletion_start_time\030\004 \001(\t\022\032" + + "\n\022green_pool_version\030\005 \001(\t\"\301\001\n\005Phase\022\025\n\021" + + "PHASE_UNSPECIFIED\020\000\022\022\n\016UPDATE_STARTED\020\001\022" + + "\027\n\023CREATING_GREEN_POOL\020\002\022\027\n\023CORDONING_BL" + + "UE_POOL\020\003\022\026\n\022DRAINING_BLUE_POOL\020\004\022\025\n\021NOD" + + "E_POOL_SOAKING\020\005\022\026\n\022DELETING_BLUE_POOL\020\006" + + "\022\024\n\020ROLLBACK_STARTED\020\007\032\203\001\n\017PlacementPoli" + + "cy\022E\n\004type\030\001 \001(\01627.google.container.v1be" + + "ta1.NodePool.PlacementPolicy.Type\")\n\004Typ" + + "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013\n\007COMPACT\020\001\"\201\001\n" + + "\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVI" + + "SIONING\020\001\022\013\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_E" + + "RROR\020\003\022\017\n\013RECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n" + + "\005ERROR\020\006\"\202\001\n\016NodeManagement\022\024\n\014auto_upgr" + + "ade\030\001 \001(\010\022\023\n\013auto_repair\030\002 \001(\010\022E\n\017upgrad" + + "e_options\030\n \001(\0132,.google.container.v1bet" + + "a1.AutoUpgradeOptions\"J\n\022AutoUpgradeOpti" + + "ons\022\037\n\027auto_upgrade_start_time\030\001 \001(\t\022\023\n\013" + + "description\030\002 \001(\t\"j\n\021MaintenancePolicy\022;" + + "\n\006window\030\001 \001(\0132+.google.container.v1beta" + + "1.MaintenanceWindow\022\030\n\020resource_version\030" + + "\003 \001(\t\"\212\003\n\021MaintenanceWindow\022T\n\030daily_mai" + + "ntenance_window\030\002 \001(\01320.google.container" + + ".v1beta1.DailyMaintenanceWindowH\000\022I\n\020rec" + + "urring_window\030\003 \001(\0132-.google.container.v" + + "1beta1.RecurringTimeWindowH\000\022f\n\026maintena" + + "nce_exclusions\030\004 \003(\0132F.google.container." + + "v1beta1.MaintenanceWindow.MaintenanceExc" + + "lusionsEntry\032b\n\032MaintenanceExclusionsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\0223\n\005value\030\002 \001(\0132$.google." + + "container.v1beta1.TimeWindow:\0028\001B\010\n\006poli" + + "cy\"\325\001\n\nTimeWindow\022^\n\035maintenance_exclusi" + + "on_options\030\003 \001(\01325.google.container.v1be" + + "ta1.MaintenanceExclusionOptionsH\000\022.\n\nsta" + + "rt_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "p\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestampB\t\n\007options\"\271\001\n\033MaintenanceExclus" + + "ionOptions\022J\n\005scope\030\001 \001(\0162;.google.conta" + + "iner.v1beta1.MaintenanceExclusionOptions" + + ".Scope\"N\n\005Scope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021NO_M" + + "INOR_UPGRADES\020\001\022\035\n\031NO_MINOR_OR_NODE_UPGR" + + "ADES\020\002\"_\n\023RecurringTimeWindow\0224\n\006window\030" + + "\001 \001(\0132$.google.container.v1beta1.TimeWin" + + "dow\022\022\n\nrecurrence\030\002 \001(\t\">\n\026DailyMaintena" + + "nceWindow\022\022\n\nstart_time\030\002 \001(\t\022\020\n\010duratio" + + "n\030\003 \001(\t\"\327\001\n\034SetNodePoolManagementRequest" + + "\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(" + + "\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014n" + + "ode_pool_id\030\004 \001(\tB\005\030\001\340A\002\022A\n\nmanagement\030\005" + + " \001(\0132(.google.container.v1beta1.NodeMana" + + "gementB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\247\001\n\026SetNodePoo" + + "lSizeRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022" + + "\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\t" + + "B\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\027\n\n" + + "node_count\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\".\n\036C" + + "ompleteNodePoolUpgradeRequest\022\014\n\004name\030\001 " + + "\001(\t\"\253\001\n\036RollbackNodePoolUpgradeRequest\022\031" + + "\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB" + + "\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014nod" + + "e_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\022\023\n\013" + + "respect_pdb\030\007 \001(\010\"O\n\025ListNodePoolsRespon" + + "se\0226\n\nnode_pools\030\001 \003(\0132\".google.containe" + + "r.v1beta1.NodePool\"\276\003\n\022ClusterAutoscalin" + + "g\022$\n\034enable_node_autoprovisioning\030\001 \001(\010\022" + + "@\n\017resource_limits\030\002 \003(\0132\'.google.contai" + + "ner.v1beta1.ResourceLimit\022\\\n\023autoscaling" + + "_profile\030\003 \001(\0162?.google.container.v1beta" + + "1.ClusterAutoscaling.AutoscalingProfile\022" + + "g\n#autoprovisioning_node_pool_defaults\030\004" + + " \001(\0132:.google.container.v1beta1.Autoprov" + + "isioningNodePoolDefaults\022\"\n\032autoprovisio" + + "ning_locations\030\005 \003(\t\"U\n\022AutoscalingProfi" + + "le\022\027\n\023PROFILE_UNSPECIFIED\020\000\022\030\n\024OPTIMIZE_" + + "UTILIZATION\020\001\022\014\n\010BALANCED\020\002\"\247\003\n Autoprov" + + "isioningNodePoolDefaults\022\024\n\014oauth_scopes" + + "\030\001 \003(\t\022\027\n\017service_account\030\002 \001(\t\022L\n\020upgra" + + "de_settings\030\003 \001(\01322.google.container.v1b" + + "eta1.NodePool.UpgradeSettings\022<\n\nmanagem" + + "ent\030\004 \001(\0132(.google.container.v1beta1.Nod" + + "eManagement\022\034\n\020min_cpu_platform\030\005 \001(\tB\002\030" + + "\001\022\024\n\014disk_size_gb\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001" + + "(\t\022R\n\030shielded_instance_config\030\010 \001(\01320.g" + + "oogle.container.v1beta1.ShieldedInstance" + + "Config\022\031\n\021boot_disk_kms_key\030\t \001(\t\022\022\n\nima" + + "ge_type\030\n \001(\t\"H\n\rResourceLimit\022\025\n\rresour" + + "ce_type\030\001 \001(\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007maximu" + + "m\030\003 \001(\003\"\314\002\n\023NodePoolAutoscaling\022\017\n\007enabl" + + "ed\030\001 \001(\010\022\026\n\016min_node_count\030\002 \001(\005\022\026\n\016max_" + + "node_count\030\003 \001(\005\022\027\n\017autoprovisioned\030\004 \001(" + + "\010\022U\n\017location_policy\030\005 \001(\0162<.google.cont" + + "ainer.v1beta1.NodePoolAutoscaling.Locati" + + "onPolicy\022\034\n\024total_min_node_count\030\006 \001(\005\022\034" + + "\n\024total_max_node_count\030\007 \001(\005\"H\n\016Location" + + "Policy\022\037\n\033LOCATION_POLICY_UNSPECIFIED\020\000\022" + + "\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\240\002\n\020SetLabelsRequ" + + "est\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002" + + " \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\\" + + "\n\017resource_labels\030\004 \003(\0132>.google.contain" + + "er.v1beta1.SetLabelsRequest.ResourceLabe" + + "lsEntryB\003\340A\002\022\036\n\021label_fingerprint\030\005 \001(\tB" + + "\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023ResourceLabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\024Se" + + "tLegacyAbacRequest\022\031\n\nproject_id\030\001 \001(\tB\005" + + "\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id" + + "\030\003 \001(\tB\005\030\001\340A\002\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004n" + + "ame\030\006 \001(\t\"\215\001\n\026StartIPRotationRequest\022\031\n\n" + + "project_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030" + + "\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030" + + "\006 \001(\t\022\032\n\022rotate_credentials\030\007 \001(\010\"t\n\031Com" + + "pleteIPRotationRequest\022\031\n\nproject_id\030\001 \001" + + "(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluste" + + "r_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\007 \001(\t\"\365\001\n\021Acce" + + "leratorConfig\022\031\n\021accelerator_count\030\001 \001(\003" + + "\022\030\n\020accelerator_type\030\002 \001(\t\022\032\n\022gpu_partit" + + "ion_size\030\003 \001(\t\022+\n\037max_time_shared_client" + + "s_per_gpu\030\004 \001(\003B\002\030\001\022K\n\022gpu_sharing_confi" + + "g\030\005 \001(\0132*.google.container.v1beta1.GPUSh" + + "aringConfigH\000\210\001\001B\025\n\023_gpu_sharing_config\"" + + "\377\001\n\020GPUSharingConfig\022\"\n\032max_shared_clien" + + "ts_per_gpu\030\001 \001(\003\022`\n\024gpu_sharing_strategy" + + "\030\002 \001(\0162=.google.container.v1beta1.GPUSha" + + "ringConfig.GPUSharingStrategyH\000\210\001\001\"L\n\022GP" + + "USharingStrategy\022$\n GPU_SHARING_STRATEGY" + + "_UNSPECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027\n\025_gpu" + + "_sharing_strategy\"*\n\027ManagedPrometheusCo" + + "nfig\022\017\n\007enabled\030\001 \001(\010\"\313\002\n\026WorkloadMetada" + + "taConfig\022X\n\rnode_metadata\030\001 \001(\0162=.google" + + ".container.v1beta1.WorkloadMetadataConfi" + + "g.NodeMetadataB\002\030\001\022C\n\004mode\030\002 \001(\01625.googl" + + "e.container.v1beta1.WorkloadMetadataConf" + + "ig.Mode\"P\n\014NodeMetadata\022\017\n\013UNSPECIFIED\020\000" + + "\022\n\n\006SECURE\020\001\022\n\n\006EXPOSE\020\002\022\027\n\023GKE_METADATA" + + "_SERVER\020\003\"@\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022" + + "\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_METADATA\020\002\"\270\001\n\027" + + "SetNetworkPolicyRequest\022\031\n\nproject_id\030\001 " + + "\001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nclust" + + "er_id\030\003 \001(\tB\005\030\001\340A\002\022D\n\016network_policy\030\004 \001" + + "(\0132\'.google.container.v1beta1.NetworkPol" + + "icyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\276\001\n\033SetMaintenanc" + + "ePolicyRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022" + + "\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\ncluster_id\030\003 \001(\tB\003" + + "\340A\002\022L\n\022maintenance_policy\030\004 \001(\0132+.google" + + ".container.v1beta1.MaintenancePolicyB\003\340A" + + "\002\022\014\n\004name\030\005 \001(\t\"+\n\024ListLocationsRequest\022" + + "\023\n\006parent\030\001 \001(\tB\003\340A\002\"g\n\025ListLocationsRes" + + "ponse\0225\n\tlocations\030\001 \003(\0132\".google.contai" + + "ner.v1beta1.Location\022\027\n\017next_page_token\030" + + "\002 \001(\t\"\261\001\n\010Location\022=\n\004type\030\001 \001(\0162/.googl" + + "e.container.v1beta1.Location.LocationTyp" + + "e\022\014\n\004name\030\002 \001(\t\022\023\n\013recommended\030\003 \001(\010\"C\n\014" + + "LocationType\022\035\n\031LOCATION_TYPE_UNSPECIFIE" + + "D\020\000\022\010\n\004ZONE\020\001\022\n\n\006REGION\020\002\"\262\002\n\017StatusCond" + + "ition\022@\n\004code\030\001 \001(\0162..google.container.v" + + "1beta1.StatusCondition.CodeB\002\030\001\022\017\n\007messa" + + "ge\030\002 \001(\t\022(\n\016canonical_code\030\003 \001(\0162\020.googl" + + "e.rpc.Code\"\241\001\n\004Code\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_" + + "STOCKOUT\020\001\022\037\n\033GKE_SERVICE_ACCOUNT_DELETE" + + "D\020\002\022\026\n\022GCE_QUOTA_EXCEEDED\020\003\022\023\n\017SET_BY_OP" + + "ERATOR\020\004\022\027\n\023CLOUD_KMS_KEY_ERROR\020\007\022\017\n\013CA_" + + "EXPIRING\020\t\032\002\030\001\"\365\003\n\rNetworkConfig\022\017\n\007netw" + + "ork\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022$\n\034enable_" + + "intra_node_visibility\030\005 \001(\010\022H\n\023default_s" + + "nat_status\030\007 \001(\0132+.google.container.v1be" + + "ta1.DefaultSnatStatus\022\037\n\027enable_l4ilb_su" + + "bsetting\030\n \001(\010\022E\n\021datapath_provider\030\013 \001(" + + "\0162*.google.container.v1beta1.DatapathPro" + + "vider\022U\n\032private_ipv6_google_access\030\014 \001(" + + "\01621.google.container.v1beta1.PrivateIPv6" + + "GoogleAccess\0227\n\ndns_config\030\r \001(\0132#.googl" + + "e.container.v1beta1.DNSConfig\022W\n\033service" + + "_external_ips_config\030\017 \001(\01322.google.cont" + + "ainer.v1beta1.ServiceExternalIPsConfig\"+" + + "\n\030ServiceExternalIPsConfig\022\017\n\007enabled\030\001 " + + "\001(\010\"j\n\034ListUsableSubnetworksRequest\022\023\n\006p" + + "arent\030\001 \001(\tB\003\340A\002\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage" + + "_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"y\n\035ListU" + + "sableSubnetworksResponse\022?\n\013subnetworks\030" + + "\001 \003(\0132*.google.container.v1beta1.UsableS" + + "ubnetwork\022\027\n\017next_page_token\030\002 \001(\t\"\205\002\n\036U" + + "sableSubnetworkSecondaryRange\022\022\n\nrange_n" + + "ame\030\001 \001(\t\022\025\n\rip_cidr_range\030\002 \001(\t\022O\n\006stat" + + "us\030\003 \001(\0162?.google.container.v1beta1.Usab" + + "leSubnetworkSecondaryRange.Status\"g\n\006Sta" + + "tus\022\013\n\007UNKNOWN\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_S" + + "ERVICE\020\002\022\030\n\024IN_USE_SHAREABLE_POD\020\003\022\026\n\022IN" + + "_USE_MANAGED_POD\020\004\"\275\001\n\020UsableSubnetwork\022" + + "\022\n\nsubnetwork\030\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\025\n\r" + + "ip_cidr_range\030\003 \001(\t\022U\n\023secondary_ip_rang" + + "es\030\004 \003(\01328.google.container.v1beta1.Usab" + + "leSubnetworkSecondaryRange\022\026\n\016status_mes" + + "sage\030\005 \001(\t\")\n\026VerticalPodAutoscaling\022\017\n\007" + + "enabled\030\001 \001(\010\"%\n\021DefaultSnatStatus\022\020\n\010di" + + "sabled\030\001 \001(\010\",\n\031IntraNodeVisibilityConfi" + + "g\022\017\n\007enabled\030\001 \001(\010\"&\n\023ILBSubsettingConfi" + + "g\022\017\n\007enabled\030\001 \001(\010\"\307\002\n\tDNSConfig\022A\n\013clus" + + "ter_dns\030\001 \001(\0162,.google.container.v1beta1" + + ".DNSConfig.Provider\022G\n\021cluster_dns_scope" + + "\030\002 \001(\0162,.google.container.v1beta1.DNSCon" + + "fig.DNSScope\022\032\n\022cluster_dns_domain\030\003 \001(\t", + "\"I\n\010Provider\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\024" + + "\n\020PLATFORM_DEFAULT\020\001\022\r\n\tCLOUD_DNS\020\002\"G\n\010D" + + "NSScope\022\031\n\025DNS_SCOPE_UNSPECIFIED\020\000\022\021\n\rCL" + + "USTER_SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\".\n\021MaxPodsC" + + "onstraint\022\031\n\021max_pods_per_node\030\001 \001(\003\"j\n\026" + + "WorkloadIdentityConfig\022\036\n\022identity_names" + + "pace\030\001 \001(\tB\002\030\001\022\025\n\rworkload_pool\030\002 \001(\t\022\031\n" + + "\021identity_provider\030\003 \001(\t\"E\n\022WorkloadALTS" + + "Config\022/\n\013enable_alts\030\001 \001(\0132\032.google.pro" + + "tobuf.BoolValue\"O\n\024WorkloadCertificates\022" + + "7\n\023enable_certificates\030\001 \001(\0132\032.google.pr" + + "otobuf.BoolValue\"K\n\020MeshCertificates\0227\n\023" + + "enable_certificates\030\001 \001(\0132\032.google.proto" + + "buf.BoolValue\"\235\001\n\022DatabaseEncryption\022A\n\005" + + "state\030\002 \001(\01622.google.container.v1beta1.D" + + "atabaseEncryption.State\022\020\n\010key_name\030\001 \001(" + + "\t\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r" + + "\n\tDECRYPTED\020\002\"\367\002\n\031ResourceUsageExportCon" + + "fig\022e\n\024bigquery_destination\030\001 \001(\0132G.goog" + + "le.container.v1beta1.ResourceUsageExport" + + "Config.BigQueryDestination\022&\n\036enable_net" + + "work_egress_metering\030\002 \001(\010\022r\n\033consumptio" + + "n_metering_config\030\003 \001(\0132M.google.contain" + + "er.v1beta1.ResourceUsageExportConfig.Con" + + "sumptionMeteringConfig\032)\n\023BigQueryDestin" + + "ation\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Consumption" + + "MeteringConfig\022\017\n\007enabled\030\001 \001(\010\" \n\rShiel" + + "dedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtualNIC\022" + + "\017\n\007enabled\030\001 \001(\010\"(\n\026GetOpenIDConfigReque" + + "st\022\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRe" + + "sponse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t" + + "\022 \n\030response_types_supported\030\003 \003(\t\022\037\n\027su" + + "bject_types_supported\030\004 \003(\t\022-\n%id_token_" + + "signing_alg_values_supported\030\005 \003(\t\022\030\n\020cl" + + "aims_supported\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(" + + "\t\"\'\n\025GetJSONWebKeysRequest\022\016\n\006parent\030\001 \001" + + "(\t\"r\n\003Jwk\022\013\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003u" + + "se\030\003 \001(\t\022\013\n\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 " + + "\001(\t\022\t\n\001x\030\007 \001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"E" + + "\n\026GetJSONWebKeysResponse\022+\n\004keys\030\001 \003(\0132\035" + + ".google.container.v1beta1.Jwk\"\223\001\n\016Releas" + + "eChannel\022A\n\007channel\030\001 \001(\01620.google.conta" + + "iner.v1beta1.ReleaseChannel.Channel\">\n\007C" + + "hannel\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007RE" + + "GULAR\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagementCon" + + "fig\022\017\n\007enabled\030\001 \001(\010\"U\n\tTpuConfig\022\017\n\007ena" + + "bled\030\001 \001(\010\022\036\n\026use_service_networking\030\002 \001" + + "(\010\022\027\n\017ipv4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\034\n" + + "\tAutopilot\022\017\n\007enabled\030\001 \001(\010\"\267\003\n\022Notifica" + + "tionConfig\022C\n\006pubsub\030\001 \001(\01323.google.cont" + + "ainer.v1beta1.NotificationConfig.PubSub\032" + + "\217\001\n\006PubSub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001" + + "(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022C\n\006" + + "filter\030\003 \001(\01323.google.container.v1beta1." + + "NotificationConfig.Filter\032T\n\006Filter\022J\n\ne" + + "vent_type\030\001 \003(\01626.google.container.v1bet" + + "a1.NotificationConfig.EventType\"t\n\tEvent" + + "Type\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGR" + + "ADE_AVAILABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002" + + "\022\033\n\027SECURITY_BULLETIN_EVENT\020\003\"$\n\021Confide" + + "ntialNodes\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\014UpgradeE" + + "vent\022D\n\rresource_type\030\001 \001(\0162-.google.con" + + "tainer.v1beta1.UpgradeResourceType\022\021\n\top" + + "eration\030\002 \001(\t\0228\n\024operation_start_time\030\003 " + + "\001(\0132\032.google.protobuf.Timestamp\022\027\n\017curre" + + "nt_version\030\004 \001(\t\022\026\n\016target_version\030\005 \001(\t" + + "\022\020\n\010resource\030\006 \001(\t\"\210\002\n\025UpgradeAvailableE" + + "vent\022\017\n\007version\030\001 \001(\t\022D\n\rresource_type\030\002" + + " \001(\0162-.google.container.v1beta1.UpgradeR" + + "esourceType\022A\n\017release_channel\030\003 \001(\0132(.g" + + "oogle.container.v1beta1.ReleaseChannel\022\020" + + "\n\010resource\030\004 \001(\t\022C\n\020windows_versions\030\005 \001" + + "(\0132).google.container.v1beta1.WindowsVer" + + "sions\"\236\002\n\025SecurityBulletinEvent\022\036\n\026resou" + + "rce_type_affected\030\001 \001(\t\022\023\n\013bulletin_id\030\002" + + " \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022" + + "\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021brief_descripti" + + "on\030\006 \001(\t\022!\n\031affected_supported_minors\030\007 " + + "\003(\t\022\030\n\020patched_versions\030\010 \003(\t\022 \n\030suggest" + + "ed_upgrade_target\030\t \001(\t\022\035\n\025manual_steps_" + + "required\030\n \001(\010\"(\n\025IdentityServiceConfig\022" + + "\017\n\007enabled\030\001 \001(\010\"[\n\rLoggingConfig\022J\n\020com" + + "ponent_config\030\001 \001(\01320.google.container.v" + + "1beta1.LoggingComponentConfig\"\275\001\n\026Loggin" + + "gComponentConfig\022U\n\021enable_components\030\001 " + + "\003(\0162:.google.container.v1beta1.LoggingCo" + + "mponentConfig.Component\"L\n\tComponent\022\031\n\025" + + "COMPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPON" + + "ENTS\020\001\022\r\n\tWORKLOADS\020\002\"\267\001\n\020MonitoringConf" + + "ig\022M\n\020component_config\030\001 \001(\01323.google.co" + + "ntainer.v1beta1.MonitoringComponentConfi" + + "g\022T\n\031managed_prometheus_config\030\002 \001(\01321.g" + + "oogle.container.v1beta1.ManagedPrometheu" + + "sConfig\"\376\001\n\031MonitoringComponentConfig\022X\n" + + "\021enable_components\030\001 \003(\0162=.google.contai" + + "ner.v1beta1.MonitoringComponentConfig.Co" + + "mponent\"\206\001\n\tComponent\022\031\n\025COMPONENT_UNSPE" + + "CIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\021\n\tWORKL" + + "OADS\020\002\032\002\010\001\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004" + + "\022\026\n\022CONTROLLER_MANAGER\020\005*\306\001\n\027PrivateIPv6" + + "GoogleAccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCE" + + "SS_UNSPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_" + + "ACCESS_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE" + + "_ACCESS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOG" + + "LE_ACCESS_BIDIRECTIONAL\020\003*W\n\023UpgradeReso" + + "urceType\022%\n!UPGRADE_RESOURCE_TYPE_UNSPEC" + + "IFIED\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*^\n\026No" + + "dePoolUpdateStrategy\022)\n%NODE_POOL_UPDATE" + + "_STRATEGY_UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022" + + "\t\n\005SURGE\020\003*a\n\020DatapathProvider\022!\n\035DATAPA" + + "TH_PROVIDER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATA" + + "PATH\020\001\022\025\n\021ADVANCED_DATAPATH\020\0022\262L\n\016Cluste" + + "rManager\022\363\001\n\014ListClusters\022-.google.conta" + + "iner.v1beta1.ListClustersRequest\032..googl" + + "e.container.v1beta1.ListClustersResponse" + + "\"\203\001\202\323\344\223\002k\0221/v1beta1/{parent=projects/*/l" + + "ocations/*}/clustersZ6\0224/v1beta1/project" + + "s/{project_id}/zones/{zone}/clusters\332A\017p" + + "roject_id,zone\022\372\001\n\nGetCluster\022+.google.c" + + "ontainer.v1beta1.GetClusterRequest\032!.goo" + + "gle.container.v1beta1.Cluster\"\233\001\202\323\344\223\002x\0221" + + "/v1beta1/{name=projects/*/locations/*/cl" + + "usters/*}ZC\022A/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}\332A" + + "\032project_id,zone,cluster_id\022\370\001\n\rCreateCl" + + "uster\022..google.container.v1beta1.CreateC" + + "lusterRequest\032#.google.container.v1beta1" + + ".Operation\"\221\001\202\323\344\223\002q\"1/v1beta1/{parent=pr" + + "ojects/*/locations/*}/clusters:\001*Z9\"4/v1" + + "beta1/projects/{project_id}/zones/{zone}" + + "/clusters:\001*\332A\027project_id,zone,cluster\022\217" + + "\002\n\rUpdateCluster\022..google.container.v1be" + + "ta1.UpdateClusterRequest\032#.google.contai" + + "ner.v1beta1.Operation\"\250\001\202\323\344\223\002~\0321/v1beta1" + + "/{name=projects/*/locations/*/clusters/*" + + "}:\001*ZF\032A/v1beta1/projects/{project_id}/z" + + "ones/{zone}/clusters/{cluster_id}:\001*\332A!p" + + "roject_id,zone,cluster_id,update\022\232\002\n\016Upd" + + "ateNodePool\022/.google.container.v1beta1.U" + + "pdateNodePoolRequest\032#.google.container." + + "v1beta1.Operation\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{n" + + "ame=projects/*/locations/*/clusters/*/no" + + "dePools/*}:\001*Zf\"a/v1beta1/projects/{proj" + + "ect_id}/zones/{zone}/clusters/{cluster_i" + + "d}/nodePools/{node_pool_id}/update:\001*\022\276\002" + + "\n\026SetNodePoolAutoscaling\0227.google.contai" + + "ner.v1beta1.SetNodePoolAutoscalingReques" + + "t\032#.google.container.v1beta1.Operation\"\305" + + "\001\202\323\344\223\002\276\001\"L/v1beta1/{name=projects/*/loca" + + "tions/*/clusters/*/nodePools/*}:setAutos" + + "caling:\001*Zk\"f/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}/n" + + "odePools/{node_pool_id}/autoscaling:\001*\022\264" + + "\002\n\021SetLoggingService\0222.google.container." + + "v1beta1.SetLoggingServiceRequest\032#.googl" + + "e.container.v1beta1.Operation\"\305\001\202\323\344\223\002\221\001\"" + + "/v1beta1/{name=projects/*/" + + "locations/*/clusters/*}:setLocations:\001*Z" + + "P\"K/v1beta1/projects/{project_id}/zones/" + + "{zone}/clusters/{cluster_id}/locations:\001" + + "*\332A$project_id,zone,cluster_id,locations" + + "\022\252\002\n\014UpdateMaster\022-.google.container.v1b" + + "eta1.UpdateMasterRequest\032#.google.contai" + + "ner.v1beta1.Operation\"\305\001\202\323\344\223\002\222\001\">/v1beta" + + "1/{name=projects/*/locations/*/clusters/" + + "*}:updateMaster:\001*ZM\"H/v1beta1/projects/" + + "{project_id}/zones/{zone}/clusters/{clus" + + "ter_id}/master:\001*\332A)project_id,zone,clus" + + "ter_id,master_version\022\210\002\n\rSetMasterAuth\022" + + "..google.container.v1beta1.SetMasterAuth" + + "Request\032#.google.container.v1beta1.Opera" + + "tion\"\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=projects/" + + "*/locations/*/clusters/*}:setMasterAuth:" + + "\001*ZT\"O/v1beta1/projects/{project_id}/zon" + + "es/{zone}/clusters/{cluster_id}:setMaste" + + "rAuth:\001*\022\202\002\n\rDeleteCluster\022..google.cont" + + "ainer.v1beta1.DeleteClusterRequest\032#.goo" + + "gle.container.v1beta1.Operation\"\233\001\202\323\344\223\002x" + + "*1/v1beta1/{name=projects/*/locations/*/" + + "clusters/*}ZC*A/v1beta1/projects/{projec" + + "t_id}/zones/{zone}/clusters/{cluster_id}" + + "\332A\032project_id,zone,cluster_id\022\375\001\n\016ListOp" + + "erations\022/.google.container.v1beta1.List" + + "OperationsRequest\0320.google.container.v1b" + + "eta1.ListOperationsResponse\"\207\001\202\323\344\223\002o\0223/v" + + "1beta1/{parent=projects/*/locations/*}/o" + + "perationsZ8\0226/v1beta1/projects/{project_" + + "id}/zones/{zone}/operations\332A\017project_id" + + ",zone\022\210\002\n\014GetOperation\022-.google.containe" + + "r.v1beta1.GetOperationRequest\032#.google.c" + + "ontainer.v1beta1.Operation\"\243\001\202\323\344\223\002~\0223/v1" + + "beta1/{name=projects/*/locations/*/opera" + + "tions/*}ZG\022E/v1beta1/projects/{project_i" + + "d}/zones/{zone}/operations/{operation_id" + + "}\332A\034project_id,zone,operation_id\022\226\002\n\017Can" + + "celOperation\0220.google.container.v1beta1." + + "CancelOperationRequest\032\026.google.protobuf" + + ".Empty\"\270\001\202\323\344\223\002\222\001\":/v1beta1/{name=project" + + "s/*/locations/*/operations/*}:cancel:\001*Z" + + "Q\"L/v1beta1/projects/{project_id}/zones/" + + "{zone}/operations/{operation_id}:cancel:" + + "\001*\332A\034project_id,zone,operation_id\022\367\001\n\017Ge" + + "tServerConfig\0220.google.container.v1beta1" + + ".GetServerConfigRequest\032&.google.contain" + + "er.v1beta1.ServerConfig\"\211\001\202\323\344\223\002q\0223/v1bet" + + "a1/{name=projects/*/locations/*}/serverC" + + "onfigZ:\0228/v1beta1/projects/{project_id}/" + + "zones/{zone}/serverconfig\332A\017project_id,z" + + "one\022\245\002\n\rListNodePools\022..google.container" + + ".v1beta1.ListNodePoolsRequest\032/.google.c" + + "ontainer.v1beta1.ListNodePoolsResponse\"\262" + + "\001\202\323\344\223\002\216\001\022=/v1beta1/{parent=projects/*/lo" + + "cations/*/clusters/*}/nodePoolsZM\022K/v1be" + "ta1/projects/{project_id}/zones/{zone}/c" - + "lusters:\001*\332A\027project_id,zone,cluster\022\217\002\n" - + "\rUpdateCluster\022..google.container.v1beta" - + "1.UpdateClusterRequest\032#.google.containe" - + "r.v1beta1.Operation\"\250\001\202\323\344\223\002~\0321/v1beta1/{" - + "name=projects/*/locations/*/clusters/*}:" - + "\001*ZF\032A/v1beta1/projects/{project_id}/zon" - + "es/{zone}/clusters/{cluster_id}:\001*\332A!pro" - + "ject_id,zone,cluster_id,update\022\232\002\n\016Updat" - + "eNodePool\022/.google.container.v1beta1.Upd" + + "lusters/{cluster_id}/nodePools\332A\032project" + + "_id,zone,cluster_id\022\265\001\n\016GetJSONWebKeys\022/" + + ".google.container.v1beta1.GetJSONWebKeys" + + "Request\0320.google.container.v1beta1.GetJS" + + "ONWebKeysResponse\"@\202\323\344\223\002:\0228/v1beta1/{par" + + "ent=projects/*/locations/*/clusters/*}/j" + + "wks\022\260\002\n\013GetNodePool\022,.google.container.v" + + "1beta1.GetNodePoolRequest\032\".google.conta" + + "iner.v1beta1.NodePool\"\316\001\202\323\344\223\002\235\001\022=/v1beta" + + "1/{name=projects/*/locations/*/clusters/" + + "*/nodePools/*}Z\\\022Z/v1beta1/projects/{pro" + + "ject_id}/zones/{zone}/clusters/{cluster_" + + "id}/nodePools/{node_pool_id}\332A\'project_i" + + "d,zone,cluster_id,node_pool_id\022\253\002\n\016Creat" + + "eNodePool\022/.google.container.v1beta1.Cre" + "ateNodePoolRequest\032#.google.container.v1" - + "beta1.Operation\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{nam" - + "e=projects/*/locations/*/clusters/*/node" - + "Pools/*}:\001*Zf\"a/v1beta1/projects/{projec" + + "beta1.Operation\"\302\001\202\323\344\223\002\224\001\"=/v1beta1/{par" + + "ent=projects/*/locations/*/clusters/*}/n" + + "odePools:\001*ZP\"K/v1beta1/projects/{projec" + "t_id}/zones/{zone}/clusters/{cluster_id}" - + "/nodePools/{node_pool_id}/update:\001*\022\276\002\n\026" - + "SetNodePoolAutoscaling\0227.google.containe" - + "r.v1beta1.SetNodePoolAutoscalingRequest\032" - + "#.google.container.v1beta1.Operation\"\305\001\202" - + "\323\344\223\002\276\001\"L/v1beta1/{name=projects/*/locati" - + "ons/*/clusters/*/nodePools/*}:setAutosca" - + "ling:\001*Zk\"f/v1beta1/projects/{project_id" - + "}/zones/{zone}/clusters/{cluster_id}/nod" - + "ePools/{node_pool_id}/autoscaling:\001*\022\264\002\n" - + "\021SetLoggingService\0222.google.container.v1" - + "beta1.SetLoggingServiceRequest\032#.google." - + "container.v1beta1.Operation\"\305\001\202\323\344\223\002\221\001\"/v1beta1/{name=projects/*/lo" - + "cations/*/clusters/*}:setLocations:\001*ZP\"" - + "K/v1beta1/projects/{project_id}/zones/{z" - + "one}/clusters/{cluster_id}/locations:\001*\332" - + "A$project_id,zone,cluster_id,locations\022\252" - + "\002\n\014UpdateMaster\022-.google.container.v1bet" - + "a1.UpdateMasterRequest\032#.google.containe" - + "r.v1beta1.Operation\"\305\001\202\323\344\223\002\222\001\">/v1beta1/" - + "{name=projects/*/locations/*/clusters/*}" - + ":updateMaster:\001*ZM\"H/v1beta1/projects/{p" - + "roject_id}/zones/{zone}/clusters/{cluste" - + "r_id}/master:\001*\332A)project_id,zone,cluste" - + "r_id,master_version\022\210\002\n\rSetMasterAuth\022.." - + "google.container.v1beta1.SetMasterAuthRe" - + "quest\032#.google.container.v1beta1.Operati" - + "on\"\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=projects/*/" - + "locations/*/clusters/*}:setMasterAuth:\001*" - + "ZT\"O/v1beta1/projects/{project_id}/zones" - + "/{zone}/clusters/{cluster_id}:setMasterA" - + "uth:\001*\022\202\002\n\rDeleteCluster\022..google.contai" - + "ner.v1beta1.DeleteClusterRequest\032#.googl" - + "e.container.v1beta1.Operation\"\233\001\202\323\344\223\002x*1" + + "id}/nodePools/{node_pool_id}/setSize:\001*\022" + + "\300\002\n\020SetNetworkPolicy\0221.google.container." + + "v1beta1.SetNetworkPolicyRequest\032#.google" + + ".container.v1beta1.Operation\"\323\001\202\323\344\223\002\240\001\"B" + "/v1beta1/{name=projects/*/locations/*/cl" - + "usters/*}ZC*A/v1beta1/projects/{project_" - + "id}/zones/{zone}/clusters/{cluster_id}\332A" - + "\032project_id,zone,cluster_id\022\375\001\n\016ListOper" - + "ations\022/.google.container.v1beta1.ListOp" - + "erationsRequest\0320.google.container.v1bet" - + "a1.ListOperationsResponse\"\207\001\202\323\344\223\002o\0223/v1b" - + "eta1/{parent=projects/*/locations/*}/ope" - + "rationsZ8\0226/v1beta1/projects/{project_id" - + "}/zones/{zone}/operations\332A\017project_id,z" - + "one\022\210\002\n\014GetOperation\022-.google.container." - + "v1beta1.GetOperationRequest\032#.google.con" - + "tainer.v1beta1.Operation\"\243\001\202\323\344\223\002~\0223/v1be" - + "ta1/{name=projects/*/locations/*/operati" - + "ons/*}ZG\022E/v1beta1/projects/{project_id}" - + "/zones/{zone}/operations/{operation_id}\332" - + "A\034project_id,zone,operation_id\022\226\002\n\017Cance" - + "lOperation\0220.google.container.v1beta1.Ca" - + "ncelOperationRequest\032\026.google.protobuf.E" - + "mpty\"\270\001\202\323\344\223\002\222\001\":/v1beta1/{name=projects/" - + "*/locations/*/operations/*}:cancel:\001*ZQ\"" - + "L/v1beta1/projects/{project_id}/zones/{z" - + "one}/operations/{operation_id}:cancel:\001*" - + "\332A\034project_id,zone,operation_id\022\367\001\n\017GetS" - + "erverConfig\0220.google.container.v1beta1.G" - + "etServerConfigRequest\032&.google.container" - + ".v1beta1.ServerConfig\"\211\001\202\323\344\223\002q\0223/v1beta1" - + "/{name=projects/*/locations/*}/serverCon" - + "figZ:\0228/v1beta1/projects/{project_id}/zo" - + "nes/{zone}/serverconfig\332A\017project_id,zon" - + "e\022\245\002\n\rListNodePools\022..google.container.v" - + "1beta1.ListNodePoolsRequest\032/.google.con" - + "tainer.v1beta1.ListNodePoolsResponse\"\262\001\202" - + "\323\344\223\002\216\001\022=/v1beta1/{parent=projects/*/loca" - + "tions/*/clusters/*}/nodePoolsZM\022K/v1beta" + + "usters/*}:setNetworkPolicy:\001*ZW\"R/v1beta" + "1/projects/{project_id}/zones/{zone}/clu" - + "sters/{cluster_id}/nodePools\332A\032project_i" - + "d,zone,cluster_id\022\265\001\n\016GetJSONWebKeys\022/.g" - + "oogle.container.v1beta1.GetJSONWebKeysRe" - + "quest\0320.google.container.v1beta1.GetJSON" - + "WebKeysResponse\"@\202\323\344\223\002:\0228/v1beta1/{paren" - + "t=projects/*/locations/*/clusters/*}/jwk" - + "s\022\260\002\n\013GetNodePool\022,.google.container.v1b" - + "eta1.GetNodePoolRequest\032\".google.contain" - + "er.v1beta1.NodePool\"\316\001\202\323\344\223\002\235\001\022=/v1beta1/" - + "{name=projects/*/locations/*/clusters/*/" - + "nodePools/*}Z\\\022Z/v1beta1/projects/{proje" - + "ct_id}/zones/{zone}/clusters/{cluster_id" - + "}/nodePools/{node_pool_id}\332A\'project_id," - + "zone,cluster_id,node_pool_id\022\253\002\n\016CreateN" - + "odePool\022/.google.container.v1beta1.Creat" - + "eNodePoolRequest\032#.google.container.v1be" - + "ta1.Operation\"\302\001\202\323\344\223\002\224\001\"=/v1beta1/{paren" - + "t=projects/*/locations/*/clusters/*}/nod" - + "ePools:\001*ZP\"K/v1beta1/projects/{project_" - + "id}/zones/{zone}/clusters/{cluster_id}/n" - + "odePools:\001*\332A$project_id,zone,cluster_id" - + ",node_pool\022\267\002\n\016DeleteNodePool\022/.google.c" - + "ontainer.v1beta1.DeleteNodePoolRequest\032#" - + ".google.container.v1beta1.Operation\"\316\001\202\323" - + "\344\223\002\235\001*=/v1beta1/{name=projects/*/locatio" - + "ns/*/clusters/*/nodePools/*}Z\\*Z/v1beta1" - + "/projects/{project_id}/zones/{zone}/clus" - + "ters/{cluster_id}/nodePools/{node_pool_i" - + "d}\332A\'project_id,zone,cluster_id,node_poo" - + "l_id\022\341\002\n\027RollbackNodePoolUpgrade\0228.googl" - + "e.container.v1beta1.RollbackNodePoolUpgr" - + "adeRequest\032#.google.container.v1beta1.Op" - + "eration\"\346\001\202\323\344\223\002\265\001\"F/v1beta1/{name=projec" - + "ts/*/locations/*/clusters/*/nodePools/*}" - + ":rollback:\001*Zh\"c/v1beta1/projects/{proje" - + "ct_id}/zones/{zone}/clusters/{cluster_id" - + "}/nodePools/{node_pool_id}:rollback:\001*\332A" - + "\'project_id,zone,cluster_id,node_pool_id" - + "\022\362\002\n\025SetNodePoolManagement\0226.google.cont" - + "ainer.v1beta1.SetNodePoolManagementReque" + + "sters/{cluster_id}:setNetworkPolicy:\001*\332A" + + ")project_id,zone,cluster_id,network_poli" + + "cy\022\324\002\n\024SetMaintenancePolicy\0225.google.con" + + "tainer.v1beta1.SetMaintenancePolicyReque" + "st\032#.google.container.v1beta1.Operation\"" - + "\373\001\202\323\344\223\002\277\001\"K/v1beta1/{name=projects/*/loc" - + "ations/*/clusters/*/nodePools/*}:setMana" - + "gement:\001*Zm\"h/v1beta1/projects/{project_" - + "id}/zones/{zone}/clusters/{cluster_id}/n" - + "odePools/{node_pool_id}/setManagement:\001*" - + "\332A2project_id,zone,cluster_id,node_pool_" - + "id,management\022\304\002\n\tSetLabels\022*.google.con" - + "tainer.v1beta1.SetLabelsRequest\032#.google" - + ".container.v1beta1.Operation\"\345\001\202\323\344\223\002\237\001\"C" - + "/v1beta1/{name=projects/*/locations/*/cl" - + "usters/*}:setResourceLabels:\001*ZU\"P/v1bet" - + "a1/projects/{project_id}/zones/{zone}/cl" - + "usters/{cluster_id}/resourceLabels:\001*\332A<" - + "project_id,zone,cluster_id,resource_labe" - + "ls,label_fingerprint\022\252\002\n\rSetLegacyAbac\022." - + ".google.container.v1beta1.SetLegacyAbacR" - + "equest\032#.google.container.v1beta1.Operat" - + "ion\"\303\001\202\323\344\223\002\227\001\"?/v1beta1/{name=projects/*" - + "/locations/*/clusters/*}:setLegacyAbac:\001" - + "*ZQ\"L/v1beta1/projects/{project_id}/zone" - + "s/{zone}/clusters/{cluster_id}/legacyAba" - + "c:\001*\332A\"project_id,zone,cluster_id,enable" - + "d\022\255\002\n\017StartIPRotation\0220.google.container" - + ".v1beta1.StartIPRotationRequest\032#.google" - + ".container.v1beta1.Operation\"\302\001\202\323\344\223\002\236\001\"A" - + "/v1beta1/{name=projects/*/locations/*/cl" - + "usters/*}:startIpRotation:\001*ZV\"Q/v1beta1" - + "/projects/{project_id}/zones/{zone}/clus" - + "ters/{cluster_id}:startIpRotation:\001*\332A\032p" - + "roject_id,zone,cluster_id\022\271\002\n\022CompleteIP" - + "Rotation\0223.google.container.v1beta1.Comp" - + "leteIPRotationRequest\032#.google.container" - + ".v1beta1.Operation\"\310\001\202\323\344\223\002\244\001\"D/v1beta1/{" - + "name=projects/*/locations/*/clusters/*}:" - + "completeIpRotation:\001*ZY\"T/v1beta1/projec" - + "ts/{project_id}/zones/{zone}/clusters/{c" - + "luster_id}:completeIpRotation:\001*\332A\032proje" - + "ct_id,zone,cluster_id\022\245\002\n\017SetNodePoolSiz" - + "e\0220.google.container.v1beta1.SetNodePool" - + "SizeRequest\032#.google.container.v1beta1.O" - + "peration\"\272\001\202\323\344\223\002\263\001\"E/v1beta1/{name=proje" - + "cts/*/locations/*/clusters/*/nodePools/*" - + "}:setSize:\001*Zg\"b/v1beta1/projects/{proje" - + "ct_id}/zones/{zone}/clusters/{cluster_id" - + "}/nodePools/{node_pool_id}/setSize:\001*\022\300\002" - + "\n\020SetNetworkPolicy\0221.google.container.v1" - + "beta1.SetNetworkPolicyRequest\032#.google.c" - + "ontainer.v1beta1.Operation\"\323\001\202\323\344\223\002\240\001\"B/v" - + "1beta1/{name=projects/*/locations/*/clus" - + "ters/*}:setNetworkPolicy:\001*ZW\"R/v1beta1/" - + "projects/{project_id}/zones/{zone}/clust" - + "ers/{cluster_id}:setNetworkPolicy:\001*\332A)p" - + "roject_id,zone,cluster_id,network_policy" - + "\022\324\002\n\024SetMaintenancePolicy\0225.google.conta" - + "iner.v1beta1.SetMaintenancePolicyRequest" - + "\032#.google.container.v1beta1.Operation\"\337\001" - + "\202\323\344\223\002\250\001\"F/v1beta1/{name=projects/*/locat" - + "ions/*/clusters/*}:setMaintenancePolicy:" - + "\001*Z[\"V/v1beta1/projects/{project_id}/zon" - + "es/{zone}/clusters/{cluster_id}:setMaint" - + "enancePolicy:\001*\332A-project_id,zone,cluste" - + "r_id,maintenance_policy\022\324\001\n\025ListUsableSu" - + "bnetworks\0226.google.container.v1beta1.Lis" - + "tUsableSubnetworksRequest\0327.google.conta" - + "iner.v1beta1.ListUsableSubnetworksRespon" - + "se\"J\202\323\344\223\002;\0229/v1beta1/{parent=projects/*}" - + "/aggregated/usableSubnetworks\332A\006parent\022\251" - + "\001\n\rListLocations\022..google.container.v1be" - + "ta1.ListLocationsRequest\032/.google.contai" - + "ner.v1beta1.ListLocationsResponse\"7\202\323\344\223\002" - + "(\022&/v1beta1/{parent=projects/*}/location" - + "s\332A\006parent\032L\312A\030container.googleapis.com\322" - + "A.https://www.googleapis.com/auth/cloud-" - + "platformB\241\002\n\034com.google.container.v1beta" - + "1B\023ClusterServiceProtoP\001ZAgoogle.golang." - + "org/genproto/googleapis/container/v1beta" - + "1;container\252\002\036Google.Cloud.Container.V1B" - + "eta1\312\002\036Google\\Cloud\\Container\\V1beta1\352\002!" - + "Google::Cloud::Container::V1beta1\352A@\n\033pu" - + "bsub.googleapis.com/Topic\022!projects/{pro" - + "ject}/topics/{topic}b\006proto3" + + "\337\001\202\323\344\223\002\250\001\"F/v1beta1/{name=projects/*/loc" + + "ations/*/clusters/*}:setMaintenancePolic" + + "y:\001*Z[\"V/v1beta1/projects/{project_id}/z" + + "ones/{zone}/clusters/{cluster_id}:setMai" + + "ntenancePolicy:\001*\332A-project_id,zone,clus" + + "ter_id,maintenance_policy\022\324\001\n\025ListUsable" + + "Subnetworks\0226.google.container.v1beta1.L" + + "istUsableSubnetworksRequest\0327.google.con" + + "tainer.v1beta1.ListUsableSubnetworksResp" + + "onse\"J\202\323\344\223\002;\0229/v1beta1/{parent=projects/" + + "*}/aggregated/usableSubnetworks\332A\006parent" + + "\022\251\001\n\rListLocations\022..google.container.v1" + + "beta1.ListLocationsRequest\032/.google.cont" + + "ainer.v1beta1.ListLocationsResponse\"7\202\323\344" + + "\223\002(\022&/v1beta1/{parent=projects/*}/locati" + + "ons\332A\006parent\032L\312A\030container.googleapis.co" + + "m\322A.https://www.googleapis.com/auth/clou" + + "d-platformB\241\002\n\034com.google.container.v1be" + + "ta1B\023ClusterServiceProtoP\001ZAgoogle.golan" + + "g.org/genproto/googleapis/container/v1be" + + "ta1;container\252\002\036Google.Cloud.Container.V" + + "1Beta1\312\002\036Google\\Cloud\\Container\\V1beta1\352" + + "\002!Google::Cloud::Container::V1beta1\352A@\n\033" + + "pubsub.googleapis.com/Topic\022!projects/{p" + + "roject}/topics/{topic}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1712,6 +1885,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), @@ -1725,7 +1899,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor, new java.lang.String[] { - "Sysctls", + "Sysctls", "CgroupMode", }); internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor = internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor.getNestedTypes().get(0); @@ -1741,7 +1915,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor, new java.lang.String[] { - "CpuManagerPolicy", "CpuCfsQuota", "CpuCfsQuotaPeriod", + "CpuManagerPolicy", "CpuCfsQuota", "CpuCfsQuotaPeriod", "PodPidsLimit", }); internal_static_google_container_v1beta1_NodeConfig_descriptor = getDescriptor().getMessageTypes().get(2); @@ -1776,6 +1950,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AdvancedMachineFeatures", "Gvnic", "Spot", + "ConfidentialNodes", }); internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor = internal_static_google_container_v1beta1_NodeConfig_descriptor.getNestedTypes().get(0); @@ -1807,7 +1982,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor, new java.lang.String[] { - "CreatePodRange", "PodRange", "PodIpv4CidrBlock", + "CreatePodRange", + "PodRange", + "PodIpv4CidrBlock", + "NetworkPerformanceConfig", + "NetworkPerformanceConfig", + }); + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor = + internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor, + new java.lang.String[] { + "TotalEgressBandwidthTier", + "ExternalIpEgressBandwidthTier", + "TotalEgressBandwidthTier", + "ExternalIpEgressBandwidthTier", }); internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor = getDescriptor().getMessageTypes().get(5); @@ -2101,6 +2293,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AllowRouteOverlap", "TpuIpv4CidrBlock", "UseRoutes", + "StackType", + "Ipv6AccessType", + "SubnetIpv6CidrBlock", + "ServicesIpv6CidrBlock", }); internal_static_google_container_v1beta1_BinaryAuthorization_descriptor = getDescriptor().getMessageTypes().get(35); @@ -2108,7 +2304,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_BinaryAuthorization_descriptor, new java.lang.String[] { - "Enabled", + "Enabled", "EvaluationMode", }); internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor = getDescriptor().getMessageTypes().get(36); @@ -2177,6 +2373,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WorkloadIdentityConfig", "WorkloadCertificates", "MeshCertificates", + "WorkloadAltsConfig", + "CostManagementConfig", "ClusterTelemetry", "TpuConfig", "NotificationConfig", @@ -2207,7 +2405,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodePoolDefaults", "LoggingConfig", "MonitoringConfig", + "NodePoolAutoConfig", + "ProtectConfig", "NodePoolDefaults", + "ProtectConfig", }); internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor = internal_static_google_container_v1beta1_Cluster_descriptor.getNestedTypes().get(0); @@ -2217,8 +2418,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); - internal_static_google_container_v1beta1_NodePoolDefaults_descriptor = + internal_static_google_container_v1beta1_WorkloadConfig_descriptor = getDescriptor().getMessageTypes().get(40); + internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_WorkloadConfig_descriptor, + new java.lang.String[] { + "AuditMode", "AuditMode", + }); + internal_static_google_container_v1beta1_ProtectConfig_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_ProtectConfig_descriptor, + new java.lang.String[] { + "WorkloadConfig", "WorkloadConfig", + }); + internal_static_google_container_v1beta1_NodePoolDefaults_descriptor = + getDescriptor().getMessageTypes().get(42); internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodePoolDefaults_descriptor, @@ -2226,15 +2443,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeConfigDefaults", }); internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(43); internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor, new java.lang.String[] { "GcfsConfig", }); + internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor, + new java.lang.String[] { + "NetworkTags", + }); internal_static_google_container_v1beta1_ClusterUpdate_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(45); internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ClusterUpdate_descriptor, @@ -2269,7 +2494,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DesiredWorkloadIdentityConfig", "DesiredWorkloadCertificates", "DesiredMeshCertificates", + "DesiredWorkloadAltsConfig", "DesiredShieldedNodes", + "DesiredCostManagementConfig", "DesiredMaster", "DesiredDnsConfig", "DesiredServiceExternalIpsConfig", @@ -2277,9 +2504,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DesiredLoggingConfig", "DesiredMonitoringConfig", "DesiredIdentityServiceConfig", + "DesiredNodePoolAutoConfigNetworkTags", + "DesiredProtectConfig", + "DesiredProtectConfig", }); internal_static_google_container_v1beta1_Operation_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(46); internal_static_google_container_v1beta1_Operation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_Operation_descriptor, @@ -2301,7 +2531,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Error", }); internal_static_google_container_v1beta1_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(47); internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_OperationProgress_descriptor, @@ -2319,7 +2549,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "IntValue", "DoubleValue", "StringValue", "Value", }); internal_static_google_container_v1beta1_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(48); internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_CreateClusterRequest_descriptor, @@ -2327,7 +2557,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "Cluster", "Parent", }); internal_static_google_container_v1beta1_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(49); internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetClusterRequest_descriptor, @@ -2335,7 +2565,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Name", }); internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageTypes().get(50); internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor, @@ -2343,7 +2573,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Update", "Name", }); internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageTypes().get(51); internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor, @@ -2363,11 +2593,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "LinuxNodeConfig", "KubeletConfig", + "NodeNetworkConfig", "GcfsConfig", + "ConfidentialNodes", "Gvnic", }); internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageTypes().get(52); internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor, @@ -2375,7 +2607,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "NodePoolId", "Autoscaling", "Name", }); internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(50); + getDescriptor().getMessageTypes().get(53); internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor, @@ -2383,7 +2615,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "LoggingService", "Name", }); internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(51); + getDescriptor().getMessageTypes().get(54); internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor, @@ -2391,7 +2623,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "MonitoringService", "Name", }); internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(52); + getDescriptor().getMessageTypes().get(55); internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor, @@ -2399,7 +2631,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "AddonsConfig", "Name", }); internal_static_google_container_v1beta1_SetLocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); + getDescriptor().getMessageTypes().get(56); internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetLocationsRequest_descriptor, @@ -2407,7 +2639,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Locations", "Name", }); internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor = - getDescriptor().getMessageTypes().get(54); + getDescriptor().getMessageTypes().get(57); internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor, @@ -2415,7 +2647,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "MasterVersion", "Name", }); internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor = - getDescriptor().getMessageTypes().get(55); + getDescriptor().getMessageTypes().get(58); internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor, @@ -2423,7 +2655,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Action", "Update", "Name", }); internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(56); + getDescriptor().getMessageTypes().get(59); internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor, @@ -2431,7 +2663,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Name", }); internal_static_google_container_v1beta1_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(57); + getDescriptor().getMessageTypes().get(60); internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListClustersRequest_descriptor, @@ -2439,7 +2671,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "Parent", }); internal_static_google_container_v1beta1_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(58); + getDescriptor().getMessageTypes().get(61); internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListClustersResponse_descriptor, @@ -2447,7 +2679,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Clusters", "MissingZones", }); internal_static_google_container_v1beta1_GetOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(59); + getDescriptor().getMessageTypes().get(62); internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetOperationRequest_descriptor, @@ -2455,7 +2687,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "OperationId", "Name", }); internal_static_google_container_v1beta1_ListOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(60); + getDescriptor().getMessageTypes().get(63); internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListOperationsRequest_descriptor, @@ -2463,7 +2695,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "Parent", }); internal_static_google_container_v1beta1_CancelOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(61); + getDescriptor().getMessageTypes().get(64); internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_CancelOperationRequest_descriptor, @@ -2471,7 +2703,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "OperationId", "Name", }); internal_static_google_container_v1beta1_ListOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(62); + getDescriptor().getMessageTypes().get(65); internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListOperationsResponse_descriptor, @@ -2479,7 +2711,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operations", "MissingZones", }); internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(63); + getDescriptor().getMessageTypes().get(66); internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor, @@ -2487,7 +2719,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "Name", }); internal_static_google_container_v1beta1_ServerConfig_descriptor = - getDescriptor().getMessageTypes().get(64); + getDescriptor().getMessageTypes().get(67); internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ServerConfig_descriptor, @@ -2527,7 +2759,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_container_v1beta1_WindowsVersions_descriptor = - getDescriptor().getMessageTypes().get(65); + getDescriptor().getMessageTypes().get(68); internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_WindowsVersions_descriptor, @@ -2543,7 +2775,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ImageType", "OsVersion", "SupportEndDate", }); internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(66); + getDescriptor().getMessageTypes().get(69); internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor, @@ -2551,7 +2783,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "NodePool", "Parent", }); internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(67); + getDescriptor().getMessageTypes().get(70); internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor, @@ -2559,7 +2791,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "NodePoolId", "Name", }); internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(68); + getDescriptor().getMessageTypes().get(71); internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor, @@ -2567,15 +2799,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Parent", }); internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(69); + getDescriptor().getMessageTypes().get(72); internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor, new java.lang.String[] { "ProjectId", "Zone", "ClusterId", "NodePoolId", "Name", }); + internal_static_google_container_v1beta1_BlueGreenSettings_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_BlueGreenSettings_descriptor, + new java.lang.String[] { + "StandardRolloutPolicy", + "NodePoolSoakDuration", + "RolloutPolicy", + "NodePoolSoakDuration", + }); + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor = + internal_static_google_container_v1beta1_BlueGreenSettings_descriptor + .getNestedTypes() + .get(0); + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor, + new java.lang.String[] { + "BatchPercentage", + "BatchNodeCount", + "BatchSoakDuration", + "UpdateBatchSize", + "BatchSoakDuration", + }); internal_static_google_container_v1beta1_NodePool_descriptor = - getDescriptor().getMessageTypes().get(70); + getDescriptor().getMessageTypes().get(74); internal_static_google_container_v1beta1_NodePool_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodePool_descriptor, @@ -2597,6 +2854,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PodIpv4CidrSize", "UpgradeSettings", "PlacementPolicy", + "UpdateInfo", }); internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor = internal_static_google_container_v1beta1_NodePool_descriptor.getNestedTypes().get(0); @@ -2604,10 +2862,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor, new java.lang.String[] { - "MaxSurge", "MaxUnavailable", + "MaxSurge", + "MaxUnavailable", + "Strategy", + "BlueGreenSettings", + "Strategy", + "BlueGreenSettings", }); - internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor = + internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor = internal_static_google_container_v1beta1_NodePool_descriptor.getNestedTypes().get(1); + internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor, + new java.lang.String[] { + "BlueGreenInfo", + }); + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor = + internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor + .getNestedTypes() + .get(0); + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor, + new java.lang.String[] { + "Phase", + "BlueInstanceGroupUrls", + "GreenInstanceGroupUrls", + "BluePoolDeletionStartTime", + "GreenPoolVersion", + }); + internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor = + internal_static_google_container_v1beta1_NodePool_descriptor.getNestedTypes().get(2); internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor, @@ -2615,7 +2900,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_container_v1beta1_NodeManagement_descriptor = - getDescriptor().getMessageTypes().get(71); + getDescriptor().getMessageTypes().get(75); internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodeManagement_descriptor, @@ -2623,7 +2908,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AutoUpgrade", "AutoRepair", "UpgradeOptions", }); internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor = - getDescriptor().getMessageTypes().get(72); + getDescriptor().getMessageTypes().get(76); internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor, @@ -2631,7 +2916,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AutoUpgradeStartTime", "Description", }); internal_static_google_container_v1beta1_MaintenancePolicy_descriptor = - getDescriptor().getMessageTypes().get(73); + getDescriptor().getMessageTypes().get(77); internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MaintenancePolicy_descriptor, @@ -2639,7 +2924,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Window", "ResourceVersion", }); internal_static_google_container_v1beta1_MaintenanceWindow_descriptor = - getDescriptor().getMessageTypes().get(74); + getDescriptor().getMessageTypes().get(78); internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MaintenanceWindow_descriptor, @@ -2657,7 +2942,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_container_v1beta1_TimeWindow_descriptor = - getDescriptor().getMessageTypes().get(75); + getDescriptor().getMessageTypes().get(79); internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_TimeWindow_descriptor, @@ -2665,7 +2950,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaintenanceExclusionOptions", "StartTime", "EndTime", "Options", }); internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor = - getDescriptor().getMessageTypes().get(76); + getDescriptor().getMessageTypes().get(80); internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor, @@ -2673,7 +2958,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Scope", }); internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor = - getDescriptor().getMessageTypes().get(77); + getDescriptor().getMessageTypes().get(81); internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor, @@ -2681,7 +2966,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Window", "Recurrence", }); internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor = - getDescriptor().getMessageTypes().get(78); + getDescriptor().getMessageTypes().get(82); internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor, @@ -2689,7 +2974,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StartTime", "Duration", }); internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor = - getDescriptor().getMessageTypes().get(79); + getDescriptor().getMessageTypes().get(83); internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor, @@ -2697,23 +2982,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "NodePoolId", "Management", "Name", }); internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor = - getDescriptor().getMessageTypes().get(80); + getDescriptor().getMessageTypes().get(84); internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor, new java.lang.String[] { "ProjectId", "Zone", "ClusterId", "NodePoolId", "NodeCount", "Name", }); + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor = + getDescriptor().getMessageTypes().get(85); + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor = - getDescriptor().getMessageTypes().get(81); + getDescriptor().getMessageTypes().get(86); internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor, new java.lang.String[] { - "ProjectId", "Zone", "ClusterId", "NodePoolId", "Name", + "ProjectId", "Zone", "ClusterId", "NodePoolId", "Name", "RespectPdb", }); internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(82); + getDescriptor().getMessageTypes().get(87); internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor, @@ -2721,7 +3014,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodePools", }); internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(83); + getDescriptor().getMessageTypes().get(88); internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor, @@ -2733,7 +3026,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AutoprovisioningLocations", }); internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor = - getDescriptor().getMessageTypes().get(84); + getDescriptor().getMessageTypes().get(89); internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor, @@ -2750,7 +3043,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ImageType", }); internal_static_google_container_v1beta1_ResourceLimit_descriptor = - getDescriptor().getMessageTypes().get(85); + getDescriptor().getMessageTypes().get(90); internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ResourceLimit_descriptor, @@ -2758,15 +3051,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourceType", "Minimum", "Maximum", }); internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(86); + getDescriptor().getMessageTypes().get(91); internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor, new java.lang.String[] { - "Enabled", "MinNodeCount", "MaxNodeCount", "Autoprovisioned", + "Enabled", + "MinNodeCount", + "MaxNodeCount", + "Autoprovisioned", + "LocationPolicy", + "TotalMinNodeCount", + "TotalMaxNodeCount", }); internal_static_google_container_v1beta1_SetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(87); + getDescriptor().getMessageTypes().get(92); internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetLabelsRequest_descriptor, @@ -2784,7 +3083,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor = - getDescriptor().getMessageTypes().get(88); + getDescriptor().getMessageTypes().get(93); internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor, @@ -2792,7 +3091,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Enabled", "Name", }); internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(94); internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor, @@ -2800,7 +3099,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Name", "RotateCredentials", }); internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(95); internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor, @@ -2808,15 +3107,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "Name", }); internal_static_google_container_v1beta1_AcceleratorConfig_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(96); internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_AcceleratorConfig_descriptor, new java.lang.String[] { - "AcceleratorCount", "AcceleratorType", "GpuPartitionSize", + "AcceleratorCount", + "AcceleratorType", + "GpuPartitionSize", + "MaxTimeSharedClientsPerGpu", + "GpuSharingConfig", + "GpuSharingConfig", + }); + internal_static_google_container_v1beta1_GPUSharingConfig_descriptor = + getDescriptor().getMessageTypes().get(97); + internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_GPUSharingConfig_descriptor, + new java.lang.String[] { + "MaxSharedClientsPerGpu", "GpuSharingStrategy", "GpuSharingStrategy", }); internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(98); internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor, @@ -2824,7 +3136,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(99); internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor, @@ -2832,7 +3144,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeMetadata", "Mode", }); internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(100); internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor, @@ -2840,7 +3152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "NetworkPolicy", "Name", }); internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(101); internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor, @@ -2848,7 +3160,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProjectId", "Zone", "ClusterId", "MaintenancePolicy", "Name", }); internal_static_google_container_v1beta1_ListLocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(102); internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListLocationsRequest_descriptor, @@ -2856,7 +3168,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", }); internal_static_google_container_v1beta1_ListLocationsResponse_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(103); internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListLocationsResponse_descriptor, @@ -2864,7 +3176,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Locations", "NextPageToken", }); internal_static_google_container_v1beta1_Location_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(104); internal_static_google_container_v1beta1_Location_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_Location_descriptor, @@ -2872,7 +3184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", "Name", "Recommended", }); internal_static_google_container_v1beta1_StatusCondition_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(105); internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_StatusCondition_descriptor, @@ -2880,7 +3192,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "Message", "CanonicalCode", }); internal_static_google_container_v1beta1_NetworkConfig_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(106); internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NetworkConfig_descriptor, @@ -2896,7 +3208,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceExternalIpsConfig", }); internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(107); internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor, @@ -2904,7 +3216,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(108); internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor, @@ -2912,7 +3224,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", }); internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(109); internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor, @@ -2920,7 +3232,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subnetworks", "NextPageToken", }); internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(110); internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor, @@ -2928,7 +3240,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RangeName", "IpCidrRange", "Status", }); internal_static_google_container_v1beta1_UsableSubnetwork_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(111); internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UsableSubnetwork_descriptor, @@ -2936,7 +3248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subnetwork", "Network", "IpCidrRange", "SecondaryIpRanges", "StatusMessage", }); internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(112); internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor, @@ -2944,7 +3256,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(113); internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor, @@ -2952,7 +3264,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disabled", }); internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(114); internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor, @@ -2960,7 +3272,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(115); internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor, @@ -2968,7 +3280,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_DNSConfig_descriptor = - getDescriptor().getMessageTypes().get(110); + getDescriptor().getMessageTypes().get(116); internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_DNSConfig_descriptor, @@ -2976,7 +3288,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ClusterDns", "ClusterDnsScope", "ClusterDnsDomain", }); internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor = - getDescriptor().getMessageTypes().get(111); + getDescriptor().getMessageTypes().get(117); internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor, @@ -2984,15 +3296,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxPodsPerNode", }); internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor = - getDescriptor().getMessageTypes().get(112); + getDescriptor().getMessageTypes().get(118); internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor, new java.lang.String[] { "IdentityNamespace", "WorkloadPool", "IdentityProvider", }); + internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor = + getDescriptor().getMessageTypes().get(119); + internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor, + new java.lang.String[] { + "EnableAlts", + }); internal_static_google_container_v1beta1_WorkloadCertificates_descriptor = - getDescriptor().getMessageTypes().get(113); + getDescriptor().getMessageTypes().get(120); internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_WorkloadCertificates_descriptor, @@ -3000,7 +3320,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableCertificates", }); internal_static_google_container_v1beta1_MeshCertificates_descriptor = - getDescriptor().getMessageTypes().get(114); + getDescriptor().getMessageTypes().get(121); internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MeshCertificates_descriptor, @@ -3008,7 +3328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableCertificates", }); internal_static_google_container_v1beta1_DatabaseEncryption_descriptor = - getDescriptor().getMessageTypes().get(115); + getDescriptor().getMessageTypes().get(122); internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_DatabaseEncryption_descriptor, @@ -3016,7 +3336,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "State", "KeyName", }); internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor = - getDescriptor().getMessageTypes().get(116); + getDescriptor().getMessageTypes().get(123); internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor, @@ -3044,7 +3364,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_ShieldedNodes_descriptor = - getDescriptor().getMessageTypes().get(117); + getDescriptor().getMessageTypes().get(124); internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ShieldedNodes_descriptor, @@ -3052,7 +3372,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_VirtualNIC_descriptor = - getDescriptor().getMessageTypes().get(118); + getDescriptor().getMessageTypes().get(125); internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_VirtualNIC_descriptor, @@ -3060,7 +3380,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(119); + getDescriptor().getMessageTypes().get(126); internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor, @@ -3068,7 +3388,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", }); internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor = - getDescriptor().getMessageTypes().get(120); + getDescriptor().getMessageTypes().get(127); internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor, @@ -3082,7 +3402,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GrantTypes", }); internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(121); + getDescriptor().getMessageTypes().get(128); internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor, @@ -3090,7 +3410,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", }); internal_static_google_container_v1beta1_Jwk_descriptor = - getDescriptor().getMessageTypes().get(122); + getDescriptor().getMessageTypes().get(129); internal_static_google_container_v1beta1_Jwk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_Jwk_descriptor, @@ -3098,7 +3418,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kty", "Alg", "Use", "Kid", "N", "E", "X", "Y", "Crv", }); internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(123); + getDescriptor().getMessageTypes().get(130); internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor, @@ -3106,15 +3426,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Keys", }); internal_static_google_container_v1beta1_ReleaseChannel_descriptor = - getDescriptor().getMessageTypes().get(124); + getDescriptor().getMessageTypes().get(131); internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ReleaseChannel_descriptor, new java.lang.String[] { "Channel", }); + internal_static_google_container_v1beta1_CostManagementConfig_descriptor = + getDescriptor().getMessageTypes().get(132); + internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_container_v1beta1_CostManagementConfig_descriptor, + new java.lang.String[] { + "Enabled", + }); internal_static_google_container_v1beta1_TpuConfig_descriptor = - getDescriptor().getMessageTypes().get(125); + getDescriptor().getMessageTypes().get(133); internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_TpuConfig_descriptor, @@ -3122,12 +3450,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", "UseServiceNetworking", "Ipv4CidrBlock", }); internal_static_google_container_v1beta1_Master_descriptor = - getDescriptor().getMessageTypes().get(126); + getDescriptor().getMessageTypes().get(134); internal_static_google_container_v1beta1_Master_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_Master_descriptor, new java.lang.String[] {}); internal_static_google_container_v1beta1_Autopilot_descriptor = - getDescriptor().getMessageTypes().get(127); + getDescriptor().getMessageTypes().get(135); internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_Autopilot_descriptor, @@ -3135,7 +3463,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_NotificationConfig_descriptor = - getDescriptor().getMessageTypes().get(128); + getDescriptor().getMessageTypes().get(136); internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_NotificationConfig_descriptor, @@ -3163,7 +3491,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EventType", }); internal_static_google_container_v1beta1_ConfidentialNodes_descriptor = - getDescriptor().getMessageTypes().get(129); + getDescriptor().getMessageTypes().get(137); internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_ConfidentialNodes_descriptor, @@ -3171,7 +3499,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_UpgradeEvent_descriptor = - getDescriptor().getMessageTypes().get(130); + getDescriptor().getMessageTypes().get(138); internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UpgradeEvent_descriptor, @@ -3184,7 +3512,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Resource", }); internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor = - getDescriptor().getMessageTypes().get(131); + getDescriptor().getMessageTypes().get(139); internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor, @@ -3192,7 +3520,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Version", "ResourceType", "ReleaseChannel", "Resource", "WindowsVersions", }); internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor = - getDescriptor().getMessageTypes().get(132); + getDescriptor().getMessageTypes().get(140); internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor, @@ -3209,7 +3537,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ManualStepsRequired", }); internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor = - getDescriptor().getMessageTypes().get(133); + getDescriptor().getMessageTypes().get(141); internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor, @@ -3217,7 +3545,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", }); internal_static_google_container_v1beta1_LoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(134); + getDescriptor().getMessageTypes().get(142); internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_LoggingConfig_descriptor, @@ -3225,7 +3553,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ComponentConfig", }); internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor = - getDescriptor().getMessageTypes().get(135); + getDescriptor().getMessageTypes().get(143); internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor, @@ -3233,7 +3561,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableComponents", }); internal_static_google_container_v1beta1_MonitoringConfig_descriptor = - getDescriptor().getMessageTypes().get(136); + getDescriptor().getMessageTypes().get(144); internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MonitoringConfig_descriptor, @@ -3241,7 +3569,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ComponentConfig", "ManagedPrometheusConfig", }); internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor = - getDescriptor().getMessageTypes().get(137); + getDescriptor().getMessageTypes().get(145); internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor, @@ -3263,6 +3591,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java index 0204bf0821e9..5d8f15f82293 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java @@ -419,6 +419,23 @@ private ClusterUpdate( desiredShieldedNodes_ = subBuilder.buildPartial(); } + break; + } + case 394: + { + com.google.container.v1beta1.CostManagementConfig.Builder subBuilder = null; + if (desiredCostManagementConfig_ != null) { + subBuilder = desiredCostManagementConfig_.toBuilder(); + } + desiredCostManagementConfig_ = + input.readMessage( + com.google.container.v1beta1.CostManagementConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(desiredCostManagementConfig_); + desiredCostManagementConfig_ = subBuilder.buildPartial(); + } + break; } case 400: @@ -515,6 +532,22 @@ private ClusterUpdate( desiredWorkloadCertificates_ = subBuilder.buildPartial(); } + break; + } + case 498: + { + com.google.container.v1beta1.WorkloadALTSConfig.Builder subBuilder = null; + if (desiredWorkloadAltsConfig_ != null) { + subBuilder = desiredWorkloadAltsConfig_.toBuilder(); + } + desiredWorkloadAltsConfig_ = + input.readMessage( + com.google.container.v1beta1.WorkloadALTSConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(desiredWorkloadAltsConfig_); + desiredWorkloadAltsConfig_ = subBuilder.buildPartial(); + } + break; } case 506: @@ -620,6 +653,38 @@ private ClusterUpdate( desiredGcfsConfig_ = subBuilder.buildPartial(); } + break; + } + case 882: + { + com.google.container.v1beta1.NetworkTags.Builder subBuilder = null; + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + subBuilder = desiredNodePoolAutoConfigNetworkTags_.toBuilder(); + } + desiredNodePoolAutoConfigNetworkTags_ = + input.readMessage( + com.google.container.v1beta1.NetworkTags.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(desiredNodePoolAutoConfigNetworkTags_); + desiredNodePoolAutoConfigNetworkTags_ = subBuilder.buildPartial(); + } + + break; + } + case 898: + { + com.google.container.v1beta1.ProtectConfig.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = desiredProtectConfig_.toBuilder(); + } + desiredProtectConfig_ = + input.readMessage( + com.google.container.v1beta1.ProtectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(desiredProtectConfig_); + desiredProtectConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; break; } default: @@ -661,6 +726,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.ClusterUpdate.Builder.class); } + private int bitField0_; public static final int DESIRED_NODE_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object desiredNodeVersion_; /** @@ -2267,6 +2333,55 @@ public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates( return getDesiredMeshCertificates(); } + public static final int DESIRED_WORKLOAD_ALTS_CONFIG_FIELD_NUMBER = 62; + private com.google.container.v1beta1.WorkloadALTSConfig desiredWorkloadAltsConfig_; + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * + * @return Whether the desiredWorkloadAltsConfig field is set. + */ + @java.lang.Override + public boolean hasDesiredWorkloadAltsConfig() { + return desiredWorkloadAltsConfig_ != null; + } + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * + * @return The desiredWorkloadAltsConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig() { + return desiredWorkloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : desiredWorkloadAltsConfig_; + } + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder + getDesiredWorkloadAltsConfigOrBuilder() { + return getDesiredWorkloadAltsConfig(); + } + public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER = 48; private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; /** @@ -2315,6 +2430,58 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod return getDesiredShieldedNodes(); } + public static final int DESIRED_COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 49; + private com.google.container.v1beta1.CostManagementConfig desiredCostManagementConfig_; + /** + * + * + *
+   * The desired configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * + * @return Whether the desiredCostManagementConfig field is set. + */ + @java.lang.Override + public boolean hasDesiredCostManagementConfig() { + return desiredCostManagementConfig_ != null; + } + /** + * + * + *
+   * The desired configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * + * @return The desiredCostManagementConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig() { + return desiredCostManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; + } + /** + * + * + *
+   * The desired configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder() { + return getDesiredCostManagementConfig(); + } + public static final int DESIRED_MASTER_FIELD_NUMBER = 52; private com.google.container.v1beta1.Master desiredMaster_; /** @@ -2678,6 +2845,111 @@ public com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServ return getDesiredIdentityServiceConfig(); } + public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER = 110; + private com.google.container.v1beta1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. + */ + @java.lang.Override + public boolean hasDesiredNodePoolAutoConfigNetworkTags() { + return desiredNodePoolAutoConfigNetworkTags_ != null; + } + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return The desiredNodePoolAutoConfigNetworkTags. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; + } + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + return getDesiredNodePoolAutoConfigNetworkTags(); + } + + public static final int DESIRED_PROTECT_CONFIG_FIELD_NUMBER = 112; + private com.google.container.v1beta1.ProtectConfig desiredProtectConfig_; + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * + * @return Whether the desiredProtectConfig field is set. + */ + @java.lang.Override + public boolean hasDesiredProtectConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * + * @return The desiredProtectConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; + } + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + @java.lang.Override + public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder() { + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2764,6 +3036,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredShieldedNodes_ != null) { output.writeMessage(48, getDesiredShieldedNodes()); } + if (desiredCostManagementConfig_ != null) { + output.writeMessage(49, getDesiredCostManagementConfig()); + } if (desiredDatapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED .getNumber()) { @@ -2790,6 +3065,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredWorkloadCertificates_ != null) { output.writeMessage(61, getDesiredWorkloadCertificates()); } + if (desiredWorkloadAltsConfig_ != null) { + output.writeMessage(62, getDesiredWorkloadAltsConfig()); + } if (desiredAuthenticatorGroupsConfig_ != null) { output.writeMessage(63, getDesiredAuthenticatorGroupsConfig()); } @@ -2811,6 +3089,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredGcfsConfig_ != null) { output.writeMessage(109, getDesiredGcfsConfig()); } + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + output.writeMessage(110, getDesiredNodePoolAutoConfigNetworkTags()); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(112, getDesiredProtectConfig()); + } unknownFields.writeTo(output); } @@ -2928,6 +3212,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(48, getDesiredShieldedNodes()); } + if (desiredCostManagementConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 49, getDesiredCostManagementConfig()); + } if (desiredDatapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED .getNumber()) { @@ -2962,6 +3251,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 61, getDesiredWorkloadCertificates()); } + if (desiredWorkloadAltsConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 62, getDesiredWorkloadAltsConfig()); + } if (desiredAuthenticatorGroupsConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -2992,6 +3286,15 @@ public int getSerializedSize() { if (desiredGcfsConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getDesiredGcfsConfig()); } + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 110, getDesiredNodePoolAutoConfigNetworkTags()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(112, getDesiredProtectConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3121,10 +3424,20 @@ public boolean equals(final java.lang.Object obj) { if (hasDesiredMeshCertificates()) { if (!getDesiredMeshCertificates().equals(other.getDesiredMeshCertificates())) return false; } + if (hasDesiredWorkloadAltsConfig() != other.hasDesiredWorkloadAltsConfig()) return false; + if (hasDesiredWorkloadAltsConfig()) { + if (!getDesiredWorkloadAltsConfig().equals(other.getDesiredWorkloadAltsConfig())) + return false; + } if (hasDesiredShieldedNodes() != other.hasDesiredShieldedNodes()) return false; if (hasDesiredShieldedNodes()) { if (!getDesiredShieldedNodes().equals(other.getDesiredShieldedNodes())) return false; } + if (hasDesiredCostManagementConfig() != other.hasDesiredCostManagementConfig()) return false; + if (hasDesiredCostManagementConfig()) { + if (!getDesiredCostManagementConfig().equals(other.getDesiredCostManagementConfig())) + return false; + } if (hasDesiredMaster() != other.hasDesiredMaster()) return false; if (hasDesiredMaster()) { if (!getDesiredMaster().equals(other.getDesiredMaster())) return false; @@ -3158,6 +3471,16 @@ public boolean equals(final java.lang.Object obj) { if (!getDesiredIdentityServiceConfig().equals(other.getDesiredIdentityServiceConfig())) return false; } + if (hasDesiredNodePoolAutoConfigNetworkTags() + != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; + if (hasDesiredNodePoolAutoConfigNetworkTags()) { + if (!getDesiredNodePoolAutoConfigNetworkTags() + .equals(other.getDesiredNodePoolAutoConfigNetworkTags())) return false; + } + if (hasDesiredProtectConfig() != other.hasDesiredProtectConfig()) return false; + if (hasDesiredProtectConfig()) { + if (!getDesiredProtectConfig().equals(other.getDesiredProtectConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3273,10 +3596,18 @@ public int hashCode() { hash = (37 * hash) + DESIRED_MESH_CERTIFICATES_FIELD_NUMBER; hash = (53 * hash) + getDesiredMeshCertificates().hashCode(); } + if (hasDesiredWorkloadAltsConfig()) { + hash = (37 * hash) + DESIRED_WORKLOAD_ALTS_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDesiredWorkloadAltsConfig().hashCode(); + } if (hasDesiredShieldedNodes()) { hash = (37 * hash) + DESIRED_SHIELDED_NODES_FIELD_NUMBER; hash = (53 * hash) + getDesiredShieldedNodes().hashCode(); } + if (hasDesiredCostManagementConfig()) { + hash = (37 * hash) + DESIRED_COST_MANAGEMENT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDesiredCostManagementConfig().hashCode(); + } if (hasDesiredMaster()) { hash = (37 * hash) + DESIRED_MASTER_FIELD_NUMBER; hash = (53 * hash) + getDesiredMaster().hashCode(); @@ -3305,6 +3636,14 @@ public int hashCode() { hash = (37 * hash) + DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDesiredIdentityServiceConfig().hashCode(); } + if (hasDesiredNodePoolAutoConfigNetworkTags()) { + hash = (37 * hash) + DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getDesiredNodePoolAutoConfigNetworkTags().hashCode(); + } + if (hasDesiredProtectConfig()) { + hash = (37 * hash) + DESIRED_PROTECT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDesiredProtectConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3446,7 +3785,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDesiredProtectConfigFieldBuilder(); + } } @java.lang.Override @@ -3596,12 +3937,24 @@ public Builder clear() { desiredMeshCertificates_ = null; desiredMeshCertificatesBuilder_ = null; } + if (desiredWorkloadAltsConfigBuilder_ == null) { + desiredWorkloadAltsConfig_ = null; + } else { + desiredWorkloadAltsConfig_ = null; + desiredWorkloadAltsConfigBuilder_ = null; + } if (desiredShieldedNodesBuilder_ == null) { desiredShieldedNodes_ = null; } else { desiredShieldedNodes_ = null; desiredShieldedNodesBuilder_ = null; } + if (desiredCostManagementConfigBuilder_ == null) { + desiredCostManagementConfig_ = null; + } else { + desiredCostManagementConfig_ = null; + desiredCostManagementConfigBuilder_ = null; + } if (desiredMasterBuilder_ == null) { desiredMaster_ = null; } else { @@ -3644,6 +3997,18 @@ public Builder clear() { desiredIdentityServiceConfig_ = null; desiredIdentityServiceConfigBuilder_ = null; } + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTags_ = null; + } else { + desiredNodePoolAutoConfigNetworkTags_ = null; + desiredNodePoolAutoConfigNetworkTagsBuilder_ = null; + } + if (desiredProtectConfigBuilder_ == null) { + desiredProtectConfig_ = null; + } else { + desiredProtectConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -3672,6 +4037,7 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() { com.google.container.v1beta1.ClusterUpdate result = new com.google.container.v1beta1.ClusterUpdate(this); int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.desiredNodeVersion_ = desiredNodeVersion_; result.desiredMonitoringService_ = desiredMonitoringService_; if (desiredAddonsConfigBuilder_ == null) { @@ -3791,11 +4157,21 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() { } else { result.desiredMeshCertificates_ = desiredMeshCertificatesBuilder_.build(); } + if (desiredWorkloadAltsConfigBuilder_ == null) { + result.desiredWorkloadAltsConfig_ = desiredWorkloadAltsConfig_; + } else { + result.desiredWorkloadAltsConfig_ = desiredWorkloadAltsConfigBuilder_.build(); + } if (desiredShieldedNodesBuilder_ == null) { result.desiredShieldedNodes_ = desiredShieldedNodes_; } else { result.desiredShieldedNodes_ = desiredShieldedNodesBuilder_.build(); } + if (desiredCostManagementConfigBuilder_ == null) { + result.desiredCostManagementConfig_ = desiredCostManagementConfig_; + } else { + result.desiredCostManagementConfig_ = desiredCostManagementConfigBuilder_.build(); + } if (desiredMasterBuilder_ == null) { result.desiredMaster_ = desiredMaster_; } else { @@ -3831,6 +4207,21 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() { } else { result.desiredIdentityServiceConfig_ = desiredIdentityServiceConfigBuilder_.build(); } + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTags_; + } else { + result.desiredNodePoolAutoConfigNetworkTags_ = + desiredNodePoolAutoConfigNetworkTagsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (desiredProtectConfigBuilder_ == null) { + result.desiredProtectConfig_ = desiredProtectConfig_; + } else { + result.desiredProtectConfig_ = desiredProtectConfigBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -3984,9 +4375,15 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterUpdate other) { if (other.hasDesiredMeshCertificates()) { mergeDesiredMeshCertificates(other.getDesiredMeshCertificates()); } + if (other.hasDesiredWorkloadAltsConfig()) { + mergeDesiredWorkloadAltsConfig(other.getDesiredWorkloadAltsConfig()); + } if (other.hasDesiredShieldedNodes()) { mergeDesiredShieldedNodes(other.getDesiredShieldedNodes()); } + if (other.hasDesiredCostManagementConfig()) { + mergeDesiredCostManagementConfig(other.getDesiredCostManagementConfig()); + } if (other.hasDesiredMaster()) { mergeDesiredMaster(other.getDesiredMaster()); } @@ -4008,6 +4405,12 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterUpdate other) { if (other.hasDesiredIdentityServiceConfig()) { mergeDesiredIdentityServiceConfig(other.getDesiredIdentityServiceConfig()); } + if (other.hasDesiredNodePoolAutoConfigNetworkTags()) { + mergeDesiredNodePoolAutoConfigNetworkTags(other.getDesiredNodePoolAutoConfigNetworkTags()); + } + if (other.hasDesiredProtectConfig()) { + mergeDesiredProtectConfig(other.getDesiredProtectConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -9424,64 +9827,65 @@ public Builder clearDesiredMeshCertificates() { return desiredMeshCertificatesBuilder_; } - private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; + private com.google.container.v1beta1.WorkloadALTSConfig desiredWorkloadAltsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder> - desiredShieldedNodesBuilder_; + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + desiredWorkloadAltsConfigBuilder_; /** * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; * - * @return Whether the desiredShieldedNodes field is set. + * @return Whether the desiredWorkloadAltsConfig field is set. */ - public boolean hasDesiredShieldedNodes() { - return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null; + public boolean hasDesiredWorkloadAltsConfig() { + return desiredWorkloadAltsConfigBuilder_ != null || desiredWorkloadAltsConfig_ != null; } /** * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; * - * @return The desiredShieldedNodes. + * @return The desiredWorkloadAltsConfig. */ - public com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes() { - if (desiredShieldedNodesBuilder_ == null) { - return desiredShieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig() { + if (desiredWorkloadAltsConfigBuilder_ == null) { + return desiredWorkloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : desiredWorkloadAltsConfig_; } else { - return desiredShieldedNodesBuilder_.getMessage(); + return desiredWorkloadAltsConfigBuilder_.getMessage(); } } /** * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder setDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNodes value) { - if (desiredShieldedNodesBuilder_ == null) { + public Builder setDesiredWorkloadAltsConfig( + com.google.container.v1beta1.WorkloadALTSConfig value) { + if (desiredWorkloadAltsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - desiredShieldedNodes_ = value; + desiredWorkloadAltsConfig_ = value; onChanged(); } else { - desiredShieldedNodesBuilder_.setMessage(value); + desiredWorkloadAltsConfigBuilder_.setMessage(value); } return this; @@ -9490,18 +9894,18 @@ public Builder setDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNode * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder setDesiredShieldedNodes( - com.google.container.v1beta1.ShieldedNodes.Builder builderForValue) { - if (desiredShieldedNodesBuilder_ == null) { - desiredShieldedNodes_ = builderForValue.build(); + public Builder setDesiredWorkloadAltsConfig( + com.google.container.v1beta1.WorkloadALTSConfig.Builder builderForValue) { + if (desiredWorkloadAltsConfigBuilder_ == null) { + desiredWorkloadAltsConfig_ = builderForValue.build(); onChanged(); } else { - desiredShieldedNodesBuilder_.setMessage(builderForValue.build()); + desiredWorkloadAltsConfigBuilder_.setMessage(builderForValue.build()); } return this; @@ -9510,24 +9914,25 @@ public Builder setDesiredShieldedNodes( * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNodes value) { - if (desiredShieldedNodesBuilder_ == null) { - if (desiredShieldedNodes_ != null) { - desiredShieldedNodes_ = - com.google.container.v1beta1.ShieldedNodes.newBuilder(desiredShieldedNodes_) + public Builder mergeDesiredWorkloadAltsConfig( + com.google.container.v1beta1.WorkloadALTSConfig value) { + if (desiredWorkloadAltsConfigBuilder_ == null) { + if (desiredWorkloadAltsConfig_ != null) { + desiredWorkloadAltsConfig_ = + com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(desiredWorkloadAltsConfig_) .mergeFrom(value) .buildPartial(); } else { - desiredShieldedNodes_ = value; + desiredWorkloadAltsConfig_ = value; } onChanged(); } else { - desiredShieldedNodesBuilder_.mergeFrom(value); + desiredWorkloadAltsConfigBuilder_.mergeFrom(value); } return this; @@ -9536,18 +9941,18 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNo * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder clearDesiredShieldedNodes() { - if (desiredShieldedNodesBuilder_ == null) { - desiredShieldedNodes_ = null; + public Builder clearDesiredWorkloadAltsConfig() { + if (desiredWorkloadAltsConfigBuilder_ == null) { + desiredWorkloadAltsConfig_ = null; onChanged(); } else { - desiredShieldedNodes_ = null; - desiredShieldedNodesBuilder_ = null; + desiredWorkloadAltsConfig_ = null; + desiredWorkloadAltsConfigBuilder_ = null; } return this; @@ -9556,12 +9961,200 @@ public Builder clearDesiredShieldedNodes() { * * *
-     * Configuration for Shielded Nodes.
+     * Configuration for direct-path (via ALTS) with workload identity.
      * 
* - * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public com.google.container.v1beta1.ShieldedNodes.Builder getDesiredShieldedNodesBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfig.Builder + getDesiredWorkloadAltsConfigBuilder() { + + onChanged(); + return getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Configuration for direct-path (via ALTS) with workload identity.
+     * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + */ + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder + getDesiredWorkloadAltsConfigOrBuilder() { + if (desiredWorkloadAltsConfigBuilder_ != null) { + return desiredWorkloadAltsConfigBuilder_.getMessageOrBuilder(); + } else { + return desiredWorkloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : desiredWorkloadAltsConfig_; + } + } + /** + * + * + *
+     * Configuration for direct-path (via ALTS) with workload identity.
+     * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + getDesiredWorkloadAltsConfigFieldBuilder() { + if (desiredWorkloadAltsConfigBuilder_ == null) { + desiredWorkloadAltsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( + getDesiredWorkloadAltsConfig(), getParentForChildren(), isClean()); + desiredWorkloadAltsConfig_ = null; + } + return desiredWorkloadAltsConfigBuilder_; + } + + private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder> + desiredShieldedNodesBuilder_; + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * + * @return Whether the desiredShieldedNodes field is set. + */ + public boolean hasDesiredShieldedNodes() { + return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null; + } + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * + * @return The desiredShieldedNodes. + */ + public com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes() { + if (desiredShieldedNodesBuilder_ == null) { + return desiredShieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; + } else { + return desiredShieldedNodesBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + */ + public Builder setDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNodes value) { + if (desiredShieldedNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredShieldedNodes_ = value; + onChanged(); + } else { + desiredShieldedNodesBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + */ + public Builder setDesiredShieldedNodes( + com.google.container.v1beta1.ShieldedNodes.Builder builderForValue) { + if (desiredShieldedNodesBuilder_ == null) { + desiredShieldedNodes_ = builderForValue.build(); + onChanged(); + } else { + desiredShieldedNodesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + */ + public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNodes value) { + if (desiredShieldedNodesBuilder_ == null) { + if (desiredShieldedNodes_ != null) { + desiredShieldedNodes_ = + com.google.container.v1beta1.ShieldedNodes.newBuilder(desiredShieldedNodes_) + .mergeFrom(value) + .buildPartial(); + } else { + desiredShieldedNodes_ = value; + } + onChanged(); + } else { + desiredShieldedNodesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + */ + public Builder clearDesiredShieldedNodes() { + if (desiredShieldedNodesBuilder_ == null) { + desiredShieldedNodes_ = null; + onChanged(); + } else { + desiredShieldedNodes_ = null; + desiredShieldedNodesBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Configuration for Shielded Nodes.
+     * 
+ * + * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + */ + public com.google.container.v1beta1.ShieldedNodes.Builder getDesiredShieldedNodesBuilder() { onChanged(); return getDesiredShieldedNodesFieldBuilder().getBuilder(); @@ -9610,6 +10203,206 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod return desiredShieldedNodesBuilder_; } + private com.google.container.v1beta1.CostManagementConfig desiredCostManagementConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> + desiredCostManagementConfigBuilder_; + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * + * @return Whether the desiredCostManagementConfig field is set. + */ + public boolean hasDesiredCostManagementConfig() { + return desiredCostManagementConfigBuilder_ != null || desiredCostManagementConfig_ != null; + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * + * @return The desiredCostManagementConfig. + */ + public com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig() { + if (desiredCostManagementConfigBuilder_ == null) { + return desiredCostManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; + } else { + return desiredCostManagementConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + public Builder setDesiredCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { + if (desiredCostManagementConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredCostManagementConfig_ = value; + onChanged(); + } else { + desiredCostManagementConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + public Builder setDesiredCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig.Builder builderForValue) { + if (desiredCostManagementConfigBuilder_ == null) { + desiredCostManagementConfig_ = builderForValue.build(); + onChanged(); + } else { + desiredCostManagementConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + public Builder mergeDesiredCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { + if (desiredCostManagementConfigBuilder_ == null) { + if (desiredCostManagementConfig_ != null) { + desiredCostManagementConfig_ = + com.google.container.v1beta1.CostManagementConfig.newBuilder( + desiredCostManagementConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + desiredCostManagementConfig_ = value; + } + onChanged(); + } else { + desiredCostManagementConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + public Builder clearDesiredCostManagementConfig() { + if (desiredCostManagementConfigBuilder_ == null) { + desiredCostManagementConfig_ = null; + onChanged(); + } else { + desiredCostManagementConfig_ = null; + desiredCostManagementConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + public com.google.container.v1beta1.CostManagementConfig.Builder + getDesiredCostManagementConfigBuilder() { + + onChanged(); + return getDesiredCostManagementConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder() { + if (desiredCostManagementConfigBuilder_ != null) { + return desiredCostManagementConfigBuilder_.getMessageOrBuilder(); + } else { + return desiredCostManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; + } + } + /** + * + * + *
+     * The desired configuration for the fine-grained cost management feature.
+     * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> + getDesiredCostManagementConfigFieldBuilder() { + if (desiredCostManagementConfigBuilder_ == null) { + desiredCostManagementConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder>( + getDesiredCostManagementConfig(), getParentForChildren(), isClean()); + desiredCostManagementConfig_ = null; + } + return desiredCostManagementConfigBuilder_; + } + private com.google.container.v1beta1.Master desiredMaster_; private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1beta1.Master, @@ -10997,6 +11790,404 @@ public Builder clearDesiredIdentityServiceConfig() { return desiredIdentityServiceConfigBuilder_; } + private com.google.container.v1beta1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> + desiredNodePoolAutoConfigNetworkTagsBuilder_; + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. + */ + public boolean hasDesiredNodePoolAutoConfigNetworkTags() { + return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null + || desiredNodePoolAutoConfigNetworkTags_ != null; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return The desiredNodePoolAutoConfigNetworkTags. + */ + public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; + } else { + return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder setDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1beta1.NetworkTags value) { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredNodePoolAutoConfigNetworkTags_ = value; + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTagsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder setDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1beta1.NetworkTags.Builder builderForValue) { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTags_ = builderForValue.build(); + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTagsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder mergeDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1beta1.NetworkTags value) { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + if (desiredNodePoolAutoConfigNetworkTags_ != null) { + desiredNodePoolAutoConfigNetworkTags_ = + com.google.container.v1beta1.NetworkTags.newBuilder( + desiredNodePoolAutoConfigNetworkTags_) + .mergeFrom(value) + .buildPartial(); + } else { + desiredNodePoolAutoConfigNetworkTags_ = value; + } + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTagsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public Builder clearDesiredNodePoolAutoConfigNetworkTags() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTags_ = null; + onChanged(); + } else { + desiredNodePoolAutoConfigNetworkTags_ = null; + desiredNodePoolAutoConfigNetworkTagsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public com.google.container.v1beta1.NetworkTags.Builder + getDesiredNodePoolAutoConfigNetworkTagsBuilder() { + + onChanged(); + return getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + public com.google.container.v1beta1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ != null) { + return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessageOrBuilder(); + } else { + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; + } + } + /** + * + * + *
+     * The desired network tags that apply to all auto-provisioned node pools
+     * in autopilot clusters and node auto-provisioning enabled clusters.
+     * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> + getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder() { + if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { + desiredNodePoolAutoConfigNetworkTagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder>( + getDesiredNodePoolAutoConfigNetworkTags(), getParentForChildren(), isClean()); + desiredNodePoolAutoConfigNetworkTags_ = null; + } + return desiredNodePoolAutoConfigNetworkTagsBuilder_; + } + + private com.google.container.v1beta1.ProtectConfig desiredProtectConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> + desiredProtectConfigBuilder_; + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * + * @return Whether the desiredProtectConfig field is set. + */ + public boolean hasDesiredProtectConfig() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * + * @return The desiredProtectConfig. + */ + public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { + if (desiredProtectConfigBuilder_ == null) { + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; + } else { + return desiredProtectConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + public Builder setDesiredProtectConfig(com.google.container.v1beta1.ProtectConfig value) { + if (desiredProtectConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + desiredProtectConfig_ = value; + onChanged(); + } else { + desiredProtectConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + public Builder setDesiredProtectConfig( + com.google.container.v1beta1.ProtectConfig.Builder builderForValue) { + if (desiredProtectConfigBuilder_ == null) { + desiredProtectConfig_ = builderForValue.build(); + onChanged(); + } else { + desiredProtectConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + public Builder mergeDesiredProtectConfig(com.google.container.v1beta1.ProtectConfig value) { + if (desiredProtectConfigBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && desiredProtectConfig_ != null + && desiredProtectConfig_ + != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { + desiredProtectConfig_ = + com.google.container.v1beta1.ProtectConfig.newBuilder(desiredProtectConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + desiredProtectConfig_ = value; + } + onChanged(); + } else { + desiredProtectConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + public Builder clearDesiredProtectConfig() { + if (desiredProtectConfigBuilder_ == null) { + desiredProtectConfig_ = null; + onChanged(); + } else { + desiredProtectConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + public com.google.container.v1beta1.ProtectConfig.Builder getDesiredProtectConfigBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getDesiredProtectConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder() { + if (desiredProtectConfigBuilder_ != null) { + return desiredProtectConfigBuilder_.getMessageOrBuilder(); + } else { + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; + } + } + /** + * + * + *
+     * Enable/Disable Protect API features for the cluster.
+     * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> + getDesiredProtectConfigFieldBuilder() { + if (desiredProtectConfigBuilder_ == null) { + desiredProtectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder>( + getDesiredProtectConfig(), getParentForChildren(), isClean()); + desiredProtectConfig_ = null; + } + return desiredProtectConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java index 765c7c6ea006..2893fc495317 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java @@ -1168,6 +1168,41 @@ public interface ClusterUpdateOrBuilder */ com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder(); + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * + * @return Whether the desiredWorkloadAltsConfig field is set. + */ + boolean hasDesiredWorkloadAltsConfig(); + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * + * @return The desiredWorkloadAltsConfig. + */ + com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig(); + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + */ + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder(); + /** * * @@ -1203,6 +1238,45 @@ public interface ClusterUpdateOrBuilder */ com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder(); + /** + * + * + *
+   * The desired configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * + * @return Whether the desiredCostManagementConfig field is set. + */ + boolean hasDesiredCostManagementConfig(); + /** + * + * + *
+   * The desired configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * + * @return The desiredCostManagementConfig. + */ + com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig(); + /** + * + * + *
+   * The desired configuration for the fine-grained cost management feature.
+   * 
+ * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + */ + com.google.container.v1beta1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder(); + /** * * @@ -1471,4 +1545,81 @@ public interface ClusterUpdateOrBuilder */ com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder(); + + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. + */ + boolean hasDesiredNodePoolAutoConfigNetworkTags(); + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * + * @return The desiredNodePoolAutoConfigNetworkTags. + */ + com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags(); + /** + * + * + *
+   * The desired network tags that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters.
+   * 
+ * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + */ + com.google.container.v1beta1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder(); + + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * + * @return Whether the desiredProtectConfig field is set. + */ + boolean hasDesiredProtectConfig(); + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * + * @return The desiredProtectConfig. + */ + com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig(); + /** + * + * + *
+   * Enable/Disable Protect API features for the cluster.
+   * 
+ * + * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + */ + com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index 20cd32e630b7..4cab21d8a141 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return The projectId. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return The bytes for projectId. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The zone. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The bytes for zone. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return The clusterId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return The bytes for clusterId. */ @java.lang.Override @@ -324,7 +324,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -348,7 +348,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -742,7 +742,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -750,7 +750,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return The projectId. */ @java.lang.Deprecated @@ -770,7 +770,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -778,7 +778,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -798,7 +798,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -806,7 +806,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @param value The projectId to set. * @return This builder for chaining. */ @@ -825,7 +825,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -833,7 +833,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return This builder for chaining. */ @java.lang.Deprecated @@ -848,7 +848,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -856,7 +856,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -886,7 +886,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The zone. */ @java.lang.Deprecated @@ -914,7 +914,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The bytes for zone. */ @java.lang.Deprecated @@ -942,7 +942,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @param value The zone to set. * @return This builder for chaining. */ @@ -969,7 +969,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return This builder for chaining. */ @java.lang.Deprecated @@ -992,7 +992,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1021,7 +1021,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return The clusterId. */ @java.lang.Deprecated @@ -1048,7 +1048,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1075,7 +1075,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1101,7 +1101,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1123,7 +1123,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1144,7 +1144,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1167,7 +1167,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1190,7 +1190,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1212,7 +1212,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1230,7 +1230,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to complete IP
+     * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index 4e15ddd6ccde..2bdbf3a489c9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface CompleteIPRotationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface CompleteIPRotationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3695 + * google/container/v1beta1/cluster_service.proto;l=4063 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=4072 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3711 + * google/container/v1beta1/cluster_service.proto;l=4079 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -136,7 +136,7 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -149,7 +149,7 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to complete IP
+   * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java new file mode 100644 index 000000000000..7f8ed9c6079d --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java @@ -0,0 +1,656 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
+ * upgrade.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.CompleteNodePoolUpgradeRequest} + */ +public final class CompleteNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.CompleteNodePoolUpgradeRequest) + CompleteNodePoolUpgradeRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CompleteNodePoolUpgradeRequest.newBuilder() to construct. + private CompleteNodePoolUpgradeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CompleteNodePoolUpgradeRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CompleteNodePoolUpgradeRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CompleteNodePoolUpgradeRequest( + 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 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The name (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @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 (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, 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.container.v1beta1.CompleteNodePoolUpgradeRequest)) { + return super.equals(obj); + } + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other = + (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) obj; + + 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(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest 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.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest 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.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest 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.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest 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.container.v1beta1.CompleteNodePoolUpgradeRequest 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; + } + /** + * + * + *
+   * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
+   * upgrade.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.CompleteNodePoolUpgradeRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CompleteNodePoolUpgradeRequest) + com.google.container.v1beta1.CompleteNodePoolUpgradeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class); + } + + // Construct using com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.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_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { + return com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest build() { + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest buildPartial() { + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest result = + new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(this); + result.name_ = name_; + 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.container.v1beta1.CompleteNodePoolUpgradeRequest) { + return mergeFrom((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other) { + if (other == com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + 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.container.v1beta1.CompleteNodePoolUpgradeRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @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 (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name (project, location, cluster, node pool id) of the node pool to
+     * complete upgrade.
+     * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + 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.container.v1beta1.CompleteNodePoolUpgradeRequest) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.CompleteNodePoolUpgradeRequest) + private static final com.google.container.v1beta1.CompleteNodePoolUpgradeRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(); + } + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompleteNodePoolUpgradeRequest(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.container.v1beta1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java new file mode 100644 index 000000000000..d9ba6992b8df --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface CompleteNodePoolUpgradeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CompleteNodePoolUpgradeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name (project, location, cluster, node pool id) of the node pool to
+   * complete upgrade.
+   * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java index acc68df2ea7d..094093d591ce 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java @@ -116,8 +116,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Whether Confidential Nodes feature is enabled for all nodes in this
-   * cluster.
+   * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; @@ -450,8 +449,7 @@ public Builder mergeFrom( * * *
-     * Whether Confidential Nodes feature is enabled for all nodes in this
-     * cluster.
+     * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; @@ -466,8 +464,7 @@ public boolean getEnabled() { * * *
-     * Whether Confidential Nodes feature is enabled for all nodes in this
-     * cluster.
+     * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; @@ -485,8 +482,7 @@ public Builder setEnabled(boolean value) { * * *
-     * Whether Confidential Nodes feature is enabled for all nodes in this
-     * cluster.
+     * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java index dc25d471ae71..9927f84752c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java @@ -27,8 +27,7 @@ public interface ConfidentialNodesOrBuilder * * *
-   * Whether Confidential Nodes feature is enabled for all nodes in this
-   * cluster.
+   * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java new file mode 100644 index 000000000000..2a6e0bb83fc1 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java @@ -0,0 +1,548 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * Configuration for fine-grained cost management feature.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.CostManagementConfig} + */ +public final class CostManagementConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.CostManagementConfig) + CostManagementConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use CostManagementConfig.newBuilder() to construct. + private CostManagementConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CostManagementConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CostManagementConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CostManagementConfig( + 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 8: + { + enabled_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.CostManagementConfig.class, + com.google.container.v1beta1.CostManagementConfig.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_; + /** + * + * + *
+   * Whether the feature is enabled or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + 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 (enabled_ != false) { + output.writeBool(1, enabled_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + 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.container.v1beta1.CostManagementConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.CostManagementConfig other = + (com.google.container.v1beta1.CostManagementConfig) obj; + + if (getEnabled() != other.getEnabled()) 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) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.CostManagementConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.CostManagementConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.CostManagementConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.CostManagementConfig 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.container.v1beta1.CostManagementConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.CostManagementConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.CostManagementConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.CostManagementConfig 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.container.v1beta1.CostManagementConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.CostManagementConfig 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.container.v1beta1.CostManagementConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.CostManagementConfig 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.container.v1beta1.CostManagementConfig 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; + } + /** + * + * + *
+   * Configuration for fine-grained cost management feature.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.CostManagementConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CostManagementConfig) + com.google.container.v1beta1.CostManagementConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.CostManagementConfig.class, + com.google.container.v1beta1.CostManagementConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.CostManagementConfig.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(); + enabled_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.CostManagementConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfig build() { + com.google.container.v1beta1.CostManagementConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.CostManagementConfig buildPartial() { + com.google.container.v1beta1.CostManagementConfig result = + new com.google.container.v1beta1.CostManagementConfig(this); + result.enabled_ = enabled_; + 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.container.v1beta1.CostManagementConfig) { + return mergeFrom((com.google.container.v1beta1.CostManagementConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.CostManagementConfig other) { + if (other == com.google.container.v1beta1.CostManagementConfig.getDefaultInstance()) + return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + 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.container.v1beta1.CostManagementConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1beta1.CostManagementConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean enabled_; + /** + * + * + *
+     * Whether the feature is enabled or not.
+     * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + * + * + *
+     * Whether the feature is enabled or not.
+     * 
+ * + * bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Whether the feature is enabled or not.
+     * 
+ * + * bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + + enabled_ = 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.container.v1beta1.CostManagementConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.CostManagementConfig) + private static final com.google.container.v1beta1.CostManagementConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.CostManagementConfig(); + } + + public static com.google.container.v1beta1.CostManagementConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CostManagementConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CostManagementConfig(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.container.v1beta1.CostManagementConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java new file mode 100644 index 000000000000..ec715bfa4659 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface CostManagementConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CostManagementConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the feature is enabled or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index a3388c61bae0..fb4f0f3d8ee6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return The projectId. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return The bytes for projectId. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return The zone. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return The bytes for zone. */ @java.lang.Override @@ -754,7 +754,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -762,7 +762,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return The projectId. */ @java.lang.Deprecated @@ -782,7 +782,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -790,7 +790,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -818,7 +818,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @param value The projectId to set. * @return This builder for chaining. */ @@ -837,7 +837,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -845,7 +845,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return This builder for chaining. */ @java.lang.Deprecated @@ -860,7 +860,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -868,7 +868,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -898,7 +898,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return The zone. */ @java.lang.Deprecated @@ -926,7 +926,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return The bytes for zone. */ @java.lang.Deprecated @@ -954,7 +954,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @param value The zone to set. * @return This builder for chaining. */ @@ -981,7 +981,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1004,7 +1004,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index 840fa1afbe18..8dc64aa706c5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface CreateClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -36,7 +36,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface CreateClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -54,7 +54,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2109 + * google/container/v1beta1/cluster_service.proto;l=2306 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2118 + * google/container/v1beta1/cluster_service.proto;l=2315 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index 463510bc77ad..66e2b621ac99 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return The projectId. */ @java.lang.Override @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -197,7 +197,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return The bytes for projectId. */ @java.lang.Override @@ -229,7 +229,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return The zone. */ @java.lang.Override @@ -258,7 +258,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return The bytes for zone. */ @java.lang.Override @@ -289,7 +289,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The clusterId. */ @java.lang.Override @@ -317,7 +317,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The bytes for clusterId. */ @java.lang.Override @@ -394,7 +394,7 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
@@ -419,7 +419,7 @@ public java.lang.String getParent() { * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
@@ -841,7 +841,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -849,7 +849,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return The projectId. */ @java.lang.Deprecated @@ -869,7 +869,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -877,7 +877,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -897,7 +897,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -905,7 +905,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @param value The projectId to set. * @return This builder for chaining. */ @@ -924,7 +924,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -932,7 +932,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return This builder for chaining. */ @java.lang.Deprecated @@ -947,7 +947,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -955,7 +955,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -985,7 +985,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return The zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1041,7 +1041,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @param value The zone to set. * @return This builder for chaining. */ @@ -1068,7 +1068,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1091,7 +1091,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1120,7 +1120,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1174,7 +1174,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1200,7 +1200,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1222,7 +1222,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1446,7 +1446,7 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1470,7 +1470,7 @@ public java.lang.String getParent() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1494,7 +1494,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1517,7 +1517,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
@@ -1536,7 +1536,7 @@ public Builder clearParent() { * * *
-     * The parent (project, location, cluster id) where the node pool will be
+     * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
      * `projects/*/locations/*/clusters/*`.
      * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index 11a478bf9773..208b87fef6f4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface CreateNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -36,7 +36,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface CreateNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -54,7 +54,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2858 + * google/container/v1beta1/cluster_service.proto;l=3062 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2867 + * google/container/v1beta1/cluster_service.proto;l=3071 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2874 + * google/container/v1beta1/cluster_service.proto;l=3078 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -177,7 +177,7 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
@@ -191,7 +191,7 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pool will be
+   * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
    * `projects/*/locations/*/clusters/*`.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java index 4635fbc69203..1ed4edf140ce 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java @@ -23,7 +23,7 @@ * *
  * The datapath provider selects the implementation of the Kubernetes networking
- * // model for service resolution and network policy enforcement.
+ * model for service resolution and network policy enforcement.
  * 
* * Protobuf enum {@code google.container.v1beta1.DatapathProvider} @@ -158,7 +158,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); + return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(3); } private static final DatapathProvider[] VALUES = values(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index cd2ad421fde2..142ba7517cef 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return The projectId. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return The bytes for projectId. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return The zone. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return The bytes for zone. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return The clusterId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return The bytes for clusterId. */ @java.lang.Override @@ -741,7 +741,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -749,7 +749,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return The projectId. */ @java.lang.Deprecated @@ -769,7 +769,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -777,7 +777,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -797,7 +797,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -805,7 +805,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @param value The projectId to set. * @return This builder for chaining. */ @@ -824,7 +824,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -832,7 +832,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return This builder for chaining. */ @java.lang.Deprecated @@ -847,7 +847,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -855,7 +855,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -885,7 +885,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return The zone. */ @java.lang.Deprecated @@ -913,7 +913,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return The bytes for zone. */ @java.lang.Deprecated @@ -941,7 +941,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @param value The zone to set. * @return This builder for chaining. */ @@ -968,7 +968,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return This builder for chaining. */ @java.lang.Deprecated @@ -991,7 +991,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1020,7 +1020,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return The clusterId. */ @java.lang.Deprecated @@ -1047,7 +1047,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1100,7 +1100,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index 14cc36ed1a02..e0e934a16387 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface DeleteClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface DeleteClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2600 + * google/container/v1beta1/cluster_service.proto;l=2804 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2609 + * google/container/v1beta1/cluster_service.proto;l=2813 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2616 + * google/container/v1beta1/cluster_service.proto;l=2820 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index eea20c745361..9782eab895a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return The projectId. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return The bytes for projectId. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return The zone. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return The bytes for zone. */ @java.lang.Override @@ -281,7 +281,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return The clusterId. */ @java.lang.Override @@ -309,7 +309,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return The bytes for clusterId. */ @java.lang.Override @@ -340,7 +340,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return The nodePoolId. */ @java.lang.Override @@ -368,7 +368,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -834,7 +834,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -862,7 +862,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -890,7 +890,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -917,7 +917,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -940,7 +940,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -970,7 +970,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return The zone. */ @java.lang.Deprecated @@ -998,7 +998,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1026,7 +1026,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @param value The zone to set. * @return This builder for chaining. */ @@ -1053,7 +1053,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1076,7 +1076,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1105,7 +1105,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return The clusterId. */ @java.lang.Deprecated @@ -1132,7 +1132,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1159,7 +1159,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1185,7 +1185,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1207,7 +1207,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1236,7 +1236,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1263,7 +1263,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1290,7 +1290,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1316,7 +1316,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1338,7 +1338,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index f7e3adf61878..c2404bee708c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface DeleteNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface DeleteNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2893 + * google/container/v1beta1/cluster_service.proto;l=3097 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=3106 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2909 + * google/container/v1beta1/cluster_service.proto;l=3113 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2916 + * google/container/v1beta1/cluster_service.proto;l=3120 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java new file mode 100644 index 000000000000..93523472cf80 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java @@ -0,0 +1,908 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * GPUSharingConfig represents the GPU sharing configuration for Hardware
+ * Accelerators.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.GPUSharingConfig} + */ +public final class GPUSharingConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.GPUSharingConfig) + GPUSharingConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use GPUSharingConfig.newBuilder() to construct. + private GPUSharingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GPUSharingConfig() { + gpuSharingStrategy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GPUSharingConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GPUSharingConfig( + 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 8: + { + maxSharedClientsPerGpu_ = input.readInt64(); + break; + } + case 16: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + gpuSharingStrategy_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.GPUSharingConfig.class, + com.google.container.v1beta1.GPUSharingConfig.Builder.class); + } + + /** + * + * + *
+   * The type of GPU sharing strategy currently provided.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy} + */ + public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value.
+     * 
+ * + * GPU_SHARING_STRATEGY_UNSPECIFIED = 0; + */ + GPU_SHARING_STRATEGY_UNSPECIFIED(0), + /** + * + * + *
+     * GPUs are time-shared between containers.
+     * 
+ * + * TIME_SHARING = 1; + */ + TIME_SHARING(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value.
+     * 
+ * + * GPU_SHARING_STRATEGY_UNSPECIFIED = 0; + */ + public static final int GPU_SHARING_STRATEGY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * GPUs are time-shared between containers.
+     * 
+ * + * TIME_SHARING = 1; + */ + public static final int TIME_SHARING_VALUE = 1; + + 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 GPUSharingStrategy 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 GPUSharingStrategy forNumber(int value) { + switch (value) { + case 0: + return GPU_SHARING_STRATEGY_UNSPECIFIED; + case 1: + return TIME_SHARING; + 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 GPUSharingStrategy findValueByNumber(int number) { + return GPUSharingStrategy.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.container.v1beta1.GPUSharingConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final GPUSharingStrategy[] VALUES = values(); + + public static GPUSharingStrategy 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 GPUSharingStrategy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy) + } + + private int bitField0_; + public static final int MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 1; + private long maxSharedClientsPerGpu_; + /** + * + * + *
+   * The max number of containers that can share a physical GPU.
+   * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return The maxSharedClientsPerGpu. + */ + @java.lang.Override + public long getMaxSharedClientsPerGpu() { + return maxSharedClientsPerGpu_; + } + + public static final int GPU_SHARING_STRATEGY_FIELD_NUMBER = 2; + private int gpuSharingStrategy_; + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return Whether the gpuSharingStrategy field is set. + */ + @java.lang.Override + public boolean hasGpuSharingStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The enum numeric value on the wire for gpuSharingStrategy. + */ + @java.lang.Override + public int getGpuSharingStrategyValue() { + return gpuSharingStrategy_; + } + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The gpuSharingStrategy. + */ + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf( + gpuSharingStrategy_); + return result == null + ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (maxSharedClientsPerGpu_ != 0L) { + output.writeInt64(1, maxSharedClientsPerGpu_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(2, gpuSharingStrategy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (maxSharedClientsPerGpu_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxSharedClientsPerGpu_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gpuSharingStrategy_); + } + 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.container.v1beta1.GPUSharingConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.GPUSharingConfig other = + (com.google.container.v1beta1.GPUSharingConfig) obj; + + if (getMaxSharedClientsPerGpu() != other.getMaxSharedClientsPerGpu()) return false; + if (hasGpuSharingStrategy() != other.hasGpuSharingStrategy()) return false; + if (hasGpuSharingStrategy()) { + if (gpuSharingStrategy_ != other.gpuSharingStrategy_) 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) + MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSharedClientsPerGpu()); + if (hasGpuSharingStrategy()) { + hash = (37 * hash) + GPU_SHARING_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + gpuSharingStrategy_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.GPUSharingConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.GPUSharingConfig 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.container.v1beta1.GPUSharingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.GPUSharingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.GPUSharingConfig 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.container.v1beta1.GPUSharingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.GPUSharingConfig 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.container.v1beta1.GPUSharingConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.GPUSharingConfig 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.container.v1beta1.GPUSharingConfig 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; + } + /** + * + * + *
+   * GPUSharingConfig represents the GPU sharing configuration for Hardware
+   * Accelerators.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.GPUSharingConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GPUSharingConfig) + com.google.container.v1beta1.GPUSharingConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.GPUSharingConfig.class, + com.google.container.v1beta1.GPUSharingConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.GPUSharingConfig.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(); + maxSharedClientsPerGpu_ = 0L; + + gpuSharingStrategy_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig build() { + com.google.container.v1beta1.GPUSharingConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig buildPartial() { + com.google.container.v1beta1.GPUSharingConfig result = + new com.google.container.v1beta1.GPUSharingConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.maxSharedClientsPerGpu_ = maxSharedClientsPerGpu_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.gpuSharingStrategy_ = gpuSharingStrategy_; + 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.container.v1beta1.GPUSharingConfig) { + return mergeFrom((com.google.container.v1beta1.GPUSharingConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.GPUSharingConfig other) { + if (other == com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance()) return this; + if (other.getMaxSharedClientsPerGpu() != 0L) { + setMaxSharedClientsPerGpu(other.getMaxSharedClientsPerGpu()); + } + if (other.hasGpuSharingStrategy()) { + setGpuSharingStrategy(other.getGpuSharingStrategy()); + } + 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.container.v1beta1.GPUSharingConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1beta1.GPUSharingConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private long maxSharedClientsPerGpu_; + /** + * + * + *
+     * The max number of containers that can share a physical GPU.
+     * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return The maxSharedClientsPerGpu. + */ + @java.lang.Override + public long getMaxSharedClientsPerGpu() { + return maxSharedClientsPerGpu_; + } + /** + * + * + *
+     * The max number of containers that can share a physical GPU.
+     * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @param value The maxSharedClientsPerGpu to set. + * @return This builder for chaining. + */ + public Builder setMaxSharedClientsPerGpu(long value) { + + maxSharedClientsPerGpu_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The max number of containers that can share a physical GPU.
+     * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxSharedClientsPerGpu() { + + maxSharedClientsPerGpu_ = 0L; + onChanged(); + return this; + } + + private int gpuSharingStrategy_ = 0; + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return Whether the gpuSharingStrategy field is set. + */ + @java.lang.Override + public boolean hasGpuSharingStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The enum numeric value on the wire for gpuSharingStrategy. + */ + @java.lang.Override + public int getGpuSharingStrategyValue() { + return gpuSharingStrategy_; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @param value The enum numeric value on the wire for gpuSharingStrategy to set. + * @return This builder for chaining. + */ + public Builder setGpuSharingStrategyValue(int value) { + bitField0_ |= 0x00000001; + gpuSharingStrategy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The gpuSharingStrategy. + */ + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy + getGpuSharingStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf( + gpuSharingStrategy_); + return result == null + ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @param value The gpuSharingStrategy to set. + * @return This builder for chaining. + */ + public Builder setGpuSharingStrategy( + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + gpuSharingStrategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of GPU sharing strategy to enable on the GPU node.
+     * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearGpuSharingStrategy() { + bitField0_ = (bitField0_ & ~0x00000001); + gpuSharingStrategy_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GPUSharingConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.GPUSharingConfig) + private static final com.google.container.v1beta1.GPUSharingConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.GPUSharingConfig(); + } + + public static com.google.container.v1beta1.GPUSharingConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GPUSharingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GPUSharingConfig(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.container.v1beta1.GPUSharingConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java new file mode 100644 index 000000000000..7db9d08ad7d8 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java @@ -0,0 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GPUSharingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GPUSharingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The max number of containers that can share a physical GPU.
+   * 
+ * + * int64 max_shared_clients_per_gpu = 1; + * + * @return The maxSharedClientsPerGpu. + */ + long getMaxSharedClientsPerGpu(); + + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return Whether the gpuSharingStrategy field is set. + */ + boolean hasGpuSharingStrategy(); + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The enum numeric value on the wire for gpuSharingStrategy. + */ + int getGpuSharingStrategyValue(); + /** + * + * + *
+   * The type of GPU sharing strategy to enable on the GPU node.
+   * 
+ * + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * + * @return The gpuSharingStrategy. + */ + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index 79e091b4e258..01ce25ae49f1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The projectId. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return The zone. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return The bytes for zone. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return The clusterId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -747,7 +747,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -775,7 +775,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -795,7 +795,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -803,7 +803,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @param value The projectId to set. * @return This builder for chaining. */ @@ -822,7 +822,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -830,7 +830,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -853,7 +853,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -883,7 +883,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return The zone. */ @java.lang.Deprecated @@ -911,7 +911,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return The bytes for zone. */ @java.lang.Deprecated @@ -939,7 +939,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @param value The zone to set. * @return This builder for chaining. */ @@ -966,7 +966,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return This builder for chaining. */ @java.lang.Deprecated @@ -989,7 +989,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1018,7 +1018,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return The clusterId. */ @java.lang.Deprecated @@ -1045,7 +1045,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1072,7 +1072,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1098,7 +1098,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1120,7 +1120,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index 5d20cda5ea76..9412f90e1bb5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface GetClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface GetClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2137 + * google/container/v1beta1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2146 + * google/container/v1beta1/cluster_service.proto;l=2343 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2350 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java index 1ac08aa693a5..683e23e9c957 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java @@ -122,7 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -146,7 +146,7 @@ public java.lang.String getParent() { * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -493,7 +493,7 @@ public Builder mergeFrom( * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -516,7 +516,7 @@ public java.lang.String getParent() { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -539,7 +539,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -561,7 +561,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -579,7 +579,7 @@ public Builder clearParent() { * * *
-     * The cluster (project, location, cluster id) to get keys for. Specified in
+     * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java index b2072b558ce1..dc4775d1df7c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface GetJSONWebKeysRequestOrBuilder * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -40,7 +40,7 @@ public interface GetJSONWebKeysRequestOrBuilder * * *
-   * The cluster (project, location, cluster id) to get keys for. Specified in
+   * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java index 1ce3e0291f7e..7e39dc2ea64e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return The projectId. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return The bytes for projectId. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return The zone. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return The bytes for zone. */ @java.lang.Override @@ -281,7 +281,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return The clusterId. */ @java.lang.Override @@ -309,7 +309,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return The bytes for clusterId. */ @java.lang.Override @@ -340,7 +340,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return The nodePoolId. */ @java.lang.Override @@ -368,7 +368,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -833,7 +833,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return The projectId. */ @java.lang.Deprecated @@ -853,7 +853,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -861,7 +861,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -881,7 +881,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -889,7 +889,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @param value The projectId to set. * @return This builder for chaining. */ @@ -908,7 +908,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -916,7 +916,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return This builder for chaining. */ @java.lang.Deprecated @@ -931,7 +931,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -939,7 +939,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -969,7 +969,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return The zone. */ @java.lang.Deprecated @@ -997,7 +997,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1025,7 +1025,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @param value The zone to set. * @return This builder for chaining. */ @@ -1052,7 +1052,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1075,7 +1075,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1104,7 +1104,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return The clusterId. */ @java.lang.Deprecated @@ -1131,7 +1131,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1184,7 +1184,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1206,7 +1206,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1235,7 +1235,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1289,7 +1289,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1315,7 +1315,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1337,7 +1337,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index 0c0b112d3985..b5c07efb3a46 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface GetNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface GetNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2963 + * google/container/v1beta1/cluster_service.proto;l=3167 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2972 + * google/container/v1beta1/cluster_service.proto;l=3176 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2979 + * google/container/v1beta1/cluster_service.proto;l=3183 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2986 + * google/container/v1beta1/cluster_service.proto;l=3190 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index be9834152c96..3998a2054514 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The operationId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for operationId. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -748,7 +748,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ @java.lang.Deprecated @@ -768,7 +768,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -776,7 +776,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -796,7 +796,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -804,7 +804,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @param value The projectId to set. * @return This builder for chaining. */ @@ -823,7 +823,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -831,7 +831,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return This builder for chaining. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -854,7 +854,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -884,7 +884,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ @java.lang.Deprecated @@ -912,7 +912,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ @java.lang.Deprecated @@ -940,7 +940,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @param value The zone to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return This builder for chaining. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1019,7 +1019,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The operationId. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1121,7 +1121,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index 599a07077105..b83481937737 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface GetOperationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface GetOperationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2667 + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2676 + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index dc0bf8cbb315..10e481380b54 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java @@ -136,7 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return The projectId. */ @java.lang.Override @@ -165,7 +165,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return The bytes for projectId. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return The zone. */ @java.lang.Override @@ -234,7 +234,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return The bytes for zone. */ @java.lang.Override @@ -658,7 +658,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -666,7 +666,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return The projectId. */ @java.lang.Deprecated @@ -686,7 +686,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -694,7 +694,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -714,7 +714,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -722,7 +722,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @param value The projectId to set. * @return This builder for chaining. */ @@ -741,7 +741,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -749,7 +749,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return This builder for chaining. */ @java.lang.Deprecated @@ -764,7 +764,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -772,7 +772,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -802,7 +802,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return The zone. */ @java.lang.Deprecated @@ -830,7 +830,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return The bytes for zone. */ @java.lang.Deprecated @@ -858,7 +858,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @param value The zone to set. * @return This builder for chaining. */ @@ -885,7 +885,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return This builder for chaining. */ @java.lang.Deprecated @@ -908,7 +908,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index 2ba659cc6d14..ed251ce7ed8e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface GetServerConfigRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface GetServerConfigRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2764 + * google/container/v1beta1/cluster_service.proto;l=2968 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2773 + * google/container/v1beta1/cluster_service.proto;l=2977 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index 96a92cf769f2..ff98b7c59129 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java @@ -48,6 +48,10 @@ private IPAllocationPolicy() { nodeIpv4CidrBlock_ = ""; servicesIpv4CidrBlock_ = ""; tpuIpv4CidrBlock_ = ""; + stackType_ = 0; + ipv6AccessType_ = 0; + subnetIpv6CidrBlock_ = ""; + servicesIpv6CidrBlock_ = ""; } @java.lang.Override @@ -169,6 +173,34 @@ private IPAllocationPolicy( useRoutes_ = input.readBool(); break; } + case 128: + { + int rawValue = input.readEnum(); + + stackType_ = rawValue; + break; + } + case 136: + { + int rawValue = input.readEnum(); + + ipv6AccessType_ = rawValue; + break; + } + case 178: + { + java.lang.String s = input.readStringRequireUtf8(); + + subnetIpv6CidrBlock_ = s; + break; + } + case 186: + { + java.lang.String s = input.readStringRequireUtf8(); + + servicesIpv6CidrBlock_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -205,6 +237,320 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.IPAllocationPolicy.Builder.class); } + /** + * + * + *
+   * IP stack type
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.IPAllocationPolicy.StackType} + */ + public enum StackType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * By default, the clusters will be IPV4 only
+     * 
+ * + * STACK_TYPE_UNSPECIFIED = 0; + */ + STACK_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * The value used if the cluster is a IPV4 only
+     * 
+ * + * IPV4 = 1; + */ + IPV4(1), + /** + * + * + *
+     * The value used if the cluster is a dual stack cluster
+     * 
+ * + * IPV4_IPV6 = 2; + */ + IPV4_IPV6(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * By default, the clusters will be IPV4 only
+     * 
+ * + * STACK_TYPE_UNSPECIFIED = 0; + */ + public static final int STACK_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * The value used if the cluster is a IPV4 only
+     * 
+ * + * IPV4 = 1; + */ + public static final int IPV4_VALUE = 1; + /** + * + * + *
+     * The value used if the cluster is a dual stack cluster
+     * 
+ * + * IPV4_IPV6 = 2; + */ + public static final int IPV4_IPV6_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static StackType 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 StackType forNumber(int value) { + switch (value) { + case 0: + return STACK_TYPE_UNSPECIFIED; + case 1: + return IPV4; + case 2: + return IPV4_IPV6; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StackType findValueByNumber(int number) { + return StackType.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.container.v1beta1.IPAllocationPolicy.getDescriptor().getEnumTypes().get(0); + } + + private static final StackType[] VALUES = values(); + + public static StackType 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 StackType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.IPAllocationPolicy.StackType) + } + + /** + * + * + *
+   * IPv6 access type
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.IPAllocationPolicy.IPv6AccessType} + */ + public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value, will be defaulted as type external.
+     * 
+ * + * IPV6_ACCESS_TYPE_UNSPECIFIED = 0; + */ + IPV6_ACCESS_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Access type internal (all v6 addresses are internal IPs)
+     * 
+ * + * INTERNAL = 1; + */ + INTERNAL(1), + /** + * + * + *
+     * Access type external (all v6 addresses are external IPs)
+     * 
+ * + * EXTERNAL = 2; + */ + EXTERNAL(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value, will be defaulted as type external.
+     * 
+ * + * IPV6_ACCESS_TYPE_UNSPECIFIED = 0; + */ + public static final int IPV6_ACCESS_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Access type internal (all v6 addresses are internal IPs)
+     * 
+ * + * INTERNAL = 1; + */ + public static final int INTERNAL_VALUE = 1; + /** + * + * + *
+     * Access type external (all v6 addresses are external IPs)
+     * 
+ * + * EXTERNAL = 2; + */ + public static final int EXTERNAL_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IPv6AccessType 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 IPv6AccessType forNumber(int value) { + switch (value) { + case 0: + return IPV6_ACCESS_TYPE_UNSPECIFIED; + case 1: + return INTERNAL; + case 2: + return EXTERNAL; + 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 IPv6AccessType findValueByNumber(int number) { + return IPv6AccessType.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.container.v1beta1.IPAllocationPolicy.getDescriptor().getEnumTypes().get(1); + } + + private static final IPv6AccessType[] VALUES = values(); + + public static IPv6AccessType 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 IPv6AccessType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.IPAllocationPolicy.IPv6AccessType) + } + public static final int USE_IP_ALIASES_FIELD_NUMBER = 1; private boolean useIpAliases_; /** @@ -310,7 +656,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -336,7 +682,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -365,7 +711,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -391,7 +737,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -420,7 +766,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -446,7 +792,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -906,30 +1252,204 @@ public boolean getUseRoutes() { return useRoutes_; } - private byte memoizedIsInitialized = -1; - + public static final int STACK_TYPE_FIELD_NUMBER = 16; + private int stackType_; + /** + * + * + *
+   * IP stack type
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return The enum numeric value on the wire for stackType. + */ @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public int getStackTypeValue() { + return stackType_; + } + /** + * + * + *
+   * IP stack type
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return The stackType. + */ + @java.lang.Override + public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.IPAllocationPolicy.StackType result = + com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED + : result; + } - memoizedIsInitialized = 1; - return true; + public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER = 17; + private int ipv6AccessType_; + /** + * + * + *
+   * The ipv6 access type (internal or external) when create_subnetwork is true
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * @return The enum numeric value on the wire for ipv6AccessType. + */ + @java.lang.Override + public int getIpv6AccessTypeValue() { + return ipv6AccessType_; + } + /** + * + * + *
+   * The ipv6 access type (internal or external) when create_subnetwork is true
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * @return The ipv6AccessType. + */ + @java.lang.Override + public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED + : result; } + public static final int SUBNET_IPV6_CIDR_BLOCK_FIELD_NUMBER = 22; + private volatile java.lang.Object subnetIpv6CidrBlock_; + /** + * + * + *
+   * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+   * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The subnetIpv6CidrBlock. + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (useIpAliases_ != false) { - output.writeBool(1, useIpAliases_); - } - if (createSubnetwork_ != false) { - output.writeBool(2, createSubnetwork_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetworkName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subnetworkName_); + public java.lang.String getSubnetIpv6CidrBlock() { + java.lang.Object ref = subnetIpv6CidrBlock_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subnetIpv6CidrBlock_ = s; + return s; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4Cidr_)) { + } + /** + * + * + *
+   * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+   * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for subnetIpv6CidrBlock. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { + java.lang.Object ref = subnetIpv6CidrBlock_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subnetIpv6CidrBlock_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVICES_IPV6_CIDR_BLOCK_FIELD_NUMBER = 23; + private volatile java.lang.Object servicesIpv6CidrBlock_; + /** + * + * + *
+   * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+   * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The servicesIpv6CidrBlock. + */ + @java.lang.Override + public java.lang.String getServicesIpv6CidrBlock() { + java.lang.Object ref = servicesIpv6CidrBlock_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + servicesIpv6CidrBlock_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+   * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for servicesIpv6CidrBlock. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { + java.lang.Object ref = servicesIpv6CidrBlock_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + servicesIpv6CidrBlock_ = 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 (useIpAliases_ != false) { + output.writeBool(1, useIpAliases_); + } + if (createSubnetwork_ != false) { + output.writeBool(2, createSubnetwork_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetworkName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subnetworkName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4Cidr_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, clusterIpv4Cidr_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeIpv4Cidr_)) { @@ -962,6 +1482,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (useRoutes_ != false) { output.writeBool(15, useRoutes_); } + if (stackType_ + != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(16, stackType_); + } + if (ipv6AccessType_ + != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType + .IPV6_ACCESS_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(17, ipv6AccessType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetIpv6CidrBlock_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, subnetIpv6CidrBlock_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesIpv6CidrBlock_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 23, servicesIpv6CidrBlock_); + } unknownFields.writeTo(output); } @@ -1015,6 +1552,23 @@ public int getSerializedSize() { if (useRoutes_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, useRoutes_); } + if (stackType_ + != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, stackType_); + } + if (ipv6AccessType_ + != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType + .IPV6_ACCESS_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, ipv6AccessType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetIpv6CidrBlock_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, subnetIpv6CidrBlock_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesIpv6CidrBlock_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, servicesIpv6CidrBlock_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1046,6 +1600,10 @@ public boolean equals(final java.lang.Object obj) { if (getAllowRouteOverlap() != other.getAllowRouteOverlap()) return false; if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; if (getUseRoutes() != other.getUseRoutes()) return false; + if (stackType_ != other.stackType_) return false; + if (ipv6AccessType_ != other.ipv6AccessType_) return false; + if (!getSubnetIpv6CidrBlock().equals(other.getSubnetIpv6CidrBlock())) return false; + if (!getServicesIpv6CidrBlock().equals(other.getServicesIpv6CidrBlock())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1085,6 +1643,14 @@ public int hashCode() { hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); hash = (37 * hash) + USE_ROUTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseRoutes()); + hash = (37 * hash) + STACK_TYPE_FIELD_NUMBER; + hash = (53 * hash) + stackType_; + hash = (37 * hash) + IPV6_ACCESS_TYPE_FIELD_NUMBER; + hash = (53 * hash) + ipv6AccessType_; + hash = (37 * hash) + SUBNET_IPV6_CIDR_BLOCK_FIELD_NUMBER; + hash = (53 * hash) + getSubnetIpv6CidrBlock().hashCode(); + hash = (37 * hash) + SERVICES_IPV6_CIDR_BLOCK_FIELD_NUMBER; + hash = (53 * hash) + getServicesIpv6CidrBlock().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1258,6 +1824,14 @@ public Builder clear() { useRoutes_ = false; + stackType_ = 0; + + ipv6AccessType_ = 0; + + subnetIpv6CidrBlock_ = ""; + + servicesIpv6CidrBlock_ = ""; + return this; } @@ -1299,6 +1873,10 @@ public com.google.container.v1beta1.IPAllocationPolicy buildPartial() { result.allowRouteOverlap_ = allowRouteOverlap_; result.tpuIpv4CidrBlock_ = tpuIpv4CidrBlock_; result.useRoutes_ = useRoutes_; + result.stackType_ = stackType_; + result.ipv6AccessType_ = ipv6AccessType_; + result.subnetIpv6CidrBlock_ = subnetIpv6CidrBlock_; + result.servicesIpv6CidrBlock_ = servicesIpv6CidrBlock_; onBuilt(); return result; } @@ -1401,6 +1979,20 @@ public Builder mergeFrom(com.google.container.v1beta1.IPAllocationPolicy other) if (other.getUseRoutes() != false) { setUseRoutes(other.getUseRoutes()); } + if (other.stackType_ != 0) { + setStackTypeValue(other.getStackTypeValue()); + } + if (other.ipv6AccessType_ != 0) { + setIpv6AccessTypeValue(other.getIpv6AccessTypeValue()); + } + if (!other.getSubnetIpv6CidrBlock().isEmpty()) { + subnetIpv6CidrBlock_ = other.subnetIpv6CidrBlock_; + onChanged(); + } + if (!other.getServicesIpv6CidrBlock().isEmpty()) { + servicesIpv6CidrBlock_ = other.servicesIpv6CidrBlock_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1673,7 +2265,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1698,7 +2290,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1723,7 +2315,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -1747,7 +2339,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1767,7 +2359,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -1794,7 +2386,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -1819,7 +2411,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -1844,7 +2436,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -1868,7 +2460,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1888,7 +2480,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -1915,7 +2507,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -1940,7 +2532,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -1965,7 +2557,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -1989,7 +2581,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2009,7 +2601,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -3054,6 +3646,415 @@ public Builder clearUseRoutes() { return this; } + private int stackType_ = 0; + /** + * + * + *
+     * IP stack type
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return The enum numeric value on the wire for stackType. + */ + @java.lang.Override + public int getStackTypeValue() { + return stackType_; + } + /** + * + * + *
+     * IP stack type
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @param value The enum numeric value on the wire for stackType to set. + * @return This builder for chaining. + */ + public Builder setStackTypeValue(int value) { + + stackType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * IP stack type
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return The stackType. + */ + @java.lang.Override + public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.IPAllocationPolicy.StackType result = + com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * IP stack type
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @param value The stackType to set. + * @return This builder for chaining. + */ + public Builder setStackType(com.google.container.v1beta1.IPAllocationPolicy.StackType value) { + if (value == null) { + throw new NullPointerException(); + } + + stackType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * IP stack type
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return This builder for chaining. + */ + public Builder clearStackType() { + + stackType_ = 0; + onChanged(); + return this; + } + + private int ipv6AccessType_ = 0; + /** + * + * + *
+     * The ipv6 access type (internal or external) when create_subnetwork is true
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * + * @return The enum numeric value on the wire for ipv6AccessType. + */ + @java.lang.Override + public int getIpv6AccessTypeValue() { + return ipv6AccessType_; + } + /** + * + * + *
+     * The ipv6 access type (internal or external) when create_subnetwork is true
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * + * @param value The enum numeric value on the wire for ipv6AccessType to set. + * @return This builder for chaining. + */ + public Builder setIpv6AccessTypeValue(int value) { + + ipv6AccessType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The ipv6 access type (internal or external) when create_subnetwork is true
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * + * @return The ipv6AccessType. + */ + @java.lang.Override + public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The ipv6 access type (internal or external) when create_subnetwork is true
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * + * @param value The ipv6AccessType to set. + * @return This builder for chaining. + */ + public Builder setIpv6AccessType( + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType value) { + if (value == null) { + throw new NullPointerException(); + } + + ipv6AccessType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The ipv6 access type (internal or external) when create_subnetwork is true
+     * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * + * @return This builder for chaining. + */ + public Builder clearIpv6AccessType() { + + ipv6AccessType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object subnetIpv6CidrBlock_ = ""; + /** + * + * + *
+     * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+     * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The subnetIpv6CidrBlock. + */ + public java.lang.String getSubnetIpv6CidrBlock() { + java.lang.Object ref = subnetIpv6CidrBlock_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subnetIpv6CidrBlock_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+     * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for subnetIpv6CidrBlock. + */ + public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { + java.lang.Object ref = subnetIpv6CidrBlock_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subnetIpv6CidrBlock_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+     * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The subnetIpv6CidrBlock to set. + * @return This builder for chaining. + */ + public Builder setSubnetIpv6CidrBlock(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + subnetIpv6CidrBlock_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+     * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearSubnetIpv6CidrBlock() { + + subnetIpv6CidrBlock_ = getDefaultInstance().getSubnetIpv6CidrBlock(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+     * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for subnetIpv6CidrBlock to set. + * @return This builder for chaining. + */ + public Builder setSubnetIpv6CidrBlockBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + subnetIpv6CidrBlock_ = value; + onChanged(); + return this; + } + + private java.lang.Object servicesIpv6CidrBlock_ = ""; + /** + * + * + *
+     * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+     * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The servicesIpv6CidrBlock. + */ + public java.lang.String getServicesIpv6CidrBlock() { + java.lang.Object ref = servicesIpv6CidrBlock_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + servicesIpv6CidrBlock_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+     * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for servicesIpv6CidrBlock. + */ + public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { + java.lang.Object ref = servicesIpv6CidrBlock_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + servicesIpv6CidrBlock_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+     * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The servicesIpv6CidrBlock to set. + * @return This builder for chaining. + */ + public Builder setServicesIpv6CidrBlock(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + servicesIpv6CidrBlock_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+     * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearServicesIpv6CidrBlock() { + + servicesIpv6CidrBlock_ = getDefaultInstance().getServicesIpv6CidrBlock(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+     * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for servicesIpv6CidrBlock to set. + * @return This builder for chaining. + */ + public Builder setServicesIpv6CidrBlockBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + servicesIpv6CidrBlock_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index e3aa6fd26c27..1798fa35835a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java @@ -92,7 +92,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1212 + * google/container/v1beta1/cluster_service.proto;l=1305 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1215 + * google/container/v1beta1/cluster_service.proto;l=1308 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -154,7 +154,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1218 + * google/container/v1beta1/cluster_service.proto;l=1311 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -463,4 +463,104 @@ public interface IPAllocationPolicyOrBuilder * @return The useRoutes. */ boolean getUseRoutes(); + + /** + * + * + *
+   * IP stack type
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return The enum numeric value on the wire for stackType. + */ + int getStackTypeValue(); + /** + * + * + *
+   * IP stack type
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * + * @return The stackType. + */ + com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType(); + + /** + * + * + *
+   * The ipv6 access type (internal or external) when create_subnetwork is true
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * @return The enum numeric value on the wire for ipv6AccessType. + */ + int getIpv6AccessTypeValue(); + /** + * + * + *
+   * The ipv6 access type (internal or external) when create_subnetwork is true
+   * 
+ * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * @return The ipv6AccessType. + */ + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType(); + + /** + * + * + *
+   * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+   * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The subnetIpv6CidrBlock. + */ + java.lang.String getSubnetIpv6CidrBlock(); + /** + * + * + *
+   * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
+   * 
+ * + * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for subnetIpv6CidrBlock. + */ + com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes(); + + /** + * + * + *
+   * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+   * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The servicesIpv6CidrBlock. + */ + java.lang.String getServicesIpv6CidrBlock(); + /** + * + * + *
+   * Output only. [Output only] The services IPv6 CIDR block for the cluster.
+   * 
+ * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for servicesIpv6CidrBlock. + */ + com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index c62f77fd70a6..96a017407d23 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java @@ -265,7 +265,7 @@ private IstioAuthMode(int value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1115 + * google/container/v1beta1/cluster_service.proto;l=1184 * @return The disabled. */ @java.lang.Override @@ -286,7 +286,7 @@ public boolean getDisabled() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -304,7 +304,7 @@ public int getAuthValue() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return The auth. */ @java.lang.Override @@ -658,7 +658,7 @@ public Builder mergeFrom( * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1115 + * google/container/v1beta1/cluster_service.proto;l=1184 * @return The disabled. */ @java.lang.Override @@ -676,7 +676,7 @@ public boolean getDisabled() { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1115 + * google/container/v1beta1/cluster_service.proto;l=1184 * @param value The disabled to set. * @return This builder for chaining. */ @@ -697,7 +697,7 @@ public Builder setDisabled(boolean value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1115 + * google/container/v1beta1/cluster_service.proto;l=1184 * @return This builder for chaining. */ @java.lang.Deprecated @@ -720,7 +720,7 @@ public Builder clearDisabled() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -739,7 +739,7 @@ public int getAuthValue() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ @@ -761,7 +761,7 @@ public Builder setAuthValue(int value) { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return The auth. */ @java.lang.Override @@ -785,7 +785,7 @@ public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @param value The auth to set. * @return This builder for chaining. */ @@ -810,7 +810,7 @@ public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode va * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index 33226ee95577..981835d555a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface IstioConfigOrBuilder * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1115 + * google/container/v1beta1/cluster_service.proto;l=1184 * @return The disabled. */ @java.lang.Deprecated @@ -49,7 +49,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return The enum numeric value on the wire for auth. */ @java.lang.Deprecated @@ -64,7 +64,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1118 + * google/container/v1beta1/cluster_service.proto;l=1187 * @return The auth. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index ddd1fb26e5d8..c774b15953f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java @@ -121,7 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1041 + * google/container/v1beta1/cluster_service.proto;l=1110 * @return The enabled. */ @java.lang.Override @@ -455,7 +455,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1041 + * google/container/v1beta1/cluster_service.proto;l=1110 * @return The enabled. */ @java.lang.Override @@ -473,7 +473,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1041 + * google/container/v1beta1/cluster_service.proto;l=1110 * @param value The enabled to set. * @return This builder for chaining. */ @@ -494,7 +494,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1041 + * google/container/v1beta1/cluster_service.proto;l=1110 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java index 74428c96b5c5..dce80c7b7609 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface KalmConfigOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1041 + * google/container/v1beta1/cluster_service.proto;l=1110 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java index 4a1889042a84..dc0fe2adfe75 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java @@ -37,7 +37,9 @@ private LinuxNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builde super(builder); } - private LinuxNodeConfig() {} + private LinuxNodeConfig() { + cgroupMode_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -83,6 +85,13 @@ private LinuxNodeConfig( sysctls_.getMutableMap().put(sysctls__.getKey(), sysctls__.getValue()); break; } + case 16: + { + int rawValue = input.readEnum(); + + cgroupMode_ = rawValue; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -130,6 +139,169 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.container.v1beta1.LinuxNodeConfig.Builder.class); } + /** + * + * + *
+   * Possible cgroup modes that can be used.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.LinuxNodeConfig.CgroupMode} + */ + public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
+     * The default for the GKE node OS image will be used.
+     * 
+ * + * CGROUP_MODE_UNSPECIFIED = 0; + */ + CGROUP_MODE_UNSPECIFIED(0), + /** + * + * + *
+     * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
+     * the node image.
+     * 
+ * + * CGROUP_MODE_V1 = 1; + */ + CGROUP_MODE_V1(1), + /** + * + * + *
+     * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
+     * the node image.
+     * 
+ * + * CGROUP_MODE_V2 = 2; + */ + CGROUP_MODE_V2(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
+     * The default for the GKE node OS image will be used.
+     * 
+ * + * CGROUP_MODE_UNSPECIFIED = 0; + */ + public static final int CGROUP_MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
+     * the node image.
+     * 
+ * + * CGROUP_MODE_V1 = 1; + */ + public static final int CGROUP_MODE_V1_VALUE = 1; + /** + * + * + *
+     * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
+     * the node image.
+     * 
+ * + * CGROUP_MODE_V2 = 2; + */ + public static final int CGROUP_MODE_V2_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CgroupMode 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 CgroupMode forNumber(int value) { + switch (value) { + case 0: + return CGROUP_MODE_UNSPECIFIED; + case 1: + return CGROUP_MODE_V1; + case 2: + return CGROUP_MODE_V2; + 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 CgroupMode findValueByNumber(int number) { + return CgroupMode.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.container.v1beta1.LinuxNodeConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final CgroupMode[] VALUES = values(); + + public static CgroupMode 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 CgroupMode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.LinuxNodeConfig.CgroupMode) + } + public static final int SYSCTLS_FIELD_NUMBER = 1; private static final class SysctlsDefaultEntryHolder { @@ -162,6 +334,8 @@ public int getSysctlsCount() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -195,6 +369,8 @@ public java.util.Map getSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -219,6 +395,8 @@ public java.util.Map getSysctlsMap() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -247,6 +425,8 @@ public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.Stri * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -272,6 +452,44 @@ public java.lang.String getSysctlsOrThrow(java.lang.String key) { return map.get(key); } + public static final int CGROUP_MODE_FIELD_NUMBER = 2; + private int cgroupMode_; + /** + * + * + *
+   * cgroup_mode specifies the cgroup mode to be used on the node.
+   * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The enum numeric value on the wire for cgroupMode. + */ + @java.lang.Override + public int getCgroupModeValue() { + return cgroupMode_; + } + /** + * + * + *
+   * cgroup_mode specifies the cgroup mode to be used on the node.
+   * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The cgroupMode. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -288,6 +506,11 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetSysctls(), SysctlsDefaultEntryHolder.defaultEntry, 1); + if (cgroupMode_ + != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, cgroupMode_); + } unknownFields.writeTo(output); } @@ -307,6 +530,11 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sysctls__); } + if (cgroupMode_ + != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, cgroupMode_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -324,6 +552,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.container.v1beta1.LinuxNodeConfig) obj; if (!internalGetSysctls().equals(other.internalGetSysctls())) return false; + if (cgroupMode_ != other.cgroupMode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,6 +568,8 @@ public int hashCode() { hash = (37 * hash) + SYSCTLS_FIELD_NUMBER; hash = (53 * hash) + internalGetSysctls().hashCode(); } + hash = (37 * hash) + CGROUP_MODE_FIELD_NUMBER; + hash = (53 * hash) + cgroupMode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -505,6 +736,8 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); internalGetMutableSysctls().clear(); + cgroupMode_ = 0; + return this; } @@ -535,6 +768,7 @@ public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { int from_bitField0_ = bitField0_; result.sysctls_ = internalGetSysctls(); result.sysctls_.makeImmutable(); + result.cgroupMode_ = cgroupMode_; onBuilt(); return result; } @@ -585,6 +819,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1beta1.LinuxNodeConfig other) { if (other == com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance()) return this; internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); + if (other.cgroupMode_ != 0) { + setCgroupModeValue(other.getCgroupModeValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -648,6 +885,8 @@ public int getSysctlsCount() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -681,6 +920,8 @@ public java.util.Map getSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -705,6 +946,8 @@ public java.util.Map getSysctlsMap() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -734,6 +977,8 @@ public java.lang.String getSysctlsOrDefault( * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -770,6 +1015,8 @@ public Builder clearSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -802,6 +1049,8 @@ public java.util.Map getMutableSysctls() { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -833,6 +1082,8 @@ public Builder putSysctls(java.lang.String key, java.lang.String value) { * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -851,6 +1102,99 @@ public Builder putAllSysctls(java.util.Map v return this; } + private int cgroupMode_ = 0; + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The enum numeric value on the wire for cgroupMode. + */ + @java.lang.Override + public int getCgroupModeValue() { + return cgroupMode_; + } + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @param value The enum numeric value on the wire for cgroupMode to set. + * @return This builder for chaining. + */ + public Builder setCgroupModeValue(int value) { + + cgroupMode_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The cgroupMode. + */ + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @param value The cgroupMode to set. + * @return This builder for chaining. + */ + public Builder setCgroupMode(com.google.container.v1beta1.LinuxNodeConfig.CgroupMode value) { + if (value == null) { + throw new NullPointerException(); + } + + cgroupMode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * cgroup_mode specifies the cgroup mode to be used on the node.
+     * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return This builder for chaining. + */ + public Builder clearCgroupMode() { + + cgroupMode_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java index c589ac6c7f2b..561ea6b336c9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java @@ -30,6 +30,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -51,6 +53,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -75,6 +79,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -96,6 +102,8 @@ public interface LinuxNodeConfigOrBuilder * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -122,6 +130,8 @@ java.lang.String getSysctlsOrDefault( * The Linux kernel parameters to be applied to the nodes and all pods running * on the nodes. * The following parameters are supported. + * net.core.busy_poll + * net.core.busy_read * net.core.netdev_max_backlog * net.core.rmem_max * net.core.wmem_default @@ -136,4 +146,29 @@ java.lang.String getSysctlsOrDefault( * map<string, string> sysctls = 1; */ java.lang.String getSysctlsOrThrow(java.lang.String key); + + /** + * + * + *
+   * cgroup_mode specifies the cgroup mode to be used on the node.
+   * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The enum numeric value on the wire for cgroupMode. + */ + int getCgroupModeValue(); + /** + * + * + *
+   * cgroup_mode specifies the cgroup mode to be used on the node.
+   * 
+ * + * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * + * @return The cgroupMode. + */ + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index 53fbbc8bbab6..72f090d0c8c6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java @@ -136,7 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return The projectId. */ @java.lang.Override @@ -165,7 +165,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return The bytes for projectId. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return The zone. */ @java.lang.Override @@ -234,7 +234,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return The bytes for zone. */ @java.lang.Override @@ -659,7 +659,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -667,7 +667,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return The projectId. */ @java.lang.Deprecated @@ -687,7 +687,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -695,7 +695,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -715,7 +715,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -723,7 +723,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @param value The projectId to set. * @return This builder for chaining. */ @@ -742,7 +742,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -750,7 +750,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return This builder for chaining. */ @java.lang.Deprecated @@ -765,7 +765,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -773,7 +773,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -803,7 +803,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return The zone. */ @java.lang.Deprecated @@ -831,7 +831,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return The bytes for zone. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @param value The zone to set. * @return This builder for chaining. */ @@ -886,7 +886,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return This builder for chaining. */ @java.lang.Deprecated @@ -909,7 +909,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index 319876f96b10..4cb262ae0734 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface ListClustersRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -36,7 +36,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface ListClustersRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -54,7 +54,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2631 + * google/container/v1beta1/cluster_service.proto;l=2835 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2640 + * google/container/v1beta1/cluster_service.proto;l=2844 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index ad7d64753a23..f4d71c122eb8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return The projectId. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return The bytes for projectId. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The zone. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for zone. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The clusterId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for clusterId. */ @java.lang.Override @@ -324,7 +324,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -348,7 +348,7 @@ public java.lang.String getParent() { * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -741,7 +741,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -749,7 +749,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return The projectId. */ @java.lang.Deprecated @@ -769,7 +769,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -777,7 +777,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -797,7 +797,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -805,7 +805,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @param value The projectId to set. * @return This builder for chaining. */ @@ -824,7 +824,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -832,7 +832,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return This builder for chaining. */ @java.lang.Deprecated @@ -847,7 +847,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -855,7 +855,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -885,7 +885,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The zone. */ @java.lang.Deprecated @@ -913,7 +913,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for zone. */ @java.lang.Deprecated @@ -941,7 +941,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The zone to set. * @return This builder for chaining. */ @@ -968,7 +968,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return This builder for chaining. */ @java.lang.Deprecated @@ -991,7 +991,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1020,7 +1020,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The clusterId. */ @java.lang.Deprecated @@ -1047,7 +1047,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1100,7 +1100,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1143,7 +1143,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1166,7 +1166,7 @@ public java.lang.String getParent() { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1189,7 +1189,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1211,7 +1211,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1229,7 +1229,7 @@ public Builder clearParent() { * * *
-     * The parent (project, location, cluster id) where the node pools will be
+     * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 85e19fd9cc35..2b9f666bc131 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface ListNodePoolsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -36,7 +36,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface ListNodePoolsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -54,7 +54,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2932 + * google/container/v1beta1/cluster_service.proto;l=3136 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2941 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2948 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -136,7 +136,7 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -149,7 +149,7 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * The parent (project, location, cluster id) where the node pools will be
+   * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index d830591835f6..dc8f028fe36b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java @@ -136,7 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -144,7 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ @java.lang.Override @@ -165,7 +165,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -173,7 +173,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ @java.lang.Override @@ -234,7 +234,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ @java.lang.Override @@ -660,7 +660,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -668,7 +668,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ @java.lang.Deprecated @@ -688,7 +688,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -696,7 +696,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -716,7 +716,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -724,7 +724,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The projectId to set. * @return This builder for chaining. */ @@ -743,7 +743,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -751,7 +751,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return This builder for chaining. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* @@ -774,7 +774,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -804,7 +804,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ @java.lang.Deprecated @@ -832,7 +832,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ @java.lang.Deprecated @@ -860,7 +860,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @param value The zone to set. * @return This builder for chaining. */ @@ -887,7 +887,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return This builder for chaining. */ @java.lang.Deprecated @@ -910,7 +910,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index 0887ae3f2d58..fd1d0c5c69ad 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface ListOperationsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -36,7 +36,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface ListOperationsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* @@ -54,7 +54,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2698 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2707 + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index c66dcde1c507..ca95c576f38d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java @@ -182,7 +182,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return The username. */ @java.lang.Override @@ -214,7 +214,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return The bytes for username. */ @java.lang.Override @@ -250,7 +250,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return The password. */ @java.lang.Override @@ -283,7 +283,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return The bytes for password. */ @java.lang.Override @@ -921,7 +921,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return The username. */ @java.lang.Deprecated @@ -952,7 +952,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return The bytes for username. */ @java.lang.Deprecated @@ -983,7 +983,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @param value The username to set. * @return This builder for chaining. */ @@ -1013,7 +1013,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1073,7 +1073,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return The password. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return The bytes for password. */ @java.lang.Deprecated @@ -1137,7 +1137,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @param value The password to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1195,7 +1195,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index 663f0daa8e3c..6d15283850d9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java @@ -39,7 +39,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return The username. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=910 + * google/container/v1beta1/cluster_service.proto;l=979 * @return The bytes for username. */ @java.lang.Deprecated @@ -83,7 +83,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return The password. */ @java.lang.Deprecated @@ -105,7 +105,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=921 + * google/container/v1beta1/cluster_service.proto;l=990 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java index 6035b235ddda..b7feb21cf06d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java @@ -169,12 +169,43 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * workloads
+     * Deprecated: Use Google Cloud Managed Service for Prometheus.
      * 
* - * WORKLOADS = 2; + * WORKLOADS = 2 [deprecated = true]; */ + @java.lang.Deprecated WORKLOADS(2), + /** + * + * + *
+     * kube-apiserver
+     * 
+ * + * APISERVER = 3; + */ + APISERVER(3), + /** + * + * + *
+     * kube-scheduler
+     * 
+ * + * SCHEDULER = 4; + */ + SCHEDULER(4), + /** + * + * + *
+     * kube-controller-manager
+     * 
+ * + * CONTROLLER_MANAGER = 5; + */ + CONTROLLER_MANAGER(5), UNRECOGNIZED(-1), ; @@ -202,12 +233,42 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * workloads
+     * Deprecated: Use Google Cloud Managed Service for Prometheus.
+     * 
+ * + * WORKLOADS = 2 [deprecated = true]; + */ + @java.lang.Deprecated public static final int WORKLOADS_VALUE = 2; + /** + * + * + *
+     * kube-apiserver
+     * 
+ * + * APISERVER = 3; + */ + public static final int APISERVER_VALUE = 3; + /** + * + * + *
+     * kube-scheduler
+     * 
+ * + * SCHEDULER = 4; + */ + public static final int SCHEDULER_VALUE = 4; + /** + * + * + *
+     * kube-controller-manager
      * 
* - * WORKLOADS = 2; + * CONTROLLER_MANAGER = 5; */ - public static final int WORKLOADS_VALUE = 2; + public static final int CONTROLLER_MANAGER_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -239,6 +300,12 @@ public static Component forNumber(int value) { return SYSTEM_COMPONENTS; case 2: return WORKLOADS; + case 3: + return APISERVER; + case 4: + return SCHEDULER; + case 5: + return CONTROLLER_MANAGER; default: return null; } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java index 84b939e3930d..4f123f0bab24 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java @@ -23,6 +23,10 @@ * *
  * Parameters that describe the nodes in a cluster.
+ * GKE Autopilot clusters do not
+ * recognize parameters in `NodeConfig`. Use
+ * [AutoprovisioningNodePoolDefaults][google.container.v1beta1.AutoprovisioningNodePoolDefaults]
+ * instead.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeConfig} @@ -383,6 +387,22 @@ private NodeConfig( case 256: { spot_ = input.readBool(); + break; + } + case 282: + { + com.google.container.v1beta1.ConfidentialNodes.Builder subBuilder = null; + if (confidentialNodes_ != null) { + subBuilder = confidentialNodes_.toBuilder(); + } + confidentialNodes_ = + input.readMessage( + com.google.container.v1beta1.ConfidentialNodes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(confidentialNodes_); + confidentialNodes_ = subBuilder.buildPartial(); + } + break; } default: @@ -2079,6 +2099,57 @@ public boolean getSpot() { return spot_; } + public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 35; + private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * + * @return Whether the confidentialNodes field is set. + */ + @java.lang.Override + public boolean hasConfidentialNodes() { + return confidentialNodes_ != null; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * + * @return The confidentialNodes. + */ + @java.lang.Override + public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + @java.lang.Override + public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + return getConfidentialNodes(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2172,6 +2243,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (spot_ != false) { output.writeBool(32, spot_); } + if (confidentialNodes_ != null) { + output.writeMessage(35, getConfidentialNodes()); + } unknownFields.writeTo(output); } @@ -2292,6 +2366,9 @@ public int getSerializedSize() { if (spot_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, spot_); } + if (confidentialNodes_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getConfidentialNodes()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2364,6 +2441,10 @@ public boolean equals(final java.lang.Object obj) { if (!getGvnic().equals(other.getGvnic())) return false; } if (getSpot() != other.getSpot()) return false; + if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; + if (hasConfidentialNodes()) { + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2461,6 +2542,10 @@ public int hashCode() { } hash = (37 * hash) + SPOT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpot()); + if (hasConfidentialNodes()) { + hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; + hash = (53 * hash) + getConfidentialNodes().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2566,6 +2651,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Parameters that describe the nodes in a cluster.
+   * GKE Autopilot clusters do not
+   * recognize parameters in `NodeConfig`. Use
+   * [AutoprovisioningNodePoolDefaults][google.container.v1beta1.AutoprovisioningNodePoolDefaults]
+   * instead.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeConfig} @@ -2733,6 +2822,12 @@ public Builder clear() { } spot_ = false; + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } return this; } @@ -2854,6 +2949,11 @@ public com.google.container.v1beta1.NodeConfig buildPartial() { result.gvnic_ = gvnicBuilder_.build(); } result.spot_ = spot_; + if (confidentialNodesBuilder_ == null) { + result.confidentialNodes_ = confidentialNodes_; + } else { + result.confidentialNodes_ = confidentialNodesBuilder_.build(); + } onBuilt(); return result; } @@ -3049,6 +3149,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) { if (other.getSpot() != false) { setSpot(other.getSpot()); } + if (other.hasConfidentialNodes()) { + mergeConfidentialNodes(other.getConfidentialNodes()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -7886,6 +7989,201 @@ public Builder clearSpot() { return this; } + private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * + * @return Whether the confidentialNodes field is set. + */ + public boolean hasConfidentialNodes() { + return confidentialNodesBuilder_ != null || confidentialNodes_ != null; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * + * @return The confidentialNodes. + */ + public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } else { + return confidentialNodesBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + confidentialNodes_ = value; + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder setConfidentialNodes( + com.google.container.v1beta1.ConfidentialNodes.Builder builderForValue) { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = builderForValue.build(); + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (confidentialNodes_ != null) { + confidentialNodes_ = + com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_) + .mergeFrom(value) + .buildPartial(); + } else { + confidentialNodes_ = value; + } + onChanged(); + } else { + confidentialNodesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + public Builder clearConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + onChanged(); + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() { + + onChanged(); + return getConfidentialNodesFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + if (confidentialNodesBuilder_ != null) { + return confidentialNodesBuilder_.getMessageOrBuilder(); + } else { + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + getConfidentialNodesFieldBuilder() { + if (confidentialNodesBuilder_ == null) { + confidentialNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder>( + getConfidentialNodes(), getParentForChildren(), isClean()); + confidentialNodes_ = null; + } + return confidentialNodesBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java index 284bd4d1c6cf..8cc51168a08d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java @@ -126,7 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -141,7 +141,7 @@ public boolean hasGcfsConfig() { * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -158,7 +158,7 @@ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -507,7 +507,7 @@ public Builder mergeFrom( * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -521,7 +521,7 @@ public boolean hasGcfsConfig() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -541,7 +541,7 @@ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -563,7 +563,7 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -582,7 +582,7 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder bui * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -608,7 +608,7 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -628,7 +628,7 @@ public Builder clearGcfsConfig() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -642,7 +642,7 @@ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -660,7 +660,7 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * * *
-     * GCFS (Google Container File System, a.k.a Riptide) options.
+     * GCFS (Google Container File System, a.k.a. Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java index ac8ae79e7ddf..c04c5ab7e991 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java @@ -27,7 +27,7 @@ public interface NodeConfigDefaultsOrBuilder * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -39,7 +39,7 @@ public interface NodeConfigDefaultsOrBuilder * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; @@ -51,7 +51,7 @@ public interface NodeConfigDefaultsOrBuilder * * *
-   * GCFS (Google Container File System, a.k.a Riptide) options.
+   * GCFS (Google Container File System, a.k.a. Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java index 10c5d167d2ea..f15a25fb7c32 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java @@ -1235,4 +1235,42 @@ java.lang.String getLabelsOrDefault( * @return The spot. */ boolean getSpot(); + + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * + * @return Whether the confidentialNodes field is set. + */ + boolean hasConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * + * @return The confidentialNodes. + */ + com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + */ + com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java index 044f4841f25a..0d727e9faae4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java @@ -100,6 +100,11 @@ private NodeKubeletConfig( cpuCfsQuotaPeriod_ = s; break; } + case 32: + { + podPidsLimit_ = input.readInt64(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -323,6 +328,27 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { } } + public static final int POD_PIDS_LIMIT_FIELD_NUMBER = 4; + private long podPidsLimit_; + /** + * + * + *
+   * Set the Pod PID limits. See
+   * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+   * Controls the maximum number of processes allowed to run in a pod. The value
+   * must be greater than or equal to 1024 and less than 4194304.
+   * 
+ * + * int64 pod_pids_limit = 4; + * + * @return The podPidsLimit. + */ + @java.lang.Override + public long getPodPidsLimit() { + return podPidsLimit_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -346,6 +372,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cpuCfsQuotaPeriod_); } + if (podPidsLimit_ != 0L) { + output.writeInt64(4, podPidsLimit_); + } unknownFields.writeTo(output); } @@ -364,6 +393,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cpuCfsQuotaPeriod_); } + if (podPidsLimit_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, podPidsLimit_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -386,6 +418,7 @@ public boolean equals(final java.lang.Object obj) { if (!getCpuCfsQuota().equals(other.getCpuCfsQuota())) return false; } if (!getCpuCfsQuotaPeriod().equals(other.getCpuCfsQuotaPeriod())) return false; + if (getPodPidsLimit() != other.getPodPidsLimit()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,6 +438,8 @@ public int hashCode() { } hash = (37 * hash) + CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCpuCfsQuotaPeriod().hashCode(); + hash = (37 * hash) + POD_PIDS_LIMIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPodPidsLimit()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -560,6 +595,8 @@ public Builder clear() { } cpuCfsQuotaPeriod_ = ""; + podPidsLimit_ = 0L; + return this; } @@ -594,6 +631,7 @@ public com.google.container.v1beta1.NodeKubeletConfig buildPartial() { result.cpuCfsQuota_ = cpuCfsQuotaBuilder_.build(); } result.cpuCfsQuotaPeriod_ = cpuCfsQuotaPeriod_; + result.podPidsLimit_ = podPidsLimit_; onBuilt(); return result; } @@ -654,6 +692,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeKubeletConfig other) { cpuCfsQuotaPeriod_ = other.cpuCfsQuotaPeriod_; onChanged(); } + if (other.getPodPidsLimit() != 0L) { + setPodPidsLimit(other.getPodPidsLimit()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1198,6 +1239,67 @@ public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) { return this; } + private long podPidsLimit_; + /** + * + * + *
+     * Set the Pod PID limits. See
+     * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+     * Controls the maximum number of processes allowed to run in a pod. The value
+     * must be greater than or equal to 1024 and less than 4194304.
+     * 
+ * + * int64 pod_pids_limit = 4; + * + * @return The podPidsLimit. + */ + @java.lang.Override + public long getPodPidsLimit() { + return podPidsLimit_; + } + /** + * + * + *
+     * Set the Pod PID limits. See
+     * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+     * Controls the maximum number of processes allowed to run in a pod. The value
+     * must be greater than or equal to 1024 and less than 4194304.
+     * 
+ * + * int64 pod_pids_limit = 4; + * + * @param value The podPidsLimit to set. + * @return This builder for chaining. + */ + public Builder setPodPidsLimit(long value) { + + podPidsLimit_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Set the Pod PID limits. See
+     * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+     * Controls the maximum number of processes allowed to run in a pod. The value
+     * must be greater than or equal to 1024 and less than 4194304.
+     * 
+ * + * int64 pod_pids_limit = 4; + * + * @return This builder for chaining. + */ + public Builder clearPodPidsLimit() { + + podPidsLimit_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java index 345482ba4626..79d18d02b4d9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java @@ -150,4 +150,20 @@ public interface NodeKubeletConfigOrBuilder * @return The bytes for cpuCfsQuotaPeriod. */ com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes(); + + /** + * + * + *
+   * Set the Pod PID limits. See
+   * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
+   * Controls the maximum number of processes allowed to run in a pod. The value
+   * must be greater than or equal to 1024 and less than 4194304.
+   * 
+ * + * int64 pod_pids_limit = 4; + * + * @return The podPidsLimit. + */ + long getPodPidsLimit(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java index 28cccc3ec655..7f2cc94cf896 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java @@ -61,6 +61,7 @@ private NodeNetworkConfig( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -90,6 +91,25 @@ private NodeNetworkConfig( podIpv4CidrBlock_ = s; break; } + case 90: + { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = networkPerformanceConfig_.toBuilder(); + } + networkPerformanceConfig_ = + input.readMessage( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkPerformanceConfig_); + networkPerformanceConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -99,33 +119,1187 @@ private NodeNetworkConfig( } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodeNetworkConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.Builder.class); + } + + public interface NetworkPerformanceConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return Whether the totalEgressBandwidthTier field is set. + */ + boolean hasTotalEgressBandwidthTier(); + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The enum numeric value on the wire for totalEgressBandwidthTier. + */ + int getTotalEgressBandwidthTierValue(); + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The totalEgressBandwidthTier. + */ + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier(); + + /** + * + * + *
+     * Specifies the network bandwidth tier for the NodePool for traffic to
+     * external/public IP addresses.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return Whether the externalIpEgressBandwidthTier field is set. + */ + boolean hasExternalIpEgressBandwidthTier(); + /** + * + * + *
+     * Specifies the network bandwidth tier for the NodePool for traffic to
+     * external/public IP addresses.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. + */ + int getExternalIpEgressBandwidthTierValue(); + /** + * + * + *
+     * Specifies the network bandwidth tier for the NodePool for traffic to
+     * external/public IP addresses.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return The externalIpEgressBandwidthTier. + */ + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getExternalIpEgressBandwidthTier(); + } + /** + * + * + *
+   * Configuration of all network bandwidth tiers
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig} + */ + public static final class NetworkPerformanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) + NetworkPerformanceConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkPerformanceConfig.newBuilder() to construct. + private NetworkPerformanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkPerformanceConfig() { + totalEgressBandwidthTier_ = 0; + externalIpEgressBandwidthTier_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkPerformanceConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NetworkPerformanceConfig( + 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 8: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + totalEgressBandwidthTier_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000002; + externalIpEgressBandwidthTier_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + .class); + } + + /** + * + * + *
+     * Node network tier
+     * 
+ * + * Protobuf enum {@code + * google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} + */ + public enum Tier implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Default value
+       * 
+ * + * TIER_UNSPECIFIED = 0; + */ + TIER_UNSPECIFIED(0), + /** + * + * + *
+       * Higher bandwidth, actual values based on VM size.
+       * 
+ * + * TIER_1 = 1; + */ + TIER_1(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Default value
+       * 
+ * + * TIER_UNSPECIFIED = 0; + */ + public static final int TIER_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Higher bandwidth, actual values based on VM size.
+       * 
+ * + * TIER_1 = 1; + */ + public static final int TIER_1_VALUE = 1; + + 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 Tier 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 Tier forNumber(int value) { + switch (value) { + case 0: + return TIER_UNSPECIFIED; + case 1: + return TIER_1; + 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 Tier findValueByNumber(int number) { + return Tier.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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Tier[] VALUES = values(); + + public static Tier 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 Tier(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier) + } + + private int bitField0_; + public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 1; + private int totalEgressBandwidthTier_; + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return Whether the totalEgressBandwidthTier field is set. + */ + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The enum numeric value on the wire for totalEgressBandwidthTier. + */ + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { + return totalEgressBandwidthTier_; + } + /** + * + * + *
+     * Specifies the total network bandwidth tier for the NodePool.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The totalEgressBandwidthTier. + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; + } + + public static final int EXTERNAL_IP_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 2; + private int externalIpEgressBandwidthTier_; + /** + * + * + *
+     * Specifies the network bandwidth tier for the NodePool for traffic to
+     * external/public IP addresses.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return Whether the externalIpEgressBandwidthTier field is set. + */ + @java.lang.Override + public boolean hasExternalIpEgressBandwidthTier() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Specifies the network bandwidth tier for the NodePool for traffic to
+     * external/public IP addresses.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. + */ + @java.lang.Override + public int getExternalIpEgressBandwidthTierValue() { + return externalIpEgressBandwidthTier_; + } + /** + * + * + *
+     * Specifies the network bandwidth tier for the NodePool for traffic to
+     * external/public IP addresses.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return The externalIpEgressBandwidthTier. + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getExternalIpEgressBandwidthTier() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + externalIpEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, totalEgressBandwidthTier_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, externalIpEgressBandwidthTier_); + } + 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.computeEnumSize(1, totalEgressBandwidthTier_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, externalIpEgressBandwidthTier_); + } + 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other = + (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) obj; + + if (hasTotalEgressBandwidthTier() != other.hasTotalEgressBandwidthTier()) return false; + if (hasTotalEgressBandwidthTier()) { + if (totalEgressBandwidthTier_ != other.totalEgressBandwidthTier_) return false; + } + if (hasExternalIpEgressBandwidthTier() != other.hasExternalIpEgressBandwidthTier()) + return false; + if (hasExternalIpEgressBandwidthTier()) { + if (externalIpEgressBandwidthTier_ != other.externalIpEgressBandwidthTier_) 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 (hasTotalEgressBandwidthTier()) { + hash = (37 * hash) + TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER; + hash = (53 * hash) + totalEgressBandwidthTier_; + } + if (hasExternalIpEgressBandwidthTier()) { + hash = (37 * hash) + EXTERNAL_IP_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER; + hash = (53 * hash) + externalIpEgressBandwidthTier_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig 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; + } + /** + * + * + *
+     * Configuration of all network bandwidth tiers
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + .class); + } + + // Construct using + // com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.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(); + totalEgressBandwidthTier_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + externalIpEgressBandwidthTier_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { + return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig build() { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + buildPartial() { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = + new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.totalEgressBandwidthTier_ = totalEgressBandwidthTier_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.externalIpEgressBandwidthTier_ = externalIpEgressBandwidthTier_; + 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) { + return mergeFrom( + (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other) { + if (other + == com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) return this; + if (other.hasTotalEgressBandwidthTier()) { + setTotalEgressBandwidthTier(other.getTotalEgressBandwidthTier()); + } + if (other.hasExternalIpEgressBandwidthTier()) { + setExternalIpEgressBandwidthTier(other.getExternalIpEgressBandwidthTier()); + } + 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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int totalEgressBandwidthTier_ = 0; + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return Whether the totalEgressBandwidthTier field is set. + */ + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The enum numeric value on the wire for totalEgressBandwidthTier. + */ + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { + return totalEgressBandwidthTier_; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @param value The enum numeric value on the wire for totalEgressBandwidthTier to set. + * @return This builder for chaining. + */ + public Builder setTotalEgressBandwidthTierValue(int value) { + bitField0_ |= 0x00000001; + totalEgressBandwidthTier_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return The totalEgressBandwidthTier. + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @param value The totalEgressBandwidthTier to set. + * @return This builder for chaining. + */ + public Builder setTotalEgressBandwidthTier( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + totalEgressBandwidthTier_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies the total network bandwidth tier for the NodePool.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearTotalEgressBandwidthTier() { + bitField0_ = (bitField0_ & ~0x00000001); + totalEgressBandwidthTier_ = 0; + onChanged(); + return this; + } + + private int externalIpEgressBandwidthTier_ = 0; + /** + * + * + *
+       * Specifies the network bandwidth tier for the NodePool for traffic to
+       * external/public IP addresses.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return Whether the externalIpEgressBandwidthTier field is set. + */ + @java.lang.Override + public boolean hasExternalIpEgressBandwidthTier() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Specifies the network bandwidth tier for the NodePool for traffic to
+       * external/public IP addresses.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. + */ + @java.lang.Override + public int getExternalIpEgressBandwidthTierValue() { + return externalIpEgressBandwidthTier_; + } + /** + * + * + *
+       * Specifies the network bandwidth tier for the NodePool for traffic to
+       * external/public IP addresses.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @param value The enum numeric value on the wire for externalIpEgressBandwidthTier to set. + * @return This builder for chaining. + */ + public Builder setExternalIpEgressBandwidthTierValue(int value) { + bitField0_ |= 0x00000002; + externalIpEgressBandwidthTier_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies the network bandwidth tier for the NodePool for traffic to
+       * external/public IP addresses.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return The externalIpEgressBandwidthTier. + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getExternalIpEgressBandwidthTier() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + externalIpEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Specifies the network bandwidth tier for the NodePool for traffic to
+       * external/public IP addresses.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @param value The externalIpEgressBandwidthTier to set. + * @return This builder for chaining. + */ + public Builder setExternalIpEgressBandwidthTier( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + externalIpEgressBandwidthTier_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies the network bandwidth tier for the NodePool for traffic to
+       * external/public IP addresses.
+       * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearExternalIpEgressBandwidthTier() { + bitField0_ = (bitField0_ & ~0x00000002); + externalIpEgressBandwidthTier_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; - } + // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) + private static final com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + DEFAULT_INSTANCE; - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.class, - com.google.container.v1beta1.NodeNetworkConfig.Builder.class); + static { + DEFAULT_INSTANCE = + new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(); + } + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPerformanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkPerformanceConfig(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.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + private int bitField0_; public static final int CREATE_POD_RANGE_FIELD_NUMBER = 4; private boolean createPodRange_; /** @@ -277,6 +1451,67 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { } } + public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER = 11; + private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return Whether the networkPerformanceConfig field is set. + */ + @java.lang.Override + public boolean hasNetworkPerformanceConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return The networkPerformanceConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; + } + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -300,6 +1535,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podIpv4CidrBlock_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, podIpv4CidrBlock_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(11, getNetworkPerformanceConfig()); + } unknownFields.writeTo(output); } @@ -318,6 +1556,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, podIpv4CidrBlock_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getNetworkPerformanceConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -337,6 +1580,10 @@ public boolean equals(final java.lang.Object obj) { if (getCreatePodRange() != other.getCreatePodRange()) return false; if (!getPodRange().equals(other.getPodRange())) return false; if (!getPodIpv4CidrBlock().equals(other.getPodIpv4CidrBlock())) return false; + if (hasNetworkPerformanceConfig() != other.hasNetworkPerformanceConfig()) return false; + if (hasNetworkPerformanceConfig()) { + if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,6 +1601,10 @@ public int hashCode() { hash = (53 * hash) + getPodRange().hashCode(); hash = (37 * hash) + POD_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getPodIpv4CidrBlock().hashCode(); + if (hasNetworkPerformanceConfig()) { + hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNetworkPerformanceConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -493,7 +1744,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNetworkPerformanceConfigFieldBuilder(); + } } @java.lang.Override @@ -505,6 +1758,12 @@ public Builder clear() { podIpv4CidrBlock_ = ""; + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfig_ = null; + } else { + networkPerformanceConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -532,9 +1791,20 @@ public com.google.container.v1beta1.NodeNetworkConfig build() { public com.google.container.v1beta1.NodeNetworkConfig buildPartial() { com.google.container.v1beta1.NodeNetworkConfig result = new com.google.container.v1beta1.NodeNetworkConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.createPodRange_ = createPodRange_; result.podRange_ = podRange_; result.podIpv4CidrBlock_ = podIpv4CidrBlock_; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (networkPerformanceConfigBuilder_ == null) { + result.networkPerformanceConfig_ = networkPerformanceConfig_; + } else { + result.networkPerformanceConfig_ = networkPerformanceConfigBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -595,6 +1865,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeNetworkConfig other) { podIpv4CidrBlock_ = other.podIpv4CidrBlock_; onChanged(); } + if (other.hasNetworkPerformanceConfig()) { + mergeNetworkPerformanceConfig(other.getNetworkPerformanceConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -624,6 +1897,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private boolean createPodRange_; /** * @@ -979,6 +2254,223 @@ public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + networkPerformanceConfigBuilder_; + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return Whether the networkPerformanceConfig field is set. + */ + public boolean hasNetworkPerformanceConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return The networkPerformanceConfig. + */ + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { + if (networkPerformanceConfigBuilder_ == null) { + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; + } else { + return networkPerformanceConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder setNetworkPerformanceConfig( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { + if (networkPerformanceConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkPerformanceConfig_ = value; + onChanged(); + } else { + networkPerformanceConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder setNetworkPerformanceConfig( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + builderForValue) { + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfig_ = builderForValue.build(); + onChanged(); + } else { + networkPerformanceConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder mergeNetworkPerformanceConfig( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { + if (networkPerformanceConfigBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && networkPerformanceConfig_ != null + && networkPerformanceConfig_ + != com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) { + networkPerformanceConfig_ = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder( + networkPerformanceConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + networkPerformanceConfig_ = value; + } + onChanged(); + } else { + networkPerformanceConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public Builder clearNetworkPerformanceConfig() { + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfig_ = null; + onChanged(); + } else { + networkPerformanceConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + getNetworkPerformanceConfigBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getNetworkPerformanceConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { + if (networkPerformanceConfigBuilder_ != null) { + return networkPerformanceConfigBuilder_.getMessageOrBuilder(); + } else { + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; + } + } + /** + * + * + *
+     * Network bandwidth tier configuration.
+     * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + getNetworkPerformanceConfigFieldBuilder() { + if (networkPerformanceConfigBuilder_ == null) { + networkPerformanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( + getNetworkPerformanceConfig(), getParentForChildren(), isClean()); + networkPerformanceConfig_ = null; + } + return networkPerformanceConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java index edd45d5d210d..2b92fbc66cc9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java @@ -120,4 +120,47 @@ public interface NodeNetworkConfigOrBuilder * @return The bytes for podIpv4CidrBlock. */ com.google.protobuf.ByteString getPodIpv4CidrBlockBytes(); + + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return Whether the networkPerformanceConfig field is set. + */ + boolean hasNetworkPerformanceConfig(); + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * + * @return The networkPerformanceConfig. + */ + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig(); + /** + * + * + *
+   * Network bandwidth tier configuration.
+   * 
+ * + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + */ + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index 6d50277a7a00..5c36694006f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java @@ -290,6 +290,22 @@ private NodePool( placementPolicy_ = subBuilder.buildPartial(); } + break; + } + case 874: + { + com.google.container.v1beta1.NodePool.UpdateInfo.Builder subBuilder = null; + if (updateInfo_ != null) { + subBuilder = updateInfo_.toBuilder(); + } + updateInfo_ = + input.readMessage( + com.google.container.v1beta1.NodePool.UpdateInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateInfo_); + updateInfo_ = subBuilder.buildPartial(); + } + break; } default: @@ -629,8 +645,107 @@ public interface UpgradeSettingsOrBuilder * @return The maxUnavailable. */ int getMaxUnavailable(); + + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return Whether the strategy field is set. + */ + boolean hasStrategy(); + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return The enum numeric value on the wire for strategy. + */ + int getStrategyValue(); + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return The strategy. + */ + com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy(); + + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * + * @return Whether the blueGreenSettings field is set. + */ + boolean hasBlueGreenSettings(); + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * + * @return The blueGreenSettings. + */ + com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings(); + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder(); } - /** Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings} */ + /** + * + * + *
+   * These upgrade settings configure the upgrade strategy for the node pool.
+   * Use strategy to switch between the strategies applied to the node pool.
+   * If the strategy is SURGE, use max_surge and max_unavailable to control
+   * the level of parallelism and the level of disruption caused by upgrade.
+   * 1. maxSurge controls the number of additional nodes that can be added to
+   * the node pool temporarily for the time of the upgrade to increase the
+   * number of available nodes.
+   * 2. maxUnavailable controls the number of nodes that can be simultaneously
+   * unavailable.
+   * 3. (maxUnavailable + maxSurge) determines the level of parallelism (how
+   * many nodes are being upgraded at the same time).
+   * If the strategy is BLUE_GREEN, use blue_green_settings to configure the
+   * blue-green upgrade related settings.
+   * 1. standard_rollout_policy is the default policy. The policy is used to
+   * control the way blue pool gets drained. The draining is executed in the
+   * batch mode. The batch size could be specified as either percentage of the
+   * node pool size or the number of nodes. batch_soak_duration is the soak
+   * time after each batch gets drained.
+   * 2. node_pool_soak_duration is the soak time after all blue nodes are
+   * drained. After this period, the blue pool nodes will be deleted.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings} + */ public static final class UpgradeSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpgradeSettings) @@ -641,7 +756,9 @@ private UpgradeSettings(com.google.protobuf.GeneratedMessageV3.Builder builde super(builder); } - private UpgradeSettings() {} + private UpgradeSettings() { + strategy_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -662,6 +779,7 @@ private UpgradeSettings( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -682,6 +800,29 @@ private UpgradeSettings( maxUnavailable_ = input.readInt32(); break; } + case 24: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + strategy_ = rawValue; + break; + } + case 34: + { + com.google.container.v1beta1.BlueGreenSettings.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = blueGreenSettings_.toBuilder(); + } + blueGreenSettings_ = + input.readMessage( + com.google.container.v1beta1.BlueGreenSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blueGreenSettings_); + blueGreenSettings_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -718,6 +859,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class); } + private int bitField0_; public static final int MAX_SURGE_FIELD_NUMBER = 1; private int maxSurge_; /** @@ -757,6 +899,109 @@ public int getMaxUnavailable() { return maxUnavailable_; } + public static final int STRATEGY_FIELD_NUMBER = 3; + private int strategy_; + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return Whether the strategy field is set. + */ + @java.lang.Override + public boolean hasStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return The enum numeric value on the wire for strategy. + */ + @java.lang.Override + public int getStrategyValue() { + return strategy_; + } + /** + * + * + *
+     * Update strategy of the node pool.
+     * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return The strategy. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodePoolUpdateStrategy result = + com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null + ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED + : result; + } + + public static final int BLUE_GREEN_SETTINGS_FIELD_NUMBER = 4; + private com.google.container.v1beta1.BlueGreenSettings blueGreenSettings_; + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * + * @return Whether the blueGreenSettings field is set. + */ + @java.lang.Override + public boolean hasBlueGreenSettings() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * + * @return The blueGreenSettings. + */ + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } + /** + * + * + *
+     * Settings for blue-green upgrade strategy.
+     * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + @java.lang.Override + public com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -777,6 +1022,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (maxUnavailable_ != 0) { output.writeInt32(2, maxUnavailable_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(3, strategy_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(4, getBlueGreenSettings()); + } unknownFields.writeTo(output); } @@ -792,6 +1043,12 @@ public int getSerializedSize() { if (maxUnavailable_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, strategy_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBlueGreenSettings()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -810,6 +1067,14 @@ public boolean equals(final java.lang.Object obj) { if (getMaxSurge() != other.getMaxSurge()) return false; if (getMaxUnavailable() != other.getMaxUnavailable()) return false; + if (hasStrategy() != other.hasStrategy()) return false; + if (hasStrategy()) { + if (strategy_ != other.strategy_) return false; + } + if (hasBlueGreenSettings() != other.hasBlueGreenSettings()) return false; + if (hasBlueGreenSettings()) { + if (!getBlueGreenSettings().equals(other.getBlueGreenSettings())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -825,6 +1090,14 @@ public int hashCode() { hash = (53 * hash) + getMaxSurge(); hash = (37 * hash) + MAX_UNAVAILABLE_FIELD_NUMBER; hash = (53 * hash) + getMaxUnavailable(); + if (hasStrategy()) { + hash = (37 * hash) + STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + strategy_; + } + if (hasBlueGreenSettings()) { + hash = (37 * hash) + BLUE_GREEN_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getBlueGreenSettings().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -927,7 +1200,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings} */ + /** + * + * + *
+     * These upgrade settings configure the upgrade strategy for the node pool.
+     * Use strategy to switch between the strategies applied to the node pool.
+     * If the strategy is SURGE, use max_surge and max_unavailable to control
+     * the level of parallelism and the level of disruption caused by upgrade.
+     * 1. maxSurge controls the number of additional nodes that can be added to
+     * the node pool temporarily for the time of the upgrade to increase the
+     * number of available nodes.
+     * 2. maxUnavailable controls the number of nodes that can be simultaneously
+     * unavailable.
+     * 3. (maxUnavailable + maxSurge) determines the level of parallelism (how
+     * many nodes are being upgraded at the same time).
+     * If the strategy is BLUE_GREEN, use blue_green_settings to configure the
+     * blue-green upgrade related settings.
+     * 1. standard_rollout_policy is the default policy. The policy is used to
+     * control the way blue pool gets drained. The draining is executed in the
+     * batch mode. The batch size could be specified as either percentage of the
+     * node pool size or the number of nodes. batch_soak_duration is the soak
+     * time after each batch gets drained.
+     * 2. node_pool_soak_duration is the soak time after all blue nodes are
+     * drained. After this period, the blue pool nodes will be deleted.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements @@ -959,7 +1259,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBlueGreenSettingsFieldBuilder(); + } } @java.lang.Override @@ -969,6 +1271,14 @@ public Builder clear() { maxUnavailable_ = 0; + strategy_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettings_ = null; + } else { + blueGreenSettingsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -996,8 +1306,23 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings build() { public com.google.container.v1beta1.NodePool.UpgradeSettings buildPartial() { com.google.container.v1beta1.NodePool.UpgradeSettings result = new com.google.container.v1beta1.NodePool.UpgradeSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.maxSurge_ = maxSurge_; result.maxUnavailable_ = maxUnavailable_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.strategy_ = strategy_; + if (((from_bitField0_ & 0x00000002) != 0)) { + if (blueGreenSettingsBuilder_ == null) { + result.blueGreenSettings_ = blueGreenSettings_; + } else { + result.blueGreenSettings_ = blueGreenSettingsBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1056,6 +1381,12 @@ public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpgradeSettings o if (other.getMaxUnavailable() != 0) { setMaxUnavailable(other.getMaxUnavailable()); } + if (other.hasStrategy()) { + setStrategy(other.getStrategy()); + } + if (other.hasBlueGreenSettings()) { + mergeBlueGreenSettings(other.getBlueGreenSettings()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1086,117 +1417,3270 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private int maxSurge_; /** * * *
-       * The maximum number of nodes that can be created beyond the current size
-       * of the node pool during the upgrade process.
+       * The maximum number of nodes that can be created beyond the current size
+       * of the node pool during the upgrade process.
+       * 
+ * + * int32 max_surge = 1; + * + * @return The maxSurge. + */ + @java.lang.Override + public int getMaxSurge() { + return maxSurge_; + } + /** + * + * + *
+       * The maximum number of nodes that can be created beyond the current size
+       * of the node pool during the upgrade process.
+       * 
+ * + * int32 max_surge = 1; + * + * @param value The maxSurge to set. + * @return This builder for chaining. + */ + public Builder setMaxSurge(int value) { + + maxSurge_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The maximum number of nodes that can be created beyond the current size
+       * of the node pool during the upgrade process.
+       * 
+ * + * int32 max_surge = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxSurge() { + + maxSurge_ = 0; + onChanged(); + return this; + } + + private int maxUnavailable_; + /** + * + * + *
+       * The maximum number of nodes that can be simultaneously unavailable during
+       * the upgrade process. A node is considered available if its status is
+       * Ready.
+       * 
+ * + * int32 max_unavailable = 2; + * + * @return The maxUnavailable. + */ + @java.lang.Override + public int getMaxUnavailable() { + return maxUnavailable_; + } + /** + * + * + *
+       * The maximum number of nodes that can be simultaneously unavailable during
+       * the upgrade process. A node is considered available if its status is
+       * Ready.
+       * 
+ * + * int32 max_unavailable = 2; + * + * @param value The maxUnavailable to set. + * @return This builder for chaining. + */ + public Builder setMaxUnavailable(int value) { + + maxUnavailable_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The maximum number of nodes that can be simultaneously unavailable during
+       * the upgrade process. A node is considered available if its status is
+       * Ready.
+       * 
+ * + * int32 max_unavailable = 2; + * + * @return This builder for chaining. + */ + public Builder clearMaxUnavailable() { + + maxUnavailable_ = 0; + onChanged(); + return this; + } + + private int strategy_ = 0; + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return Whether the strategy field is set. + */ + @java.lang.Override + public boolean hasStrategy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return The enum numeric value on the wire for strategy. + */ + @java.lang.Override + public int getStrategyValue() { + return strategy_; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @param value The enum numeric value on the wire for strategy to set. + * @return This builder for chaining. + */ + public Builder setStrategyValue(int value) { + bitField0_ |= 0x00000001; + strategy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return The strategy. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodePoolUpdateStrategy result = + com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null + ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @param value The strategy to set. + * @return This builder for chaining. + */ + public Builder setStrategy(com.google.container.v1beta1.NodePoolUpdateStrategy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + strategy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Update strategy of the node pool.
+       * 
+ * + * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * + * @return This builder for chaining. + */ + public Builder clearStrategy() { + bitField0_ = (bitField0_ & ~0x00000001); + strategy_ = 0; + onChanged(); + return this; + } + + private com.google.container.v1beta1.BlueGreenSettings blueGreenSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings, + com.google.container.v1beta1.BlueGreenSettings.Builder, + com.google.container.v1beta1.BlueGreenSettingsOrBuilder> + blueGreenSettingsBuilder_; + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * + * @return Whether the blueGreenSettings field is set. + */ + public boolean hasBlueGreenSettings() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * + * @return The blueGreenSettings. + */ + public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { + if (blueGreenSettingsBuilder_ == null) { + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } else { + return blueGreenSettingsBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder setBlueGreenSettings(com.google.container.v1beta1.BlueGreenSettings value) { + if (blueGreenSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + blueGreenSettings_ = value; + onChanged(); + } else { + blueGreenSettingsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder setBlueGreenSettings( + com.google.container.v1beta1.BlueGreenSettings.Builder builderForValue) { + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettings_ = builderForValue.build(); + onChanged(); + } else { + blueGreenSettingsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder mergeBlueGreenSettings(com.google.container.v1beta1.BlueGreenSettings value) { + if (blueGreenSettingsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && blueGreenSettings_ != null + && blueGreenSettings_ + != com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance()) { + blueGreenSettings_ = + com.google.container.v1beta1.BlueGreenSettings.newBuilder(blueGreenSettings_) + .mergeFrom(value) + .buildPartial(); + } else { + blueGreenSettings_ = value; + } + onChanged(); + } else { + blueGreenSettingsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + public Builder clearBlueGreenSettings() { + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettings_ = null; + onChanged(); + } else { + blueGreenSettingsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + public com.google.container.v1beta1.BlueGreenSettings.Builder getBlueGreenSettingsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getBlueGreenSettingsFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + public com.google.container.v1beta1.BlueGreenSettingsOrBuilder + getBlueGreenSettingsOrBuilder() { + if (blueGreenSettingsBuilder_ != null) { + return blueGreenSettingsBuilder_.getMessageOrBuilder(); + } else { + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; + } + } + /** + * + * + *
+       * Settings for blue-green upgrade strategy.
+       * 
+ * + * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings, + com.google.container.v1beta1.BlueGreenSettings.Builder, + com.google.container.v1beta1.BlueGreenSettingsOrBuilder> + getBlueGreenSettingsFieldBuilder() { + if (blueGreenSettingsBuilder_ == null) { + blueGreenSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings, + com.google.container.v1beta1.BlueGreenSettings.Builder, + com.google.container.v1beta1.BlueGreenSettingsOrBuilder>( + getBlueGreenSettings(), getParentForChildren(), isClean()); + blueGreenSettings_ = null; + } + return blueGreenSettingsBuilder_; + } + + @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.container.v1beta1.NodePool.UpgradeSettings) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpgradeSettings) + private static final com.google.container.v1beta1.NodePool.UpgradeSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpgradeSettings(); + } + + public static com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeSettings(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.container.v1beta1.NodePool.UpgradeSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface UpdateInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpdateInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return Whether the blueGreenInfo field is set. + */ + boolean hasBlueGreenInfo(); + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return The blueGreenInfo. + */ + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo(); + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + */ + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder(); + } + /** + * + * + *
+   * UpdateInfo contains resource (instance groups, etc), status and other
+   * intermediate information relevant to a node pool upgrade.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo} + */ + public static final class UpdateInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpdateInfo) + UpdateInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateInfo.newBuilder() to construct. + private UpdateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateInfo() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpdateInfo( + 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 10: + { + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder subBuilder = + null; + if (blueGreenInfo_ != null) { + subBuilder = blueGreenInfo_.toBuilder(); + } + blueGreenInfo_ = + input.readMessage( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blueGreenInfo_); + blueGreenInfo_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodePool.UpdateInfo.class, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class); + } + + public interface BlueGreenInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The enum numeric value on the wire for phase. + */ + int getPhaseValue(); + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The phase. + */ + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(); + + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return A list containing the blueInstanceGroupUrls. + */ + java.util.List getBlueInstanceGroupUrlsList(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return The count of blueInstanceGroupUrls. + */ + int getBlueInstanceGroupUrlsCount(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the element to return. + * @return The blueInstanceGroupUrls at the given index. + */ + java.lang.String getBlueInstanceGroupUrls(int index); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the value to return. + * @return The bytes of the blueInstanceGroupUrls at the given index. + */ + com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index); + + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return A list containing the greenInstanceGroupUrls. + */ + java.util.List getGreenInstanceGroupUrlsList(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return The count of greenInstanceGroupUrls. + */ + int getGreenInstanceGroupUrlsCount(); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the element to return. + * @return The greenInstanceGroupUrls at the given index. + */ + java.lang.String getGreenInstanceGroupUrls(int index); + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the value to return. + * @return The bytes of the greenInstanceGroupUrls at the given index. + */ + com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index); + + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bluePoolDeletionStartTime. + */ + java.lang.String getBluePoolDeletionStartTime(); + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bytes for bluePoolDeletionStartTime. + */ + com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes(); + + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The greenPoolVersion. + */ + java.lang.String getGreenPoolVersion(); + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The bytes for greenPoolVersion. + */ + com.google.protobuf.ByteString getGreenPoolVersionBytes(); + } + /** + * + * + *
+     * Information relevant to blue-green upgrade.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo} + */ + public static final class BlueGreenInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) + BlueGreenInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use BlueGreenInfo.newBuilder() to construct. + private BlueGreenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BlueGreenInfo() { + phase_ = 0; + blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bluePoolDeletionStartTime_ = ""; + greenPoolVersion_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BlueGreenInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BlueGreenInfo( + 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 8: + { + int rawValue = input.readEnum(); + + phase_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + blueInstanceGroupUrls_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + greenInstanceGroupUrls_.add(s); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + bluePoolDeletionStartTime_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + greenPoolVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = blueInstanceGroupUrls_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = greenInstanceGroupUrls_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + } + + /** + * + * + *
+       * Phase represents the different stages blue-green upgrade is running in.
+       * 
+ * + * Protobuf enum {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase} + */ + public enum Phase implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+         * Unspecified phase.
+         * 
+ * + * PHASE_UNSPECIFIED = 0; + */ + PHASE_UNSPECIFIED(0), + /** + * + * + *
+         * blue-green upgrade has been initiated.
+         * 
+ * + * UPDATE_STARTED = 1; + */ + UPDATE_STARTED(1), + /** + * + * + *
+         * Start creating green pool nodes.
+         * 
+ * + * CREATING_GREEN_POOL = 2; + */ + CREATING_GREEN_POOL(2), + /** + * + * + *
+         * Start cordoning blue pool nodes.
+         * 
+ * + * CORDONING_BLUE_POOL = 3; + */ + CORDONING_BLUE_POOL(3), + /** + * + * + *
+         * Start draining blue pool nodes.
+         * 
+ * + * DRAINING_BLUE_POOL = 4; + */ + DRAINING_BLUE_POOL(4), + /** + * + * + *
+         * Start soaking time after draining entire blue pool.
+         * 
+ * + * NODE_POOL_SOAKING = 5; + */ + NODE_POOL_SOAKING(5), + /** + * + * + *
+         * Start deleting blue nodes.
+         * 
+ * + * DELETING_BLUE_POOL = 6; + */ + DELETING_BLUE_POOL(6), + /** + * + * + *
+         * Rollback has been initiated.
+         * 
+ * + * ROLLBACK_STARTED = 7; + */ + ROLLBACK_STARTED(7), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+         * Unspecified phase.
+         * 
+ * + * PHASE_UNSPECIFIED = 0; + */ + public static final int PHASE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+         * blue-green upgrade has been initiated.
+         * 
+ * + * UPDATE_STARTED = 1; + */ + public static final int UPDATE_STARTED_VALUE = 1; + /** + * + * + *
+         * Start creating green pool nodes.
+         * 
+ * + * CREATING_GREEN_POOL = 2; + */ + public static final int CREATING_GREEN_POOL_VALUE = 2; + /** + * + * + *
+         * Start cordoning blue pool nodes.
+         * 
+ * + * CORDONING_BLUE_POOL = 3; + */ + public static final int CORDONING_BLUE_POOL_VALUE = 3; + /** + * + * + *
+         * Start draining blue pool nodes.
+         * 
+ * + * DRAINING_BLUE_POOL = 4; + */ + public static final int DRAINING_BLUE_POOL_VALUE = 4; + /** + * + * + *
+         * Start soaking time after draining entire blue pool.
+         * 
+ * + * NODE_POOL_SOAKING = 5; + */ + public static final int NODE_POOL_SOAKING_VALUE = 5; + /** + * + * + *
+         * Start deleting blue nodes.
+         * 
+ * + * DELETING_BLUE_POOL = 6; + */ + public static final int DELETING_BLUE_POOL_VALUE = 6; + /** + * + * + *
+         * Rollback has been initiated.
+         * 
+ * + * ROLLBACK_STARTED = 7; + */ + public static final int ROLLBACK_STARTED_VALUE = 7; + + 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 Phase 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 Phase forNumber(int value) { + switch (value) { + case 0: + return PHASE_UNSPECIFIED; + case 1: + return UPDATE_STARTED; + case 2: + return CREATING_GREEN_POOL; + case 3: + return CORDONING_BLUE_POOL; + case 4: + return DRAINING_BLUE_POOL; + case 5: + return NODE_POOL_SOAKING; + case 6: + return DELETING_BLUE_POOL; + case 7: + return ROLLBACK_STARTED; + 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 Phase findValueByNumber(int number) { + return Phase.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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Phase[] VALUES = values(); + + public static Phase 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 Phase(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase) + } + + public static final int PHASE_FIELD_NUMBER = 1; + private int phase_; + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The enum numeric value on the wire for phase. + */ + @java.lang.Override + public int getPhaseValue() { + return phase_; + } + /** + * + * + *
+       * Current blue-green upgrade phase.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The phase. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; + } + + public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_; + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return A list containing the blueInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + return blueInstanceGroupUrls_; + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return The count of blueInstanceGroupUrls. + */ + public int getBlueInstanceGroupUrlsCount() { + return blueInstanceGroupUrls_.size(); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the element to return. + * @return The blueInstanceGroupUrls at the given index. + */ + public java.lang.String getBlueInstanceGroupUrls(int index) { + return blueInstanceGroupUrls_.get(index); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with blue pool.
+       * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the value to return. + * @return The bytes of the blueInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + return blueInstanceGroupUrls_.getByteString(index); + } + + public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_; + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return A list containing the greenInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + return greenInstanceGroupUrls_; + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return The count of greenInstanceGroupUrls. + */ + public int getGreenInstanceGroupUrlsCount() { + return greenInstanceGroupUrls_.size(); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the element to return. + * @return The greenInstanceGroupUrls at the given index. + */ + public java.lang.String getGreenInstanceGroupUrls(int index) { + return greenInstanceGroupUrls_.get(index); + } + /** + * + * + *
+       * The resource URLs of the [managed instance groups]
+       * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+       * associated with green pool.
+       * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the value to return. + * @return The bytes of the greenInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + return greenInstanceGroupUrls_.getByteString(index); + } + + public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER = 4; + private volatile java.lang.Object bluePoolDeletionStartTime_; + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bluePoolDeletionStartTime. + */ + @java.lang.Override + public java.lang.String getBluePoolDeletionStartTime() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bluePoolDeletionStartTime_ = s; + return s; + } + } + /** + * + * + *
+       * Time to start deleting blue pool to complete blue-green upgrade,
+       * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+       * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bytes for bluePoolDeletionStartTime. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bluePoolDeletionStartTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GREEN_POOL_VERSION_FIELD_NUMBER = 5; + private volatile java.lang.Object greenPoolVersion_; + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The greenPoolVersion. + */ + @java.lang.Override + public java.lang.String getGreenPoolVersion() { + java.lang.Object ref = greenPoolVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greenPoolVersion_ = s; + return s; + } + } + /** + * + * + *
+       * Version of green pool.
+       * 
+ * + * string green_pool_version = 5; + * + * @return The bytes for greenPoolVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + java.lang.Object ref = greenPoolVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + greenPoolVersion_ = 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 (phase_ + != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase + .PHASE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, phase_); + } + for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, blueInstanceGroupUrls_.getRaw(i)); + } + for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, greenInstanceGroupUrls_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, bluePoolDeletionStartTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, greenPoolVersion_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (phase_ + != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase + .PHASE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, phase_); + } + { + int dataSize = 0; + for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { + dataSize += computeStringSizeNoTag(blueInstanceGroupUrls_.getRaw(i)); + } + size += dataSize; + size += 1 * getBlueInstanceGroupUrlsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { + dataSize += computeStringSizeNoTag(greenInstanceGroupUrls_.getRaw(i)); + } + size += dataSize; + size += 1 * getGreenInstanceGroupUrlsList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 4, bluePoolDeletionStartTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, greenPoolVersion_); + } + 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)) { + return super.equals(obj); + } + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other = + (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) obj; + + if (phase_ != other.phase_) return false; + if (!getBlueInstanceGroupUrlsList().equals(other.getBlueInstanceGroupUrlsList())) + return false; + if (!getGreenInstanceGroupUrlsList().equals(other.getGreenInstanceGroupUrlsList())) + return false; + if (!getBluePoolDeletionStartTime().equals(other.getBluePoolDeletionStartTime())) + return false; + if (!getGreenPoolVersion().equals(other.getGreenPoolVersion())) 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) + PHASE_FIELD_NUMBER; + hash = (53 * hash) + phase_; + if (getBlueInstanceGroupUrlsCount() > 0) { + hash = (37 * hash) + BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER; + hash = (53 * hash) + getBlueInstanceGroupUrlsList().hashCode(); + } + if (getGreenInstanceGroupUrlsCount() > 0) { + hash = (37 * hash) + GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER; + hash = (53 * hash) + getGreenInstanceGroupUrlsList().hashCode(); + } + hash = (37 * hash) + BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getBluePoolDeletionStartTime().hashCode(); + hash = (37 * hash) + GREEN_POOL_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getGreenPoolVersion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Information relevant to blue-green upgrade.
+       * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + } + + // Construct using + // com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.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(); + phase_ = 0; + + blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + bluePoolDeletionStartTime_ = ""; + + greenPoolVersion_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstanceForType() { + return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo build() { + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() { + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo result = + new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(this); + int from_bitField0_ = bitField0_; + result.phase_ = phase_; + if (((bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = blueInstanceGroupUrls_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.blueInstanceGroupUrls_ = blueInstanceGroupUrls_; + if (((bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = greenInstanceGroupUrls_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.greenInstanceGroupUrls_ = greenInstanceGroupUrls_; + result.bluePoolDeletionStartTime_ = bluePoolDeletionStartTime_; + result.greenPoolVersion_ = greenPoolVersion_; + 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) { + return mergeFrom( + (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other) { + if (other + == com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + .getDefaultInstance()) return this; + if (other.phase_ != 0) { + setPhaseValue(other.getPhaseValue()); + } + if (!other.blueInstanceGroupUrls_.isEmpty()) { + if (blueInstanceGroupUrls_.isEmpty()) { + blueInstanceGroupUrls_ = other.blueInstanceGroupUrls_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.addAll(other.blueInstanceGroupUrls_); + } + onChanged(); + } + if (!other.greenInstanceGroupUrls_.isEmpty()) { + if (greenInstanceGroupUrls_.isEmpty()) { + greenInstanceGroupUrls_ = other.greenInstanceGroupUrls_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.addAll(other.greenInstanceGroupUrls_); + } + onChanged(); + } + if (!other.getBluePoolDeletionStartTime().isEmpty()) { + bluePoolDeletionStartTime_ = other.bluePoolDeletionStartTime_; + onChanged(); + } + if (!other.getGreenPoolVersion().isEmpty()) { + greenPoolVersion_ = other.greenPoolVersion_; + 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int phase_ = 0; + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The enum numeric value on the wire for phase. + */ + @java.lang.Override + public int getPhaseValue() { + return phase_; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @param value The enum numeric value on the wire for phase to set. + * @return This builder for chaining. + */ + public Builder setPhaseValue(int value) { + + phase_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return The phase. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @param value The phase to set. + * @return This builder for chaining. + */ + public Builder setPhase( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { + if (value == null) { + throw new NullPointerException(); + } + + phase_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+         * Current blue-green upgrade phase.
+         * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * + * @return This builder for chaining. + */ + public Builder clearPhase() { + + phase_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureBlueInstanceGroupUrlsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + blueInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return A list containing the blueInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + return blueInstanceGroupUrls_.getUnmodifiableView(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return The count of blueInstanceGroupUrls. + */ + public int getBlueInstanceGroupUrlsCount() { + return blueInstanceGroupUrls_.size(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the element to return. + * @return The blueInstanceGroupUrls at the given index. + */ + public java.lang.String getBlueInstanceGroupUrls(int index) { + return blueInstanceGroupUrls_.get(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index of the value to return. + * @return The bytes of the blueInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + return blueInstanceGroupUrls_.getByteString(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param index The index to set the value at. + * @param value The blueInstanceGroupUrls to set. + * @return This builder for chaining. + */ + public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param value The blueInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addBlueInstanceGroupUrls(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param values The blueInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable values) { + ensureBlueInstanceGroupUrlsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blueInstanceGroupUrls_); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @return This builder for chaining. + */ + public Builder clearBlueInstanceGroupUrls() { + blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with blue pool.
+         * 
+ * + * repeated string blue_instance_group_urls = 2; + * + * @param value The bytes of the blueInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureGreenInstanceGroupUrlsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + greenInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return A list containing the greenInstanceGroupUrls. + */ + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + return greenInstanceGroupUrls_.getUnmodifiableView(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return The count of greenInstanceGroupUrls. + */ + public int getGreenInstanceGroupUrlsCount() { + return greenInstanceGroupUrls_.size(); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the element to return. + * @return The greenInstanceGroupUrls at the given index. + */ + public java.lang.String getGreenInstanceGroupUrls(int index) { + return greenInstanceGroupUrls_.get(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index of the value to return. + * @return The bytes of the greenInstanceGroupUrls at the given index. + */ + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + return greenInstanceGroupUrls_.getByteString(index); + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param index The index to set the value at. + * @param value The greenInstanceGroupUrls to set. + * @return This builder for chaining. + */ + public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param value The greenInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addGreenInstanceGroupUrls(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param values The greenInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable values) { + ensureGreenInstanceGroupUrlsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, greenInstanceGroupUrls_); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @return This builder for chaining. + */ + public Builder clearGreenInstanceGroupUrls() { + greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+         * The resource URLs of the [managed instance groups]
+         * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
+         * associated with green pool.
+         * 
+ * + * repeated string green_instance_group_urls = 3; + * + * @param value The bytes of the greenInstanceGroupUrls to add. + * @return This builder for chaining. + */ + public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(value); + onChanged(); + return this; + } + + private java.lang.Object bluePoolDeletionStartTime_ = ""; + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bluePoolDeletionStartTime. + */ + public java.lang.String getBluePoolDeletionStartTime() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bluePoolDeletionStartTime_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return The bytes for bluePoolDeletionStartTime. + */ + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + java.lang.Object ref = bluePoolDeletionStartTime_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bluePoolDeletionStartTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @param value The bluePoolDeletionStartTime to set. + * @return This builder for chaining. + */ + public Builder setBluePoolDeletionStartTime(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + bluePoolDeletionStartTime_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @return This builder for chaining. + */ + public Builder clearBluePoolDeletionStartTime() { + + bluePoolDeletionStartTime_ = getDefaultInstance().getBluePoolDeletionStartTime(); + onChanged(); + return this; + } + /** + * + * + *
+         * Time to start deleting blue pool to complete blue-green upgrade,
+         * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+         * 
+ * + * string blue_pool_deletion_start_time = 4; + * + * @param value The bytes for bluePoolDeletionStartTime to set. + * @return This builder for chaining. + */ + public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + bluePoolDeletionStartTime_ = value; + onChanged(); + return this; + } + + private java.lang.Object greenPoolVersion_ = ""; + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @return The greenPoolVersion. + */ + public java.lang.String getGreenPoolVersion() { + java.lang.Object ref = greenPoolVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + greenPoolVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @return The bytes for greenPoolVersion. + */ + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + java.lang.Object ref = greenPoolVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + greenPoolVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @param value The greenPoolVersion to set. + * @return This builder for chaining. + */ + public Builder setGreenPoolVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + greenPoolVersion_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @return This builder for chaining. + */ + public Builder clearGreenPoolVersion() { + + greenPoolVersion_ = getDefaultInstance().getGreenPoolVersion(); + onChanged(); + return this; + } + /** + * + * + *
+         * Version of green pool.
+         * 
+ * + * string green_pool_version = 5; + * + * @param value The bytes for greenPoolVersion to set. + * @return This builder for chaining. + */ + public Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + greenPoolVersion_ = 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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) + private static final com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BlueGreenInfo(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.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int BLUE_GREEN_INFO_FIELD_NUMBER = 1; + private com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return Whether the blueGreenInfo field is set. + */ + @java.lang.Override + public boolean hasBlueGreenInfo() { + return blueGreenInfo_ != null; + } + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * @return The blueGreenInfo. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { + return blueGreenInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; + } + /** + * + * + *
+     * Information of a blue-green upgrade.
+     * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + */ + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { + return getBlueGreenInfo(); + } + + 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 (blueGreenInfo_ != null) { + output.writeMessage(1, getBlueGreenInfo()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (blueGreenInfo_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBlueGreenInfo()); + } + 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.container.v1beta1.NodePool.UpdateInfo)) { + return super.equals(obj); + } + com.google.container.v1beta1.NodePool.UpdateInfo other = + (com.google.container.v1beta1.NodePool.UpdateInfo) obj; + + if (hasBlueGreenInfo() != other.hasBlueGreenInfo()) return false; + if (hasBlueGreenInfo()) { + if (!getBlueGreenInfo().equals(other.getBlueGreenInfo())) 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 (hasBlueGreenInfo()) { + hash = (37 * hash) + BLUE_GREEN_INFO_FIELD_NUMBER; + hash = (53 * hash) + getBlueGreenInfo().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo 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.container.v1beta1.NodePool.UpdateInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo 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.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo 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.container.v1beta1.NodePool.UpdateInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePool.UpdateInfo 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.container.v1beta1.NodePool.UpdateInfo 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; + } + /** + * + * + *
+     * UpdateInfo contains resource (instance groups, etc), status and other
+     * intermediate information relevant to a node pool upgrade.
+     * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpdateInfo) + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodePool.UpdateInfo.class, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class); + } + + // Construct using com.google.container.v1beta1.NodePool.UpdateInfo.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 (blueGreenInfoBuilder_ == null) { + blueGreenInfo_ = null; + } else { + blueGreenInfo_ = null; + blueGreenInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstanceForType() { + return com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo build() { + com.google.container.v1beta1.NodePool.UpdateInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo buildPartial() { + com.google.container.v1beta1.NodePool.UpdateInfo result = + new com.google.container.v1beta1.NodePool.UpdateInfo(this); + if (blueGreenInfoBuilder_ == null) { + result.blueGreenInfo_ = blueGreenInfo_; + } else { + result.blueGreenInfo_ = blueGreenInfoBuilder_.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.container.v1beta1.NodePool.UpdateInfo) { + return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpdateInfo other) { + if (other == com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance()) + return this; + if (other.hasBlueGreenInfo()) { + mergeBlueGreenInfo(other.getBlueGreenInfo()); + } + 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.container.v1beta1.NodePool.UpdateInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.container.v1beta1.NodePool.UpdateInfo) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + blueGreenInfoBuilder_; + /** + * + * + *
+       * Information of a blue-green upgrade.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * + * @return Whether the blueGreenInfo field is set. + */ + public boolean hasBlueGreenInfo() { + return blueGreenInfoBuilder_ != null || blueGreenInfo_ != null; + } + /** + * + * + *
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_surge = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * - * @return The maxSurge. + * @return The blueGreenInfo. */ - @java.lang.Override - public int getMaxSurge() { - return maxSurge_; + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { + if (blueGreenInfoBuilder_ == null) { + return blueGreenInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; + } else { + return blueGreenInfoBuilder_.getMessage(); + } } /** * * *
-       * The maximum number of nodes that can be created beyond the current size
-       * of the node pool during the upgrade process.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_surge = 1; - * - * @param value The maxSurge to set. - * @return This builder for chaining. + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public Builder setMaxSurge(int value) { + public Builder setBlueGreenInfo( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { + if (blueGreenInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + blueGreenInfo_ = value; + onChanged(); + } else { + blueGreenInfoBuilder_.setMessage(value); + } - maxSurge_ = value; - onChanged(); return this; } /** * * *
-       * The maximum number of nodes that can be created beyond the current size
-       * of the node pool during the upgrade process.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_surge = 1; - * - * @return This builder for chaining. + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public Builder clearMaxSurge() { + public Builder setBlueGreenInfo( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder builderForValue) { + if (blueGreenInfoBuilder_ == null) { + blueGreenInfo_ = builderForValue.build(); + onChanged(); + } else { + blueGreenInfoBuilder_.setMessage(builderForValue.build()); + } - maxSurge_ = 0; - onChanged(); return this; } - - private int maxUnavailable_; /** * * *
-       * The maximum number of nodes that can be simultaneously unavailable during
-       * the upgrade process. A node is considered available if its status is
-       * Ready.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_unavailable = 2; - * - * @return The maxUnavailable. + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - @java.lang.Override - public int getMaxUnavailable() { - return maxUnavailable_; + public Builder mergeBlueGreenInfo( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { + if (blueGreenInfoBuilder_ == null) { + if (blueGreenInfo_ != null) { + blueGreenInfo_ = + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder( + blueGreenInfo_) + .mergeFrom(value) + .buildPartial(); + } else { + blueGreenInfo_ = value; + } + onChanged(); + } else { + blueGreenInfoBuilder_.mergeFrom(value); + } + + return this; } /** * * *
-       * The maximum number of nodes that can be simultaneously unavailable during
-       * the upgrade process. A node is considered available if its status is
-       * Ready.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_unavailable = 2; - * - * @param value The maxUnavailable to set. - * @return This builder for chaining. + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public Builder setMaxUnavailable(int value) { + public Builder clearBlueGreenInfo() { + if (blueGreenInfoBuilder_ == null) { + blueGreenInfo_ = null; + onChanged(); + } else { + blueGreenInfo_ = null; + blueGreenInfoBuilder_ = null; + } - maxUnavailable_ = value; - onChanged(); return this; } /** * * *
-       * The maximum number of nodes that can be simultaneously unavailable during
-       * the upgrade process. A node is considered available if its status is
-       * Ready.
+       * Information of a blue-green upgrade.
        * 
* - * int32 max_unavailable = 2; - * - * @return This builder for chaining. + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public Builder clearMaxUnavailable() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder + getBlueGreenInfoBuilder() { - maxUnavailable_ = 0; onChanged(); - return this; + return getBlueGreenInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Information of a blue-green upgrade.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + */ + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { + if (blueGreenInfoBuilder_ != null) { + return blueGreenInfoBuilder_.getMessageOrBuilder(); + } else { + return blueGreenInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; + } + } + /** + * + * + *
+       * Information of a blue-green upgrade.
+       * 
+ * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + getBlueGreenInfoFieldBuilder() { + if (blueGreenInfoBuilder_ == null) { + blueGreenInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( + getBlueGreenInfo(), getParentForChildren(), isClean()); + blueGreenInfo_ = null; + } + return blueGreenInfoBuilder_; } @java.lang.Override @@ -1211,42 +4695,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpgradeSettings) + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpdateInfo) } - // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpgradeSettings) - private static final com.google.container.v1beta1.NodePool.UpgradeSettings DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpdateInfo) + private static final com.google.container.v1beta1.NodePool.UpdateInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpgradeSettings(); + DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpdateInfo(); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultInstance() { + public static com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public UpgradeSettings parsePartialFrom( + public UpdateInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeSettings(input, extensionRegistry); + return new UpdateInfo(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultInstanceForType() { + public com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } @@ -2389,6 +5873,8 @@ public com.google.protobuf.ByteString getVersionBytes() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -2405,6 +5891,8 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -2421,6 +5909,8 @@ public int getInstanceGroupUrlsCount() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -2438,6 +5928,8 @@ public java.lang.String getInstanceGroupUrls(int index) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -2499,7 +5991,7 @@ public com.google.container.v1beta1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return The statusMessage. */ @java.lang.Override @@ -2527,7 +6019,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2879,6 +6371,63 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy( return getPlacementPolicy(); } + public static final int UPDATE_INFO_FIELD_NUMBER = 109; + private com.google.container.v1beta1.NodePool.UpdateInfo updateInfo_; + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateInfo field is set. + */ + @java.lang.Override + public boolean hasUpdateInfo() { + return updateInfo_ != null; + } + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateInfo. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo() { + return updateInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; + } + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { + return getUpdateInfo(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2944,6 +6493,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (placementPolicy_ != null) { output.writeMessage(108, getPlacementPolicy()); } + if (updateInfo_ != null) { + output.writeMessage(109, getUpdateInfo()); + } unknownFields.writeTo(output); } @@ -3014,6 +6566,9 @@ public int getSerializedSize() { if (placementPolicy_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(108, getPlacementPolicy()); } + if (updateInfo_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getUpdateInfo()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3067,6 +6622,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPlacementPolicy()) { if (!getPlacementPolicy().equals(other.getPlacementPolicy())) return false; } + if (hasUpdateInfo() != other.hasUpdateInfo()) return false; + if (hasUpdateInfo()) { + if (!getUpdateInfo().equals(other.getUpdateInfo())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3132,6 +6691,10 @@ public int hashCode() { hash = (37 * hash) + PLACEMENT_POLICY_FIELD_NUMBER; hash = (53 * hash) + getPlacementPolicy().hashCode(); } + if (hasUpdateInfo()) { + hash = (37 * hash) + UPDATE_INFO_FIELD_NUMBER; + hash = (53 * hash) + getUpdateInfo().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3367,6 +6930,12 @@ public Builder clear() { placementPolicy_ = null; placementPolicyBuilder_ = null; } + if (updateInfoBuilder_ == null) { + updateInfo_ = null; + } else { + updateInfo_ = null; + updateInfoBuilder_ = null; + } return this; } @@ -3456,6 +7025,11 @@ public com.google.container.v1beta1.NodePool buildPartial() { } else { result.placementPolicy_ = placementPolicyBuilder_.build(); } + if (updateInfoBuilder_ == null) { + result.updateInfo_ = updateInfo_; + } else { + result.updateInfo_ = updateInfoBuilder_.build(); + } onBuilt(); return result; } @@ -3598,6 +7172,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodePool other) { if (other.hasPlacementPolicy()) { mergePlacementPolicy(other.getPlacementPolicy()); } + if (other.hasUpdateInfo()) { + mergeUpdateInfo(other.getUpdateInfo()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4635,6 +8212,8 @@ private void ensureInstanceGroupUrlsIsMutable() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4651,6 +8230,8 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4667,6 +8248,8 @@ public int getInstanceGroupUrlsCount() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4684,6 +8267,8 @@ public java.lang.String getInstanceGroupUrls(int index) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4701,6 +8286,8 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4725,6 +8312,8 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4748,6 +8337,8 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4768,6 +8359,8 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4787,6 +8380,8 @@ public Builder clearInstanceGroupUrls() { * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -4909,7 +8504,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return The statusMessage. */ @java.lang.Deprecated @@ -4936,7 +8531,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -4963,7 +8558,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -4989,7 +8584,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return This builder for chaining. */ @java.lang.Deprecated @@ -5011,7 +8606,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -6384,6 +9979,219 @@ public Builder clearPlacementPolicy() { return placementPolicyBuilder_; } + private com.google.container.v1beta1.NodePool.UpdateInfo updateInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> + updateInfoBuilder_; + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateInfo field is set. + */ + public boolean hasUpdateInfo() { + return updateInfoBuilder_ != null || updateInfo_ != null; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateInfo. + */ + public com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo() { + if (updateInfoBuilder_ == null) { + return updateInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; + } else { + return updateInfoBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo value) { + if (updateInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateInfo_ = value; + onChanged(); + } else { + updateInfoBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateInfo( + com.google.container.v1beta1.NodePool.UpdateInfo.Builder builderForValue) { + if (updateInfoBuilder_ == null) { + updateInfo_ = builderForValue.build(); + onChanged(); + } else { + updateInfoBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo value) { + if (updateInfoBuilder_ == null) { + if (updateInfo_ != null) { + updateInfo_ = + com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder(updateInfo_) + .mergeFrom(value) + .buildPartial(); + } else { + updateInfo_ = value; + } + onChanged(); + } else { + updateInfoBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateInfo() { + if (updateInfoBuilder_ == null) { + updateInfo_ = null; + onChanged(); + } else { + updateInfo_ = null; + updateInfoBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.container.v1beta1.NodePool.UpdateInfo.Builder getUpdateInfoBuilder() { + + onChanged(); + return getUpdateInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { + if (updateInfoBuilder_ != null) { + return updateInfoBuilder_.getMessageOrBuilder(); + } else { + return updateInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; + } + } + /** + * + * + *
+     * Output only. [Output only] Update info contains relevant information during a node
+     * pool update.
+     * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> + getUpdateInfoFieldBuilder() { + if (updateInfoBuilder_ == null) { + updateInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder>( + getUpdateInfo(), getParentForChildren(), isClean()); + updateInfo_ = null; + } + return updateInfoBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java new file mode 100644 index 000000000000..98fcecbd1d42 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java @@ -0,0 +1,773 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * node pool configs that apply to all auto-provisioned node pools
+ * in autopilot clusters and node auto-provisioning enabled clusters
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePoolAutoConfig} + */ +public final class NodePoolAutoConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolAutoConfig) + NodePoolAutoConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use NodePoolAutoConfig.newBuilder() to construct. + private NodePoolAutoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodePoolAutoConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodePoolAutoConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NodePoolAutoConfig( + 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 10: + { + com.google.container.v1beta1.NetworkTags.Builder subBuilder = null; + if (networkTags_ != null) { + subBuilder = networkTags_.toBuilder(); + } + networkTags_ = + input.readMessage( + com.google.container.v1beta1.NetworkTags.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkTags_); + networkTags_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodePoolAutoConfig.class, + com.google.container.v1beta1.NodePoolAutoConfig.Builder.class); + } + + public static final int NETWORK_TAGS_FIELD_NUMBER = 1; + private com.google.container.v1beta1.NetworkTags networkTags_; + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + * + * @return Whether the networkTags field is set. + */ + @java.lang.Override + public boolean hasNetworkTags() { + return networkTags_ != null; + } + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + * + * @return The networkTags. + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTags getNetworkTags() { + return networkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : networkTags_; + } + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + @java.lang.Override + public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() { + return getNetworkTags(); + } + + 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 (networkTags_ != null) { + output.writeMessage(1, getNetworkTags()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (networkTags_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNetworkTags()); + } + 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.container.v1beta1.NodePoolAutoConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.NodePoolAutoConfig other = + (com.google.container.v1beta1.NodePoolAutoConfig) obj; + + if (hasNetworkTags() != other.hasNetworkTags()) return false; + if (hasNetworkTags()) { + if (!getNetworkTags().equals(other.getNetworkTags())) 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 (hasNetworkTags()) { + hash = (37 * hash) + NETWORK_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getNetworkTags().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig 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.container.v1beta1.NodePoolAutoConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig 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.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig 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.container.v1beta1.NodePoolAutoConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig 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.container.v1beta1.NodePoolAutoConfig 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; + } + /** + * + * + *
+   * node pool configs that apply to all auto-provisioned node pools
+   * in autopilot clusters and node auto-provisioning enabled clusters
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.NodePoolAutoConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolAutoConfig) + com.google.container.v1beta1.NodePoolAutoConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.NodePoolAutoConfig.class, + com.google.container.v1beta1.NodePoolAutoConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.NodePoolAutoConfig.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 (networkTagsBuilder_ == null) { + networkTags_ = null; + } else { + networkTags_ = null; + networkTagsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoConfig build() { + com.google.container.v1beta1.NodePoolAutoConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoConfig buildPartial() { + com.google.container.v1beta1.NodePoolAutoConfig result = + new com.google.container.v1beta1.NodePoolAutoConfig(this); + if (networkTagsBuilder_ == null) { + result.networkTags_ = networkTags_; + } else { + result.networkTags_ = networkTagsBuilder_.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.container.v1beta1.NodePoolAutoConfig) { + return mergeFrom((com.google.container.v1beta1.NodePoolAutoConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.NodePoolAutoConfig other) { + if (other == com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance()) + return this; + if (other.hasNetworkTags()) { + mergeNetworkTags(other.getNetworkTags()); + } + 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.container.v1beta1.NodePoolAutoConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1beta1.NodePoolAutoConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.container.v1beta1.NetworkTags networkTags_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> + networkTagsBuilder_; + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + * + * @return Whether the networkTags field is set. + */ + public boolean hasNetworkTags() { + return networkTagsBuilder_ != null || networkTags_ != null; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + * + * @return The networkTags. + */ + public com.google.container.v1beta1.NetworkTags getNetworkTags() { + if (networkTagsBuilder_ == null) { + return networkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : networkTags_; + } else { + return networkTagsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + public Builder setNetworkTags(com.google.container.v1beta1.NetworkTags value) { + if (networkTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkTags_ = value; + onChanged(); + } else { + networkTagsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + public Builder setNetworkTags( + com.google.container.v1beta1.NetworkTags.Builder builderForValue) { + if (networkTagsBuilder_ == null) { + networkTags_ = builderForValue.build(); + onChanged(); + } else { + networkTagsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + public Builder mergeNetworkTags(com.google.container.v1beta1.NetworkTags value) { + if (networkTagsBuilder_ == null) { + if (networkTags_ != null) { + networkTags_ = + com.google.container.v1beta1.NetworkTags.newBuilder(networkTags_) + .mergeFrom(value) + .buildPartial(); + } else { + networkTags_ = value; + } + onChanged(); + } else { + networkTagsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + public Builder clearNetworkTags() { + if (networkTagsBuilder_ == null) { + networkTags_ = null; + onChanged(); + } else { + networkTags_ = null; + networkTagsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + public com.google.container.v1beta1.NetworkTags.Builder getNetworkTagsBuilder() { + + onChanged(); + return getNetworkTagsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() { + if (networkTagsBuilder_ != null) { + return networkTagsBuilder_.getMessageOrBuilder(); + } else { + return networkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : networkTags_; + } + } + /** + * + * + *
+     * The list of instance tags applied to all nodes. Tags are used to identify
+     * valid sources or targets for network firewalls and are specified by
+     * the client during cluster creation. Each tag within the list
+     * must comply with RFC1035.
+     * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> + getNetworkTagsFieldBuilder() { + if (networkTagsBuilder_ == null) { + networkTagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder>( + getNetworkTags(), getParentForChildren(), isClean()); + networkTags_ = null; + } + return networkTagsBuilder_; + } + + @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.container.v1beta1.NodePoolAutoConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolAutoConfig) + private static final com.google.container.v1beta1.NodePoolAutoConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolAutoConfig(); + } + + public static com.google.container.v1beta1.NodePoolAutoConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolAutoConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodePoolAutoConfig(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.container.v1beta1.NodePoolAutoConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java new file mode 100644 index 000000000000..08428ae76835 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface NodePoolAutoConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolAutoConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + * + * @return Whether the networkTags field is set. + */ + boolean hasNetworkTags(); + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + * + * @return The networkTags. + */ + com.google.container.v1beta1.NetworkTags getNetworkTags(); + /** + * + * + *
+   * The list of instance tags applied to all nodes. Tags are used to identify
+   * valid sources or targets for network firewalls and are specified by
+   * the client during cluster creation. Each tag within the list
+   * must comply with RFC1035.
+   * 
+ * + * .google.container.v1beta1.NetworkTags network_tags = 1; + */ + com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java index aa86262973e7..2eabb8762588 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java @@ -38,7 +38,9 @@ private NodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder bu super(builder); } - private NodePoolAutoscaling() {} + private NodePoolAutoscaling() { + locationPolicy_ = 0; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -89,6 +91,23 @@ private NodePoolAutoscaling( autoprovisioned_ = input.readBool(); break; } + case 40: + { + int rawValue = input.readEnum(); + + locationPolicy_ = rawValue; + break; + } + case 48: + { + totalMinNodeCount_ = input.readInt32(); + break; + } + case 56: + { + totalMaxNodeCount_ = input.readInt32(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -125,6 +144,166 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.container.v1beta1.NodePoolAutoscaling.Builder.class); } + /** + * + * + *
+   * Location policy specifies how zones are picked when scaling up the
+   * nodepool.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.NodePoolAutoscaling.LocationPolicy} + */ + public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Not set.
+     * 
+ * + * LOCATION_POLICY_UNSPECIFIED = 0; + */ + LOCATION_POLICY_UNSPECIFIED(0), + /** + * + * + *
+     * BALANCED is a best effort policy that aims to balance the sizes of
+     * different zones.
+     * 
+ * + * BALANCED = 1; + */ + BALANCED(1), + /** + * + * + *
+     * ANY policy picks zones that have the highest capacity available.
+     * 
+ * + * ANY = 2; + */ + ANY(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Not set.
+     * 
+ * + * LOCATION_POLICY_UNSPECIFIED = 0; + */ + public static final int LOCATION_POLICY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * BALANCED is a best effort policy that aims to balance the sizes of
+     * different zones.
+     * 
+ * + * BALANCED = 1; + */ + public static final int BALANCED_VALUE = 1; + /** + * + * + *
+     * ANY policy picks zones that have the highest capacity available.
+     * 
+ * + * ANY = 2; + */ + public static final int ANY_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LocationPolicy 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 LocationPolicy forNumber(int value) { + switch (value) { + case 0: + return LOCATION_POLICY_UNSPECIFIED; + case 1: + return BALANCED; + case 2: + return ANY; + 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 LocationPolicy findValueByNumber(int number) { + return LocationPolicy.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.container.v1beta1.NodePoolAutoscaling.getDescriptor().getEnumTypes().get(0); + } + + private static final LocationPolicy[] VALUES = values(); + + public static LocationPolicy 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 LocationPolicy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePoolAutoscaling.LocationPolicy) + } + public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** @@ -199,6 +378,86 @@ public boolean getAutoprovisioned() { return autoprovisioned_; } + public static final int LOCATION_POLICY_FIELD_NUMBER = 5; + private int locationPolicy_; + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The enum numeric value on the wire for locationPolicy. + */ + @java.lang.Override + public int getLocationPolicyValue() { + return locationPolicy_; + } + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The locationPolicy. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; + } + + public static final int TOTAL_MIN_NODE_COUNT_FIELD_NUMBER = 6; + private int totalMinNodeCount_; + /** + * + * + *
+   * Minimum number of nodes in the node pool. Must be greater than 1 less than
+   * total_max_node_count.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_min_node_count = 6; + * + * @return The totalMinNodeCount. + */ + @java.lang.Override + public int getTotalMinNodeCount() { + return totalMinNodeCount_; + } + + public static final int TOTAL_MAX_NODE_COUNT_FIELD_NUMBER = 7; + private int totalMaxNodeCount_; + /** + * + * + *
+   * Maximum number of nodes in the node pool. Must be greater than
+   * total_min_node_count. There has to be enough quota to scale up the cluster.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_max_node_count = 7; + * + * @return The totalMaxNodeCount. + */ + @java.lang.Override + public int getTotalMaxNodeCount() { + return totalMaxNodeCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -225,6 +484,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (autoprovisioned_ != false) { output.writeBool(4, autoprovisioned_); } + if (locationPolicy_ + != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy + .LOCATION_POLICY_UNSPECIFIED + .getNumber()) { + output.writeEnum(5, locationPolicy_); + } + if (totalMinNodeCount_ != 0) { + output.writeInt32(6, totalMinNodeCount_); + } + if (totalMaxNodeCount_ != 0) { + output.writeInt32(7, totalMaxNodeCount_); + } unknownFields.writeTo(output); } @@ -246,6 +517,18 @@ public int getSerializedSize() { if (autoprovisioned_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, autoprovisioned_); } + if (locationPolicy_ + != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy + .LOCATION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, locationPolicy_); + } + if (totalMinNodeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalMinNodeCount_); + } + if (totalMaxNodeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, totalMaxNodeCount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -266,6 +549,9 @@ public boolean equals(final java.lang.Object obj) { if (getMinNodeCount() != other.getMinNodeCount()) return false; if (getMaxNodeCount() != other.getMaxNodeCount()) return false; if (getAutoprovisioned() != other.getAutoprovisioned()) return false; + if (locationPolicy_ != other.locationPolicy_) return false; + if (getTotalMinNodeCount() != other.getTotalMinNodeCount()) return false; + if (getTotalMaxNodeCount() != other.getTotalMaxNodeCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -285,6 +571,12 @@ public int hashCode() { hash = (53 * hash) + getMaxNodeCount(); hash = (37 * hash) + AUTOPROVISIONED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoprovisioned()); + hash = (37 * hash) + LOCATION_POLICY_FIELD_NUMBER; + hash = (53 * hash) + locationPolicy_; + hash = (37 * hash) + TOTAL_MIN_NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTotalMinNodeCount(); + hash = (37 * hash) + TOTAL_MAX_NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTotalMaxNodeCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -439,6 +731,12 @@ public Builder clear() { autoprovisioned_ = false; + locationPolicy_ = 0; + + totalMinNodeCount_ = 0; + + totalMaxNodeCount_ = 0; + return this; } @@ -470,6 +768,9 @@ public com.google.container.v1beta1.NodePoolAutoscaling buildPartial() { result.minNodeCount_ = minNodeCount_; result.maxNodeCount_ = maxNodeCount_; result.autoprovisioned_ = autoprovisioned_; + result.locationPolicy_ = locationPolicy_; + result.totalMinNodeCount_ = totalMinNodeCount_; + result.totalMaxNodeCount_ = totalMaxNodeCount_; onBuilt(); return result; } @@ -532,6 +833,15 @@ public Builder mergeFrom(com.google.container.v1beta1.NodePoolAutoscaling other) if (other.getAutoprovisioned() != false) { setAutoprovisioned(other.getAutoprovisioned()); } + if (other.locationPolicy_ != 0) { + setLocationPolicyValue(other.getLocationPolicyValue()); + } + if (other.getTotalMinNodeCount() != 0) { + setTotalMinNodeCount(other.getTotalMinNodeCount()); + } + if (other.getTotalMaxNodeCount() != 0) { + setTotalMaxNodeCount(other.getTotalMaxNodeCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -775,6 +1085,227 @@ public Builder clearAutoprovisioned() { return this; } + private int locationPolicy_ = 0; + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * + * @return The enum numeric value on the wire for locationPolicy. + */ + @java.lang.Override + public int getLocationPolicyValue() { + return locationPolicy_; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * + * @param value The enum numeric value on the wire for locationPolicy to set. + * @return This builder for chaining. + */ + public Builder setLocationPolicyValue(int value) { + + locationPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * + * @return The locationPolicy. + */ + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * + * @param value The locationPolicy to set. + * @return This builder for chaining. + */ + public Builder setLocationPolicy( + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + + locationPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Location policy used when scaling up a nodepool.
+     * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * + * @return This builder for chaining. + */ + public Builder clearLocationPolicy() { + + locationPolicy_ = 0; + onChanged(); + return this; + } + + private int totalMinNodeCount_; + /** + * + * + *
+     * Minimum number of nodes in the node pool. Must be greater than 1 less than
+     * total_max_node_count.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_min_node_count = 6; + * + * @return The totalMinNodeCount. + */ + @java.lang.Override + public int getTotalMinNodeCount() { + return totalMinNodeCount_; + } + /** + * + * + *
+     * Minimum number of nodes in the node pool. Must be greater than 1 less than
+     * total_max_node_count.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_min_node_count = 6; + * + * @param value The totalMinNodeCount to set. + * @return This builder for chaining. + */ + public Builder setTotalMinNodeCount(int value) { + + totalMinNodeCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Minimum number of nodes in the node pool. Must be greater than 1 less than
+     * total_max_node_count.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_min_node_count = 6; + * + * @return This builder for chaining. + */ + public Builder clearTotalMinNodeCount() { + + totalMinNodeCount_ = 0; + onChanged(); + return this; + } + + private int totalMaxNodeCount_; + /** + * + * + *
+     * Maximum number of nodes in the node pool. Must be greater than
+     * total_min_node_count. There has to be enough quota to scale up the cluster.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_max_node_count = 7; + * + * @return The totalMaxNodeCount. + */ + @java.lang.Override + public int getTotalMaxNodeCount() { + return totalMaxNodeCount_; + } + /** + * + * + *
+     * Maximum number of nodes in the node pool. Must be greater than
+     * total_min_node_count. There has to be enough quota to scale up the cluster.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_max_node_count = 7; + * + * @param value The totalMaxNodeCount to set. + * @return This builder for chaining. + */ + public Builder setTotalMaxNodeCount(int value) { + + totalMaxNodeCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Maximum number of nodes in the node pool. Must be greater than
+     * total_min_node_count. There has to be enough quota to scale up the cluster.
+     * The total_*_node_count fields are mutually exclusive with the *_node_count
+     * fields.
+     * 
+ * + * int32 total_max_node_count = 7; + * + * @return This builder for chaining. + */ + public Builder clearTotalMaxNodeCount() { + + totalMaxNodeCount_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java index eec49228a80e..af41c88c2db5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java @@ -76,4 +76,61 @@ public interface NodePoolAutoscalingOrBuilder * @return The autoprovisioned. */ boolean getAutoprovisioned(); + + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The enum numeric value on the wire for locationPolicy. + */ + int getLocationPolicyValue(); + /** + * + * + *
+   * Location policy used when scaling up a nodepool.
+   * 
+ * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * @return The locationPolicy. + */ + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy(); + + /** + * + * + *
+   * Minimum number of nodes in the node pool. Must be greater than 1 less than
+   * total_max_node_count.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_min_node_count = 6; + * + * @return The totalMinNodeCount. + */ + int getTotalMinNodeCount(); + + /** + * + * + *
+   * Maximum number of nodes in the node pool. Must be greater than
+   * total_min_node_count. There has to be enough quota to scale up the cluster.
+   * The total_*_node_count fields are mutually exclusive with the *_node_count
+   * fields.
+   * 
+ * + * int32 total_max_node_count = 7; + * + * @return The totalMaxNodeCount. + */ + int getTotalMaxNodeCount(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index 6c99c4b458c9..f7244ce634c4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java @@ -273,6 +273,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -287,6 +289,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -301,6 +305,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -316,6 +322,8 @@ public interface NodePoolOrBuilder * [Output only] The resource URLs of the [managed instance * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. + * During the node pool blue-green upgrade operation, the URLs contain both + * blue and green resources. * * * repeated string instance_group_urls = 102; @@ -362,7 +370,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return The statusMessage. */ @java.lang.Deprecated @@ -379,7 +387,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3131 + * google/container/v1beta1/cluster_service.proto;l=3451 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -630,4 +638,48 @@ public interface NodePoolOrBuilder * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder(); + + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateInfo field is set. + */ + boolean hasUpdateInfo(); + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateInfo. + */ + com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo(); + /** + * + * + *
+   * Output only. [Output only] Update info contains relevant information during a node
+   * pool update.
+   * 
+ * + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java new file mode 100644 index 000000000000..6e18ed1f12d2 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java @@ -0,0 +1,181 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * Strategy used for node pool update.
+ * 
+ * + * Protobuf enum {@code google.container.v1beta1.NodePoolUpdateStrategy} + */ +public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * Default value.
+   * 
+ * + * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; + */ + NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED(0), + /** + * + * + *
+   * blue-green upgrade.
+   * 
+ * + * BLUE_GREEN = 2; + */ + BLUE_GREEN(2), + /** + * + * + *
+   * SURGE is the traditional way of upgrading a node pool.
+   * max_surge and max_unavailable determines the level of upgrade parallelism.
+   * 
+ * + * SURGE = 3; + */ + SURGE(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+   * Default value.
+   * 
+ * + * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; + */ + public static final int NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+   * blue-green upgrade.
+   * 
+ * + * BLUE_GREEN = 2; + */ + public static final int BLUE_GREEN_VALUE = 2; + /** + * + * + *
+   * SURGE is the traditional way of upgrading a node pool.
+   * max_surge and max_unavailable determines the level of upgrade parallelism.
+   * 
+ * + * SURGE = 3; + */ + public static final int SURGE_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static NodePoolUpdateStrategy 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 NodePoolUpdateStrategy forNumber(int value) { + switch (value) { + case 0: + return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED; + case 2: + return BLUE_GREEN; + case 3: + return SURGE; + 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 NodePoolUpdateStrategy findValueByNumber(int number) { + return NodePoolUpdateStrategy.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.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2); + } + + private static final NodePoolUpdateStrategy[] VALUES = values(); + + public static NodePoolUpdateStrategy 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 NodePoolUpdateStrategy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePoolUpdateStrategy) +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index b354eb25eb41..5a85c1fedbb6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java @@ -986,7 +986,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return The zone. */ @java.lang.Override @@ -1014,7 +1014,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return The bytes for zone. */ @java.lang.Override @@ -1167,7 +1167,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return The statusMessage. */ @java.lang.Override @@ -1196,7 +1196,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2515,7 +2515,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return The zone. */ @java.lang.Deprecated @@ -2542,7 +2542,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2569,7 +2569,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @param value The zone to set. * @return This builder for chaining. */ @@ -2595,7 +2595,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2617,7 +2617,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2935,7 +2935,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return The statusMessage. */ @java.lang.Deprecated @@ -2963,7 +2963,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2991,7 +2991,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -3018,7 +3018,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3041,7 +3041,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index 7fbfd2fda90b..ce718858ef32 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java @@ -60,7 +60,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return The zone. */ @java.lang.Deprecated @@ -77,7 +77,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2010 + * google/container/v1beta1/cluster_service.proto;l=2207 * @return The bytes for zone. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return The statusMessage. */ @java.lang.Deprecated @@ -189,7 +189,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2023 + * google/container/v1beta1/cluster_service.proto;l=2220 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java new file mode 100644 index 000000000000..0db6e17325a3 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java @@ -0,0 +1,764 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * ProtectConfig defines the flags needed to enable/disable features for the
+ * Protect API.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.ProtectConfig} + */ +public final class ProtectConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.ProtectConfig) + ProtectConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProtectConfig.newBuilder() to construct. + private ProtectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ProtectConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ProtectConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ProtectConfig( + 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 10: + { + com.google.container.v1beta1.WorkloadConfig.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = workloadConfig_.toBuilder(); + } + workloadConfig_ = + input.readMessage( + com.google.container.v1beta1.WorkloadConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadConfig_); + workloadConfig_ = 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 (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ProtectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.ProtectConfig.class, + com.google.container.v1beta1.ProtectConfig.Builder.class); + } + + private int bitField0_; + public static final int WORKLOAD_CONFIG_FIELD_NUMBER = 1; + private com.google.container.v1beta1.WorkloadConfig workloadConfig_; + /** + * + * + *
+   * WorkloadConfig defines which actions are enabled for a cluster's workload
+   * configurations.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * + * @return Whether the workloadConfig field is set. + */ + @java.lang.Override + public boolean hasWorkloadConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * WorkloadConfig defines which actions are enabled for a cluster's workload
+   * configurations.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * + * @return The workloadConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() { + return workloadConfig_ == null + ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() + : workloadConfig_; + } + /** + * + * + *
+   * WorkloadConfig defines which actions are enabled for a cluster's workload
+   * configurations.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder() { + return workloadConfig_ == null + ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() + : workloadConfig_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getWorkloadConfig()); + } + 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(1, getWorkloadConfig()); + } + 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.container.v1beta1.ProtectConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.ProtectConfig other = + (com.google.container.v1beta1.ProtectConfig) obj; + + if (hasWorkloadConfig() != other.hasWorkloadConfig()) return false; + if (hasWorkloadConfig()) { + if (!getWorkloadConfig().equals(other.getWorkloadConfig())) 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 (hasWorkloadConfig()) { + hash = (37 * hash) + WORKLOAD_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getWorkloadConfig().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.ProtectConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.ProtectConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.ProtectConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.ProtectConfig 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.container.v1beta1.ProtectConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.ProtectConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.ProtectConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.ProtectConfig 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.container.v1beta1.ProtectConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.ProtectConfig 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.container.v1beta1.ProtectConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.ProtectConfig 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.container.v1beta1.ProtectConfig 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; + } + /** + * + * + *
+   * ProtectConfig defines the flags needed to enable/disable features for the
+   * Protect API.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.ProtectConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ProtectConfig) + com.google.container.v1beta1.ProtectConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ProtectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.ProtectConfig.class, + com.google.container.v1beta1.ProtectConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.ProtectConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWorkloadConfigFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (workloadConfigBuilder_ == null) { + workloadConfig_ = null; + } else { + workloadConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ProtectConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.ProtectConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.ProtectConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.ProtectConfig build() { + com.google.container.v1beta1.ProtectConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.ProtectConfig buildPartial() { + com.google.container.v1beta1.ProtectConfig result = + new com.google.container.v1beta1.ProtectConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (workloadConfigBuilder_ == null) { + result.workloadConfig_ = workloadConfig_; + } else { + result.workloadConfig_ = workloadConfigBuilder_.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.container.v1beta1.ProtectConfig) { + return mergeFrom((com.google.container.v1beta1.ProtectConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.ProtectConfig other) { + if (other == com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) return this; + if (other.hasWorkloadConfig()) { + mergeWorkloadConfig(other.getWorkloadConfig()); + } + 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.container.v1beta1.ProtectConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1beta1.ProtectConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.container.v1beta1.WorkloadConfig workloadConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadConfig, + com.google.container.v1beta1.WorkloadConfig.Builder, + com.google.container.v1beta1.WorkloadConfigOrBuilder> + workloadConfigBuilder_; + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * + * @return Whether the workloadConfig field is set. + */ + public boolean hasWorkloadConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * + * @return The workloadConfig. + */ + public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() { + if (workloadConfigBuilder_ == null) { + return workloadConfig_ == null + ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() + : workloadConfig_; + } else { + return workloadConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + public Builder setWorkloadConfig(com.google.container.v1beta1.WorkloadConfig value) { + if (workloadConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workloadConfig_ = value; + onChanged(); + } else { + workloadConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + public Builder setWorkloadConfig( + com.google.container.v1beta1.WorkloadConfig.Builder builderForValue) { + if (workloadConfigBuilder_ == null) { + workloadConfig_ = builderForValue.build(); + onChanged(); + } else { + workloadConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + public Builder mergeWorkloadConfig(com.google.container.v1beta1.WorkloadConfig value) { + if (workloadConfigBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && workloadConfig_ != null + && workloadConfig_ + != com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()) { + workloadConfig_ = + com.google.container.v1beta1.WorkloadConfig.newBuilder(workloadConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + workloadConfig_ = value; + } + onChanged(); + } else { + workloadConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + public Builder clearWorkloadConfig() { + if (workloadConfigBuilder_ == null) { + workloadConfig_ = null; + onChanged(); + } else { + workloadConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + public com.google.container.v1beta1.WorkloadConfig.Builder getWorkloadConfigBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getWorkloadConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder() { + if (workloadConfigBuilder_ != null) { + return workloadConfigBuilder_.getMessageOrBuilder(); + } else { + return workloadConfig_ == null + ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() + : workloadConfig_; + } + } + /** + * + * + *
+     * WorkloadConfig defines which actions are enabled for a cluster's workload
+     * configurations.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadConfig, + com.google.container.v1beta1.WorkloadConfig.Builder, + com.google.container.v1beta1.WorkloadConfigOrBuilder> + getWorkloadConfigFieldBuilder() { + if (workloadConfigBuilder_ == null) { + workloadConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadConfig, + com.google.container.v1beta1.WorkloadConfig.Builder, + com.google.container.v1beta1.WorkloadConfigOrBuilder>( + getWorkloadConfig(), getParentForChildren(), isClean()); + workloadConfig_ = null; + } + return workloadConfigBuilder_; + } + + @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.container.v1beta1.ProtectConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.ProtectConfig) + private static final com.google.container.v1beta1.ProtectConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.ProtectConfig(); + } + + public static com.google.container.v1beta1.ProtectConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProtectConfig(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.container.v1beta1.ProtectConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java new file mode 100644 index 000000000000..a745e6a83bc8 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java @@ -0,0 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ProtectConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ProtectConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * WorkloadConfig defines which actions are enabled for a cluster's workload
+   * configurations.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * + * @return Whether the workloadConfig field is set. + */ + boolean hasWorkloadConfig(); + /** + * + * + *
+   * WorkloadConfig defines which actions are enabled for a cluster's workload
+   * configurations.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * + * @return The workloadConfig. + */ + com.google.container.v1beta1.WorkloadConfig getWorkloadConfig(); + /** + * + * + *
+   * WorkloadConfig defines which actions are enabled for a cluster's workload
+   * configurations.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + */ + com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 1a0aec565824..f7e0875646e3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java @@ -112,6 +112,11 @@ private RollbackNodePoolUpgradeRequest( name_ = s; break; } + case 56: + { + respectPdb_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -155,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -163,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return The projectId. */ @java.lang.Override @@ -184,7 +189,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -192,7 +197,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return The bytes for projectId. */ @java.lang.Override @@ -224,7 +229,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return The zone. */ @java.lang.Override @@ -253,7 +258,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return The bytes for zone. */ @java.lang.Override @@ -284,7 +289,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return The clusterId. */ @java.lang.Override @@ -312,7 +317,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return The bytes for clusterId. */ @java.lang.Override @@ -343,7 +348,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3421 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The nodePoolId. */ @java.lang.Override @@ -371,7 +376,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3421 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -441,6 +446,25 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int RESPECT_PDB_FIELD_NUMBER = 7; + private boolean respectPdb_; + /** + * + * + *
+   * Option for rollback to ignore the PodDisruptionBudget.
+   * Default value is false.
+   * 
+ * + * bool respect_pdb = 7; + * + * @return The respectPdb. + */ + @java.lang.Override + public boolean getRespectPdb() { + return respectPdb_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -470,6 +494,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } + if (respectPdb_ != false) { + output.writeBool(7, respectPdb_); + } unknownFields.writeTo(output); } @@ -494,6 +521,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } + if (respectPdb_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, respectPdb_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -515,6 +545,7 @@ public boolean equals(final java.lang.Object obj) { if (!getClusterId().equals(other.getClusterId())) return false; if (!getNodePoolId().equals(other.getNodePoolId())) return false; if (!getName().equals(other.getName())) return false; + if (getRespectPdb() != other.getRespectPdb()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -536,6 +567,8 @@ public int hashCode() { hash = (53 * hash) + getNodePoolId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -694,6 +727,8 @@ public Builder clear() { name_ = ""; + respectPdb_ = false; + return this; } @@ -726,6 +761,7 @@ public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest buildPartial( result.clusterId_ = clusterId_; result.nodePoolId_ = nodePoolId_; result.name_ = name_; + result.respectPdb_ = respectPdb_; onBuilt(); return result; } @@ -796,6 +832,9 @@ public Builder mergeFrom(com.google.container.v1beta1.RollbackNodePoolUpgradeReq name_ = other.name_; onChanged(); } + if (other.getRespectPdb() != false) { + setRespectPdb(other.getRespectPdb()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -832,7 +871,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -840,7 +879,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return The projectId. */ @java.lang.Deprecated @@ -860,7 +899,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -868,7 +907,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -888,7 +927,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -896,7 +935,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @param value The projectId to set. * @return This builder for chaining. */ @@ -915,7 +954,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -923,7 +962,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return This builder for chaining. */ @java.lang.Deprecated @@ -938,7 +977,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -946,7 +985,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -976,7 +1015,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return The zone. */ @java.lang.Deprecated @@ -1004,7 +1043,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1032,7 +1071,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @param value The zone to set. * @return This builder for chaining. */ @@ -1059,7 +1098,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1082,7 +1121,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1111,7 +1150,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return The clusterId. */ @java.lang.Deprecated @@ -1138,7 +1177,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1165,7 +1204,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1191,7 +1230,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1213,7 +1252,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1242,7 +1281,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3421 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3754 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1269,7 +1308,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3421 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1296,7 +1335,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3421 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3754 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1322,7 +1361,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3421 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3754 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1344,7 +1383,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3421 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3754 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -1476,6 +1515,61 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private boolean respectPdb_; + /** + * + * + *
+     * Option for rollback to ignore the PodDisruptionBudget.
+     * Default value is false.
+     * 
+ * + * bool respect_pdb = 7; + * + * @return The respectPdb. + */ + @java.lang.Override + public boolean getRespectPdb() { + return respectPdb_; + } + /** + * + * + *
+     * Option for rollback to ignore the PodDisruptionBudget.
+     * Default value is false.
+     * 
+ * + * bool respect_pdb = 7; + * + * @param value The respectPdb to set. + * @return This builder for chaining. + */ + public Builder setRespectPdb(boolean value) { + + respectPdb_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Option for rollback to ignore the PodDisruptionBudget.
+     * Default value is false.
+     * 
+ * + * bool respect_pdb = 7; + * + * @return This builder for chaining. + */ + public Builder clearRespectPdb() { + + respectPdb_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index 8b8d5dc567ce..aac3a1e229f5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3398 + * See google/container/v1beta1/cluster_service.proto;l=3731 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3407 + * google/container/v1beta1/cluster_service.proto;l=3740 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3414 + * See google/container/v1beta1/cluster_service.proto;l=3747 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3421 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3421 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -195,4 +195,18 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Option for rollback to ignore the PodDisruptionBudget.
+   * Default value is false.
+   * 
+ * + * bool respect_pdb = 7; + * + * @return The respectPdb. + */ + boolean getRespectPdb(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index 44a65657618b..2bb62ae76839 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java @@ -268,7 +268,7 @@ private Type(int value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return The sandboxType. */ @java.lang.Override @@ -294,7 +294,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return The bytes for sandboxType. */ @java.lang.Override @@ -689,7 +689,7 @@ public Builder mergeFrom( * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return The sandboxType. */ @java.lang.Deprecated @@ -714,7 +714,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return The bytes for sandboxType. */ @java.lang.Deprecated @@ -739,7 +739,7 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @param value The sandboxType to set. * @return This builder for chaining. */ @@ -763,7 +763,7 @@ public Builder setSandboxType(java.lang.String value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return This builder for chaining. */ @java.lang.Deprecated @@ -783,7 +783,7 @@ public Builder clearSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index 024aeffb8afd..b34adfd4a31c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return The sandboxType. */ @java.lang.Deprecated @@ -48,7 +48,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=791 + * google/container/v1beta1/cluster_service.proto;l=860 * @return The bytes for sandboxType. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index 56b2c1e1f6e7..a6a71d44f498 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return The projectId. */ @java.lang.Override @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -197,7 +197,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return The bytes for projectId. */ @java.lang.Override @@ -229,7 +229,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return The zone. */ @java.lang.Override @@ -258,7 +258,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return The bytes for zone. */ @java.lang.Override @@ -289,7 +289,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return The clusterId. */ @java.lang.Override @@ -317,7 +317,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return The bytes for clusterId. */ @java.lang.Override @@ -842,7 +842,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -850,7 +850,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return The projectId. */ @java.lang.Deprecated @@ -870,7 +870,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -878,7 +878,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -898,7 +898,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -906,7 +906,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @param value The projectId to set. * @return This builder for chaining. */ @@ -925,7 +925,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -933,7 +933,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return This builder for chaining. */ @java.lang.Deprecated @@ -948,7 +948,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -956,7 +956,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -986,7 +986,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return The zone. */ @java.lang.Deprecated @@ -1014,7 +1014,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @param value The zone to set. * @return This builder for chaining. */ @@ -1069,7 +1069,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1121,7 +1121,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return The clusterId. */ @java.lang.Deprecated @@ -1148,7 +1148,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1175,7 +1175,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1201,7 +1201,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1223,7 +1223,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index 1f6e28b0bc79..0068f523e8d2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetAddonsConfigRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetAddonsConfigRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2427 + * google/container/v1beta1/cluster_service.proto;l=2631 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * google/container/v1beta1/cluster_service.proto;l=2640 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2443 + * google/container/v1beta1/cluster_service.proto;l=2647 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index aff7362873b9..f55ffbc03ea8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java @@ -183,7 +183,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -191,7 +191,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return The projectId. */ @java.lang.Override @@ -212,7 +212,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -220,7 +220,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return The bytes for projectId. */ @java.lang.Override @@ -252,7 +252,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return The zone. */ @java.lang.Override @@ -281,7 +281,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return The bytes for zone. */ @java.lang.Override @@ -312,7 +312,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The clusterId. */ @java.lang.Override @@ -340,7 +340,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The bytes for clusterId. */ @java.lang.Override @@ -527,7 +527,7 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -551,7 +551,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -1004,7 +1004,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1012,7 +1012,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return The projectId. */ @java.lang.Deprecated @@ -1032,7 +1032,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1040,7 +1040,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1068,7 +1068,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1087,7 +1087,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1095,7 +1095,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1118,7 +1118,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1148,7 +1148,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return The zone. */ @java.lang.Deprecated @@ -1176,7 +1176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @param value The zone to set. * @return This builder for chaining. */ @@ -1231,7 +1231,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1254,7 +1254,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1283,7 +1283,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The clusterId. */ @java.lang.Deprecated @@ -1310,7 +1310,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1337,7 +1337,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1363,7 +1363,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1385,7 +1385,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1712,7 +1712,7 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1735,7 +1735,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1758,7 +1758,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1780,7 +1780,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1798,7 +1798,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set labels.
+     * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index 3fa8aa57a8bf..538fd06aac73 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetLabelsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetLabelsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3583 + * google/container/v1beta1/cluster_service.proto;l=3951 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3592 + * google/container/v1beta1/cluster_service.proto;l=3960 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3599 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -235,7 +235,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -248,7 +248,7 @@ java.lang.String getResourceLabelsOrDefault( * * *
-   * The name (project, location, cluster id) of the cluster to set labels.
+   * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index cc90bc18ff0d..20d62bcdb091 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java @@ -150,7 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -158,7 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return The projectId. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -187,7 +187,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The bytes for zone. */ @java.lang.Override @@ -279,7 +279,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return The clusterId. */ @java.lang.Override @@ -307,7 +307,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return The bytes for clusterId. */ @java.lang.Override @@ -348,8 +348,8 @@ public boolean getEnabled() { * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; @@ -372,8 +372,8 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; @@ -781,7 +781,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -789,7 +789,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return The projectId. */ @java.lang.Deprecated @@ -809,7 +809,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -817,7 +817,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -837,7 +837,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -845,7 +845,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @param value The projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -872,7 +872,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return This builder for chaining. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -895,7 +895,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -925,7 +925,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The zone. */ @java.lang.Deprecated @@ -953,7 +953,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The bytes for zone. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @param value The zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1060,7 +1060,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return The clusterId. */ @java.lang.Deprecated @@ -1087,7 +1087,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1140,7 +1140,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1162,7 +1162,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1235,8 +1235,8 @@ public Builder clearEnabled() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1258,8 +1258,8 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1281,8 +1281,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1303,8 +1303,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; @@ -1321,8 +1321,8 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set legacy abac.
-     * Specified in the format `projects/*/locations/*/clusters/*`.
+     * The name (project, location, cluster name) of the cluster to set legacy
+     * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index aec1875086ab..8dca78fb48c9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetLegacyAbacRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetLegacyAbacRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3626 + * google/container/v1beta1/cluster_service.proto;l=3994 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3635 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3642 + * google/container/v1beta1/cluster_service.proto;l=4010 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -149,8 +149,8 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; @@ -162,8 +162,8 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set legacy abac.
-   * Specified in the format `projects/*/locations/*/clusters/*`.
+   * The name (project, location, cluster name) of the cluster to set legacy
+   * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index b6687b760c60..dbada15f8ba5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java @@ -159,7 +159,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -167,7 +167,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return The projectId. */ @java.lang.Override @@ -188,7 +188,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -196,7 +196,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ @java.lang.Override @@ -228,7 +228,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return The zone. */ @java.lang.Override @@ -257,7 +257,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return The bytes for zone. */ @java.lang.Override @@ -288,7 +288,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return The clusterId. */ @java.lang.Override @@ -316,7 +316,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return The bytes for clusterId. */ @java.lang.Override @@ -872,7 +872,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -880,7 +880,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return The projectId. */ @java.lang.Deprecated @@ -900,7 +900,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -908,7 +908,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -928,7 +928,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -936,7 +936,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @param value The projectId to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -963,7 +963,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return This builder for chaining. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -986,7 +986,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1016,7 +1016,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return The zone. */ @java.lang.Deprecated @@ -1044,7 +1044,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1072,7 +1072,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @param value The zone to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1151,7 +1151,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return The clusterId. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1205,7 +1205,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1231,7 +1231,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1253,7 +1253,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index f96d6aae39d8..65818d1113a1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetLocationsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetLocationsRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2462 + * google/container/v1beta1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2471 + * google/container/v1beta1/cluster_service.proto;l=2675 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2478 + * google/container/v1beta1/cluster_service.proto;l=2682 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index d652f732cf30..6152c32526c8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return The projectId. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return The bytes for projectId. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return The zone. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return The bytes for zone. */ @java.lang.Override @@ -281,7 +281,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return The clusterId. */ @java.lang.Override @@ -309,7 +309,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -839,7 +839,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -867,7 +867,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -922,7 +922,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -945,7 +945,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -975,7 +975,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return The zone. */ @java.lang.Deprecated @@ -1003,7 +1003,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @param value The zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1081,7 +1081,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1110,7 +1110,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return The clusterId. */ @java.lang.Deprecated @@ -1137,7 +1137,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1164,7 +1164,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1190,7 +1190,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1212,7 +1212,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index 90eea2ccedd8..d0d4ade807ce 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetLoggingServiceRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetLoggingServiceRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2339 + * google/container/v1beta1/cluster_service.proto;l=2543 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2348 + * google/container/v1beta1/cluster_service.proto;l=2552 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2355 + * google/container/v1beta1/cluster_service.proto;l=2559 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java index 99a72973d2c0..f983dd7707da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -184,7 +184,7 @@ public java.lang.String getProjectId() { * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -369,8 +369,8 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -394,8 +394,8 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -817,7 +817,7 @@ public Builder mergeFrom( * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -840,7 +840,7 @@ public java.lang.String getProjectId() { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -863,7 +863,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -885,7 +885,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -903,7 +903,7 @@ public Builder clearProjectId() { * *
      * Required. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1362,8 +1362,8 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1386,8 +1386,8 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1410,8 +1410,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1433,8 +1433,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1452,8 +1452,8 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set maintenance
-     * policy.
+     * The name (project, location, cluster name) of the cluster to set
+     * maintenance policy.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java index 7d575cf70137..58bf29feaf88 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetMaintenancePolicyRequestOrBuilder * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +41,7 @@ public interface SetMaintenancePolicyRequestOrBuilder * *
    * Required. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -152,8 +152,8 @@ public interface SetMaintenancePolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -166,8 +166,8 @@ public interface SetMaintenancePolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set maintenance
-   * policy.
+   * The name (project, location, cluster name) of the cluster to set
+   * maintenance policy.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index 0ae600c3608c..8649c7093dc4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java @@ -355,7 +355,7 @@ private Action(int value) { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -363,7 +363,7 @@ private Action(int value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return The projectId. */ @java.lang.Override @@ -384,7 +384,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -392,7 +392,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return The bytes for projectId. */ @java.lang.Override @@ -424,7 +424,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return The zone. */ @java.lang.Override @@ -453,7 +453,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return The bytes for zone. */ @java.lang.Override @@ -484,7 +484,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return The clusterId. */ @java.lang.Override @@ -512,7 +512,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return The bytes for clusterId. */ @java.lang.Override @@ -1089,7 +1089,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1097,7 +1097,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return The projectId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1125,7 +1125,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1145,7 +1145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1153,7 +1153,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1172,7 +1172,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1180,7 +1180,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1195,7 +1195,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1203,7 +1203,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1233,7 +1233,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return The zone. */ @java.lang.Deprecated @@ -1261,7 +1261,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1289,7 +1289,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @param value The zone to set. * @return This builder for chaining. */ @@ -1316,7 +1316,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1339,7 +1339,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1368,7 +1368,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return The clusterId. */ @java.lang.Deprecated @@ -1395,7 +1395,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1422,7 +1422,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1448,7 +1448,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1470,7 +1470,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index 94a951d6a3eb..66b4383adc12 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetMasterAuthRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetMasterAuthRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2563 + * google/container/v1beta1/cluster_service.proto;l=2767 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2572 + * google/container/v1beta1/cluster_service.proto;l=2776 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2579 + * google/container/v1beta1/cluster_service.proto;l=2783 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 730cbbac4303..5d48a0077d06 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2383 + * google/container/v1beta1/cluster_service.proto;l=2587 * @return The projectId. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2383 + * google/container/v1beta1/cluster_service.proto;l=2587 * @return The bytes for projectId. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return The zone. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return The bytes for zone. */ @java.lang.Override @@ -281,7 +281,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2399 + * google/container/v1beta1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Override @@ -309,7 +309,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2399 + * google/container/v1beta1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -839,7 +839,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2383 + * See google/container/v1beta1/cluster_service.proto;l=2587 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -867,7 +867,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2383 + * See google/container/v1beta1/cluster_service.proto;l=2587 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2383 + * See google/container/v1beta1/cluster_service.proto;l=2587 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -922,7 +922,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2383 + * See google/container/v1beta1/cluster_service.proto;l=2587 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -945,7 +945,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2383 + * See google/container/v1beta1/cluster_service.proto;l=2587 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -975,7 +975,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return The zone. */ @java.lang.Deprecated @@ -1003,7 +1003,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @param value The zone to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1081,7 +1081,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1110,7 +1110,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2399 + * See google/container/v1beta1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Deprecated @@ -1137,7 +1137,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2399 + * See google/container/v1beta1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1164,7 +1164,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2399 + * See google/container/v1beta1/cluster_service.proto;l=2603 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1190,7 +1190,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2399 + * See google/container/v1beta1/cluster_service.proto;l=2603 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1212,7 +1212,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2399 + * See google/container/v1beta1/cluster_service.proto;l=2603 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index 59aeef84e5bc..1c58fda7248b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetMonitoringServiceRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2383 + * google/container/v1beta1/cluster_service.proto;l=2587 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetMonitoringServiceRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2383 + * google/container/v1beta1/cluster_service.proto;l=2587 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2392 + * google/container/v1beta1/cluster_service.proto;l=2596 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2399 + * google/container/v1beta1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2399 + * google/container/v1beta1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index c02f29b2d830..1cb9774c196a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return The projectId. */ @java.lang.Override @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -197,7 +197,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return The bytes for projectId. */ @java.lang.Override @@ -229,7 +229,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The zone. */ @java.lang.Override @@ -258,7 +258,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The bytes for zone. */ @java.lang.Override @@ -289,7 +289,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return The clusterId. */ @java.lang.Override @@ -317,7 +317,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return The bytes for clusterId. */ @java.lang.Override @@ -394,7 +394,7 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -418,7 +418,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -839,7 +839,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -847,7 +847,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return The projectId. */ @java.lang.Deprecated @@ -867,7 +867,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -875,7 +875,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -903,7 +903,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @param value The projectId to set. * @return This builder for chaining. */ @@ -922,7 +922,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -930,7 +930,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return This builder for chaining. */ @java.lang.Deprecated @@ -945,7 +945,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -953,7 +953,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -983,7 +983,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The zone. */ @java.lang.Deprecated @@ -1011,7 +1011,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @param value The zone to set. * @return This builder for chaining. */ @@ -1066,7 +1066,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1089,7 +1089,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1118,7 +1118,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return The clusterId. */ @java.lang.Deprecated @@ -1145,7 +1145,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1172,7 +1172,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1198,7 +1198,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1220,7 +1220,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1445,7 +1445,7 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1468,7 +1468,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1491,7 +1491,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1513,7 +1513,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1531,7 +1531,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to set networking
+     * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index 797d8c601f2f..3785a381010a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetNetworkPolicyRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetNetworkPolicyRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3804 + * google/container/v1beta1/cluster_service.proto;l=4197 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3813 + * google/container/v1beta1/cluster_service.proto;l=4206 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3820 + * google/container/v1beta1/cluster_service.proto;l=4213 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -177,7 +177,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -190,7 +190,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to set networking
+   * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index 1b332ed451d0..775f5f0f1a70 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -176,7 +176,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return The projectId. */ @java.lang.Override @@ -197,7 +197,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -205,7 +205,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return The bytes for projectId. */ @java.lang.Override @@ -237,7 +237,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Override @@ -266,7 +266,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Override @@ -297,7 +297,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return The clusterId. */ @java.lang.Override @@ -325,7 +325,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return The bytes for clusterId. */ @java.lang.Override @@ -356,7 +356,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2320 + * See google/container/v1beta1/cluster_service.proto;l=2524 * @return The nodePoolId. */ @java.lang.Override @@ -384,7 +384,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2320 + * See google/container/v1beta1/cluster_service.proto;l=2524 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -925,7 +925,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -933,7 +933,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return The projectId. */ @java.lang.Deprecated @@ -953,7 +953,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -961,7 +961,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -989,7 +989,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1016,7 +1016,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1039,7 +1039,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1069,7 +1069,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Deprecated @@ -1097,7 +1097,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1125,7 +1125,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @param value The zone to set. * @return This builder for chaining. */ @@ -1152,7 +1152,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1175,7 +1175,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1204,7 +1204,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return The clusterId. */ @java.lang.Deprecated @@ -1231,7 +1231,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1258,7 +1258,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1284,7 +1284,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1306,7 +1306,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1335,7 +1335,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2320 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2524 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1362,7 +1362,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2320 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2524 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1389,7 +1389,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2320 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2524 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1415,7 +1415,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2320 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2524 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1437,7 +1437,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2320 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2524 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index ebeea2a15c78..a4a902fc0699 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2297 + * See google/container/v1beta1/cluster_service.proto;l=2501 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2306 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2313 + * See google/container/v1beta1/cluster_service.proto;l=2517 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2320 + * See google/container/v1beta1/cluster_service.proto;l=2524 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2320 + * See google/container/v1beta1/cluster_service.proto;l=2524 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index 455107095b88..5c04f887bdd6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java @@ -169,7 +169,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -177,7 +177,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3312 + * google/container/v1beta1/cluster_service.proto;l=3636 * @return The projectId. */ @java.lang.Override @@ -198,7 +198,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -206,7 +206,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3312 + * google/container/v1beta1/cluster_service.proto;l=3636 * @return The bytes for projectId. */ @java.lang.Override @@ -238,7 +238,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return The zone. */ @java.lang.Override @@ -267,7 +267,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return The bytes for zone. */ @java.lang.Override @@ -298,7 +298,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3328 + * google/container/v1beta1/cluster_service.proto;l=3652 * @return The clusterId. */ @java.lang.Override @@ -326,7 +326,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3328 + * google/container/v1beta1/cluster_service.proto;l=3652 * @return The bytes for clusterId. */ @java.lang.Override @@ -357,7 +357,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return The nodePoolId. */ @java.lang.Override @@ -385,7 +385,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -927,7 +927,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -935,7 +935,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3312 + * See google/container/v1beta1/cluster_service.proto;l=3636 * @return The projectId. */ @java.lang.Deprecated @@ -955,7 +955,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -963,7 +963,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3312 + * See google/container/v1beta1/cluster_service.proto;l=3636 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -983,7 +983,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -991,7 +991,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3312 + * See google/container/v1beta1/cluster_service.proto;l=3636 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1018,7 +1018,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3312 + * See google/container/v1beta1/cluster_service.proto;l=3636 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1033,7 +1033,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1041,7 +1041,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3312 + * See google/container/v1beta1/cluster_service.proto;l=3636 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return The zone. */ @java.lang.Deprecated @@ -1099,7 +1099,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1127,7 +1127,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @param value The zone to set. * @return This builder for chaining. */ @@ -1154,7 +1154,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1177,7 +1177,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1206,7 +1206,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3328 + * See google/container/v1beta1/cluster_service.proto;l=3652 * @return The clusterId. */ @java.lang.Deprecated @@ -1233,7 +1233,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3328 + * See google/container/v1beta1/cluster_service.proto;l=3652 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1260,7 +1260,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3328 + * See google/container/v1beta1/cluster_service.proto;l=3652 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1286,7 +1286,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3328 + * See google/container/v1beta1/cluster_service.proto;l=3652 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3328 + * See google/container/v1beta1/cluster_service.proto;l=3652 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1337,7 +1337,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1364,7 +1364,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1391,7 +1391,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1417,7 +1417,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1439,7 +1439,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index 2eaefff53c1a..6136bc51b9dd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetNodePoolManagementRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3312 + * google/container/v1beta1/cluster_service.proto;l=3636 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetNodePoolManagementRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3312 + * google/container/v1beta1/cluster_service.proto;l=3636 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3321 + * google/container/v1beta1/cluster_service.proto;l=3645 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3328 + * google/container/v1beta1/cluster_service.proto;l=3652 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3328 + * google/container/v1beta1/cluster_service.proto;l=3652 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3335 + * See google/container/v1beta1/cluster_service.proto;l=3659 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index da4c4cddcb50..9302d43829d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java @@ -157,7 +157,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -165,7 +165,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return The projectId. */ @java.lang.Override @@ -186,7 +186,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -194,7 +194,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return The bytes for projectId. */ @java.lang.Override @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return The zone. */ @java.lang.Override @@ -255,7 +255,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return The bytes for zone. */ @java.lang.Override @@ -286,7 +286,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The clusterId. */ @java.lang.Override @@ -314,7 +314,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The bytes for clusterId. */ @java.lang.Override @@ -345,7 +345,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The nodePoolId. */ @java.lang.Override @@ -373,7 +373,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -864,7 +864,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -872,7 +872,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return The projectId. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -900,7 +900,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -928,7 +928,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @param value The projectId to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -955,7 +955,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -978,7 +978,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return The zone. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1064,7 +1064,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @param value The zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1143,7 +1143,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The clusterId. */ @java.lang.Deprecated @@ -1170,7 +1170,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1197,7 +1197,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1223,7 +1223,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1245,7 +1245,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1274,7 +1274,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1301,7 +1301,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1328,7 +1328,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1354,7 +1354,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1376,7 +1376,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 7fed27b83ee5..47a8b6581343 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface SetNodePoolSizeRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface SetNodePoolSizeRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3354 + * google/container/v1beta1/cluster_service.proto;l=3678 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3363 + * google/container/v1beta1/cluster_service.proto;l=3687 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3370 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3377 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index b1c1c2f9423d..e75ebcd3f232 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java @@ -150,7 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -158,7 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return The projectId. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -187,7 +187,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return The bytes for projectId. */ @java.lang.Override @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return The zone. */ @java.lang.Override @@ -248,7 +248,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return The bytes for zone. */ @java.lang.Override @@ -279,7 +279,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return The clusterId. */ @java.lang.Override @@ -307,7 +307,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return The bytes for clusterId. */ @java.lang.Override @@ -330,7 +330,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -354,7 +354,7 @@ public java.lang.String getName() { * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -781,7 +781,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -789,7 +789,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return The projectId. */ @java.lang.Deprecated @@ -809,7 +809,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -817,7 +817,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -837,7 +837,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -845,7 +845,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @param value The projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -872,7 +872,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return This builder for chaining. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://developers.google.com/console/help/new/#projectnumber).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -895,7 +895,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -925,7 +925,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return The zone. */ @java.lang.Deprecated @@ -953,7 +953,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return The bytes for zone. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @param value The zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1060,7 +1060,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return The clusterId. */ @java.lang.Deprecated @@ -1087,7 +1087,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1140,7 +1140,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1162,7 +1162,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1183,7 +1183,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1206,7 +1206,7 @@ public java.lang.String getName() { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1229,7 +1229,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1251,7 +1251,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* @@ -1269,7 +1269,7 @@ public Builder clearName() { * * *
-     * The name (project, location, cluster id) of the cluster to start IP
+     * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 7cc85d5fedb2..1bec7ccac29c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface StartIPRotationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface StartIPRotationRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://developers.google.com/console/help/new/#projectnumber).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3661 + * google/container/v1beta1/cluster_service.proto;l=4029 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=4038 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3677 + * google/container/v1beta1/cluster_service.proto;l=4045 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -136,7 +136,7 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* @@ -149,7 +149,7 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * The name (project, location, cluster id) of the cluster to start IP
+   * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 1c6c5f482208..68b8595f2489 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java @@ -397,7 +397,7 @@ private Code(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -416,7 +416,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return The code. */ @java.lang.Override @@ -871,7 +871,7 @@ public Builder mergeFrom( * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -890,7 +890,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -912,7 +912,7 @@ public Builder setCodeValue(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return The code. */ @java.lang.Override @@ -936,7 +936,7 @@ public com.google.container.v1beta1.StatusCondition.Code getCode() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @param value The code to set. * @return This builder for chaining. */ @@ -961,7 +961,7 @@ public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index 2033ad7853f8..48b50063509e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java @@ -34,7 +34,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3939 + * google/container/v1beta1/cluster_service.proto;l=4332 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index 2f56af3311f8..2ee8caf5dcee 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -168,7 +168,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return The projectId. */ @java.lang.Override @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -197,7 +197,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return The bytes for projectId. */ @java.lang.Override @@ -229,7 +229,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return The zone. */ @java.lang.Override @@ -258,7 +258,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return The bytes for zone. */ @java.lang.Override @@ -289,7 +289,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return The clusterId. */ @java.lang.Override @@ -317,7 +317,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return The bytes for clusterId. */ @java.lang.Override @@ -839,7 +839,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -847,7 +847,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return The projectId. */ @java.lang.Deprecated @@ -867,7 +867,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -875,7 +875,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -895,7 +895,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -903,7 +903,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @param value The projectId to set. * @return This builder for chaining. */ @@ -922,7 +922,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -930,7 +930,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return This builder for chaining. */ @java.lang.Deprecated @@ -945,7 +945,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -953,7 +953,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -983,7 +983,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return The zone. */ @java.lang.Deprecated @@ -1011,7 +1011,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1039,7 +1039,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @param value The zone to set. * @return This builder for chaining. */ @@ -1066,7 +1066,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1089,7 +1089,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1118,7 +1118,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return The clusterId. */ @java.lang.Deprecated @@ -1145,7 +1145,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1172,7 +1172,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1198,7 +1198,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1220,7 +1220,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index 1faffdaed56e..8bd82016dcd2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface UpdateClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface UpdateClusterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2168 + * google/container/v1beta1/cluster_service.proto;l=2365 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2177 + * google/container/v1beta1/cluster_service.proto;l=2374 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2184 + * google/container/v1beta1/cluster_service.proto;l=2381 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index b3790f9b14d3..062dbad69d4a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java @@ -152,7 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -160,7 +160,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return The projectId. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -189,7 +189,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return The bytes for projectId. */ @java.lang.Override @@ -221,7 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return The zone. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return The bytes for zone. */ @java.lang.Override @@ -281,7 +281,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return The clusterId. */ @java.lang.Override @@ -309,7 +309,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return The bytes for clusterId. */ @java.lang.Override @@ -827,7 +827,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -835,7 +835,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return The projectId. */ @java.lang.Deprecated @@ -855,7 +855,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -863,7 +863,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -891,7 +891,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @param value The projectId to set. * @return This builder for chaining. */ @@ -910,7 +910,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -918,7 +918,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return This builder for chaining. */ @java.lang.Deprecated @@ -933,7 +933,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -941,7 +941,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -971,7 +971,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return The zone. */ @java.lang.Deprecated @@ -999,7 +999,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1027,7 +1027,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @param value The zone to set. * @return This builder for chaining. */ @@ -1054,7 +1054,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1077,7 +1077,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1106,7 +1106,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return The clusterId. */ @java.lang.Deprecated @@ -1133,7 +1133,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1160,7 +1160,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1208,7 +1208,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index f43e1b3ce0a7..6b417e3d939d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface UpdateMasterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface UpdateMasterRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2502 + * google/container/v1beta1/cluster_service.proto;l=2706 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2511 + * google/container/v1beta1/cluster_service.proto;l=2715 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2518 + * google/container/v1beta1/cluster_service.proto;l=2722 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index e9fdcc7b47b2..be8df755a5b3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java @@ -249,6 +249,22 @@ private UpdateNodePoolRequest( kubeletConfig_ = subBuilder.buildPartial(); } + break; + } + case 170: + { + com.google.container.v1beta1.NodeNetworkConfig.Builder subBuilder = null; + if (nodeNetworkConfig_ != null) { + subBuilder = nodeNetworkConfig_.toBuilder(); + } + nodeNetworkConfig_ = + input.readMessage( + com.google.container.v1beta1.NodeNetworkConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeNetworkConfig_); + nodeNetworkConfig_ = subBuilder.buildPartial(); + } + break; } case 178: @@ -265,6 +281,22 @@ private UpdateNodePoolRequest( gcfsConfig_ = subBuilder.buildPartial(); } + break; + } + case 186: + { + com.google.container.v1beta1.ConfidentialNodes.Builder subBuilder = null; + if (confidentialNodes_ != null) { + subBuilder = confidentialNodes_.toBuilder(); + } + confidentialNodes_ = + input.readMessage( + com.google.container.v1beta1.ConfidentialNodes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(confidentialNodes_); + confidentialNodes_ = subBuilder.buildPartial(); + } + break; } case 234: @@ -329,7 +361,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -337,7 +369,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return The projectId. */ @java.lang.Override @@ -358,7 +390,7 @@ public java.lang.String getProjectId() { * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -366,7 +398,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return The bytes for projectId. */ @java.lang.Override @@ -398,7 +430,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return The zone. */ @java.lang.Override @@ -427,7 +459,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return The bytes for zone. */ @java.lang.Override @@ -458,7 +490,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return The clusterId. */ @java.lang.Override @@ -486,7 +518,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return The bytes for clusterId. */ @java.lang.Override @@ -517,7 +549,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The nodePoolId. */ @java.lang.Override @@ -545,7 +577,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -1156,6 +1188,54 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO return getKubeletConfig(); } + public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER = 21; + private com.google.container.v1beta1.NodeNetworkConfig nodeNetworkConfig_; + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * + * @return Whether the nodeNetworkConfig field is set. + */ + @java.lang.Override + public boolean hasNodeNetworkConfig() { + return nodeNetworkConfig_ != null; + } + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * + * @return The nodeNetworkConfig. + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig() { + return nodeNetworkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; + } + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder() { + return getNodeNetworkConfig(); + } + public static final int GCFS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1beta1.GcfsConfig gcfsConfig_; /** @@ -1204,6 +1284,57 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() return getGcfsConfig(); } + public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 23; + private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * + * @return Whether the confidentialNodes field is set. + */ + @java.lang.Override + public boolean hasConfidentialNodes() { + return confidentialNodes_ != null; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * + * @return The confidentialNodes. + */ + @java.lang.Override + public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + @java.lang.Override + public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + return getConfidentialNodes(); + } + public static final int GVNIC_FIELD_NUMBER = 29; private com.google.container.v1beta1.VirtualNIC gvnic_; /** @@ -1309,9 +1440,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (kubeletConfig_ != null) { output.writeMessage(20, getKubeletConfig()); } + if (nodeNetworkConfig_ != null) { + output.writeMessage(21, getNodeNetworkConfig()); + } if (gcfsConfig_ != null) { output.writeMessage(22, getGcfsConfig()); } + if (confidentialNodes_ != null) { + output.writeMessage(23, getConfidentialNodes()); + } if (gvnic_ != null) { output.writeMessage(29, getGvnic()); } @@ -1375,9 +1512,15 @@ public int getSerializedSize() { if (kubeletConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getKubeletConfig()); } + if (nodeNetworkConfig_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getNodeNetworkConfig()); + } if (gcfsConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getGcfsConfig()); } + if (confidentialNodes_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getConfidentialNodes()); + } if (gvnic_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); } @@ -1433,10 +1576,18 @@ public boolean equals(final java.lang.Object obj) { if (hasKubeletConfig()) { if (!getKubeletConfig().equals(other.getKubeletConfig())) return false; } + if (hasNodeNetworkConfig() != other.hasNodeNetworkConfig()) return false; + if (hasNodeNetworkConfig()) { + if (!getNodeNetworkConfig().equals(other.getNodeNetworkConfig())) return false; + } if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; } + if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; + if (hasConfidentialNodes()) { + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + } if (hasGvnic() != other.hasGvnic()) return false; if (hasGvnic()) { if (!getGvnic().equals(other.getGvnic())) return false; @@ -1498,10 +1649,18 @@ public int hashCode() { hash = (37 * hash) + KUBELET_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getKubeletConfig().hashCode(); } + if (hasNodeNetworkConfig()) { + hash = (37 * hash) + NODE_NETWORK_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNodeNetworkConfig().hashCode(); + } if (hasGcfsConfig()) { hash = (37 * hash) + GCFS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGcfsConfig().hashCode(); } + if (hasConfidentialNodes()) { + hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; + hash = (53 * hash) + getConfidentialNodes().hashCode(); + } if (hasGvnic()) { hash = (37 * hash) + GVNIC_FIELD_NUMBER; hash = (53 * hash) + getGvnic().hashCode(); @@ -1709,12 +1868,24 @@ public Builder clear() { kubeletConfig_ = null; kubeletConfigBuilder_ = null; } + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfig_ = null; + } else { + nodeNetworkConfig_ = null; + nodeNetworkConfigBuilder_ = null; + } if (gcfsConfigBuilder_ == null) { gcfsConfig_ = null; } else { gcfsConfig_ = null; gcfsConfigBuilder_ = null; } + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } if (gvnicBuilder_ == null) { gvnic_ = null; } else { @@ -1796,11 +1967,21 @@ public com.google.container.v1beta1.UpdateNodePoolRequest buildPartial() { } else { result.kubeletConfig_ = kubeletConfigBuilder_.build(); } + if (nodeNetworkConfigBuilder_ == null) { + result.nodeNetworkConfig_ = nodeNetworkConfig_; + } else { + result.nodeNetworkConfig_ = nodeNetworkConfigBuilder_.build(); + } if (gcfsConfigBuilder_ == null) { result.gcfsConfig_ = gcfsConfig_; } else { result.gcfsConfig_ = gcfsConfigBuilder_.build(); } + if (confidentialNodesBuilder_ == null) { + result.confidentialNodes_ = confidentialNodes_; + } else { + result.confidentialNodes_ = confidentialNodesBuilder_.build(); + } if (gvnicBuilder_ == null) { result.gvnic_ = gvnic_; } else { @@ -1915,9 +2096,15 @@ public Builder mergeFrom(com.google.container.v1beta1.UpdateNodePoolRequest othe if (other.hasKubeletConfig()) { mergeKubeletConfig(other.getKubeletConfig()); } + if (other.hasNodeNetworkConfig()) { + mergeNodeNetworkConfig(other.getNodeNetworkConfig()); + } if (other.hasGcfsConfig()) { mergeGcfsConfig(other.getGcfsConfig()); } + if (other.hasConfidentialNodes()) { + mergeConfidentialNodes(other.getConfidentialNodes()); + } if (other.hasGvnic()) { mergeGvnic(other.getGvnic()); } @@ -1959,7 +2146,7 @@ public Builder mergeFrom( * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1967,7 +2154,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return The projectId. */ @java.lang.Deprecated @@ -1987,7 +2174,7 @@ public java.lang.String getProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -1995,7 +2182,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2015,7 +2202,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -2023,7 +2210,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2042,7 +2229,7 @@ public Builder setProjectId(java.lang.String value) { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -2050,7 +2237,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2065,7 +2252,7 @@ public Builder clearProjectId() { * *
      * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://support.google.com/cloud/answer/6158840).
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* @@ -2073,7 +2260,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -2103,7 +2290,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return The zone. */ @java.lang.Deprecated @@ -2131,7 +2318,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2159,7 +2346,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @param value The zone to set. * @return This builder for chaining. */ @@ -2186,7 +2373,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2209,7 +2396,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2238,7 +2425,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return The clusterId. */ @java.lang.Deprecated @@ -2265,7 +2452,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -2292,7 +2479,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -2318,7 +2505,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2340,7 +2527,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -2369,7 +2556,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The nodePoolId. */ @java.lang.Deprecated @@ -2396,7 +2583,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -2423,7 +2610,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -2449,7 +2636,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2471,7 +2658,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -4420,6 +4607,192 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO return kubeletConfigBuilder_; } + private com.google.container.v1beta1.NodeNetworkConfig nodeNetworkConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder> + nodeNetworkConfigBuilder_; + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * + * @return Whether the nodeNetworkConfig field is set. + */ + public boolean hasNodeNetworkConfig() { + return nodeNetworkConfigBuilder_ != null || nodeNetworkConfig_ != null; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * + * @return The nodeNetworkConfig. + */ + public com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig() { + if (nodeNetworkConfigBuilder_ == null) { + return nodeNetworkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; + } else { + return nodeNetworkConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + public Builder setNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig value) { + if (nodeNetworkConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodeNetworkConfig_ = value; + onChanged(); + } else { + nodeNetworkConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + public Builder setNodeNetworkConfig( + com.google.container.v1beta1.NodeNetworkConfig.Builder builderForValue) { + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfig_ = builderForValue.build(); + onChanged(); + } else { + nodeNetworkConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + public Builder mergeNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig value) { + if (nodeNetworkConfigBuilder_ == null) { + if (nodeNetworkConfig_ != null) { + nodeNetworkConfig_ = + com.google.container.v1beta1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + nodeNetworkConfig_ = value; + } + onChanged(); + } else { + nodeNetworkConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + public Builder clearNodeNetworkConfig() { + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfig_ = null; + onChanged(); + } else { + nodeNetworkConfig_ = null; + nodeNetworkConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + public com.google.container.v1beta1.NodeNetworkConfig.Builder getNodeNetworkConfigBuilder() { + + onChanged(); + return getNodeNetworkConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder() { + if (nodeNetworkConfigBuilder_ != null) { + return nodeNetworkConfigBuilder_.getMessageOrBuilder(); + } else { + return nodeNetworkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; + } + } + /** + * + * + *
+     * Node network config.
+     * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder> + getNodeNetworkConfigFieldBuilder() { + if (nodeNetworkConfigBuilder_ == null) { + nodeNetworkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder>( + getNodeNetworkConfig(), getParentForChildren(), isClean()); + nodeNetworkConfig_ = null; + } + return nodeNetworkConfigBuilder_; + } + private com.google.container.v1beta1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1beta1.GcfsConfig, @@ -4605,6 +4978,201 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() return gcfsConfigBuilder_; } + private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * + * @return Whether the confidentialNodes field is set. + */ + public boolean hasConfidentialNodes() { + return confidentialNodesBuilder_ != null || confidentialNodes_ != null; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * + * @return The confidentialNodes. + */ + public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } else { + return confidentialNodesBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + confidentialNodes_ = value; + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder setConfidentialNodes( + com.google.container.v1beta1.ConfidentialNodes.Builder builderForValue) { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = builderForValue.build(); + onChanged(); + } else { + confidentialNodesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialNodes value) { + if (confidentialNodesBuilder_ == null) { + if (confidentialNodes_ != null) { + confidentialNodes_ = + com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_) + .mergeFrom(value) + .buildPartial(); + } else { + confidentialNodes_ = value; + } + onChanged(); + } else { + confidentialNodesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + public Builder clearConfidentialNodes() { + if (confidentialNodesBuilder_ == null) { + confidentialNodes_ = null; + onChanged(); + } else { + confidentialNodes_ = null; + confidentialNodesBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() { + + onChanged(); + return getConfidentialNodesFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() { + if (confidentialNodesBuilder_ != null) { + return confidentialNodesBuilder_.getMessageOrBuilder(); + } else { + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; + } + } + /** + * + * + *
+     * Confidential nodes config.
+     * All the nodes in the node pool will be Confidential VM once enabled.
+     * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + getConfidentialNodesFieldBuilder() { + if (confidentialNodesBuilder_ == null) { + confidentialNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder>( + getConfidentialNodes(), getParentForChildren(), isClean()); + confidentialNodes_ = null; + } + return confidentialNodesBuilder_; + } + private com.google.container.v1beta1.VirtualNIC gvnic_; private com.google.protobuf.SingleFieldBuilderV3< com.google.container.v1beta1.VirtualNIC, diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java index 6a6273487475..6c88e6f22c55 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java @@ -28,7 +28,7 @@ public interface UpdateNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -36,7 +36,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return The projectId. */ @java.lang.Deprecated @@ -46,7 +46,7 @@ public interface UpdateNodePoolRequestOrBuilder * *
    * Required. Deprecated. The Google Developers Console [project ID or project
-   * number](https://support.google.com/cloud/answer/6158840).
+   * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* @@ -54,7 +54,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2202 + * google/container/v1beta1/cluster_service.proto;l=2399 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2211 + * google/container/v1beta1/cluster_service.proto;l=2408 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2415 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2225 + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -592,6 +592,41 @@ public interface UpdateNodePoolRequestOrBuilder */ com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * + * @return Whether the nodeNetworkConfig field is set. + */ + boolean hasNodeNetworkConfig(); + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * + * @return The nodeNetworkConfig. + */ + com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig(); + /** + * + * + *
+   * Node network config.
+   * 
+ * + * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + */ + com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder(); + /** * * @@ -627,6 +662,44 @@ public interface UpdateNodePoolRequestOrBuilder */ com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * + * @return Whether the confidentialNodes field is set. + */ + boolean hasConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * + * @return The confidentialNodes. + */ + com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); + /** + * + * + *
+   * Confidential nodes config.
+   * All the nodes in the node pool will be Confidential VM once enabled.
+   * 
+ * + * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + */ + com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder(); + /** * * diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java index 4318fe4d0004..317f441b67c3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java @@ -154,7 +154,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2); + return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); } private static final UpgradeResourceType[] VALUES = values(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java new file mode 100644 index 000000000000..e06c02c101ff --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java @@ -0,0 +1,777 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * Configuration for direct-path (via ALTS) with workload identity.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} + */ +public final class WorkloadALTSConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadALTSConfig) + WorkloadALTSConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkloadALTSConfig.newBuilder() to construct. + private WorkloadALTSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WorkloadALTSConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkloadALTSConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WorkloadALTSConfig( + 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 10: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (enableAlts_ != null) { + subBuilder = enableAlts_.toBuilder(); + } + enableAlts_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(enableAlts_); + enableAlts_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.WorkloadALTSConfig.class, + com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); + } + + public static final int ENABLE_ALTS_FIELD_NUMBER = 1; + private com.google.protobuf.BoolValue enableAlts_; + /** + * + * + *
+   * enable_alts controls whether the alts handshaker should be enabled or not
+   * for direct-path.
+   * Requires Workload Identity
+   * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+   * must be non-empty).
+   * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + * + * @return Whether the enableAlts field is set. + */ + @java.lang.Override + public boolean hasEnableAlts() { + return enableAlts_ != null; + } + /** + * + * + *
+   * enable_alts controls whether the alts handshaker should be enabled or not
+   * for direct-path.
+   * Requires Workload Identity
+   * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+   * must be non-empty).
+   * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + * + * @return The enableAlts. + */ + @java.lang.Override + public com.google.protobuf.BoolValue getEnableAlts() { + return enableAlts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_; + } + /** + * + * + *
+   * enable_alts controls whether the alts handshaker should be enabled or not
+   * for direct-path.
+   * Requires Workload Identity
+   * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+   * must be non-empty).
+   * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + @java.lang.Override + public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() { + return getEnableAlts(); + } + + 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 (enableAlts_ != null) { + output.writeMessage(1, getEnableAlts()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enableAlts_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableAlts()); + } + 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.container.v1beta1.WorkloadALTSConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.WorkloadALTSConfig other = + (com.google.container.v1beta1.WorkloadALTSConfig) obj; + + if (hasEnableAlts() != other.hasEnableAlts()) return false; + if (hasEnableAlts()) { + if (!getEnableAlts().equals(other.getEnableAlts())) 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 (hasEnableAlts()) { + hash = (37 * hash) + ENABLE_ALTS_FIELD_NUMBER; + hash = (53 * hash) + getEnableAlts().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig 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.container.v1beta1.WorkloadALTSConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig 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.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig 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.container.v1beta1.WorkloadALTSConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig 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.container.v1beta1.WorkloadALTSConfig 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; + } + /** + * + * + *
+   * Configuration for direct-path (via ALTS) with workload identity.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadALTSConfig) + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.WorkloadALTSConfig.class, + com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.WorkloadALTSConfig.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 (enableAltsBuilder_ == null) { + enableAlts_ = null; + } else { + enableAlts_ = null; + enableAltsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfig build() { + com.google.container.v1beta1.WorkloadALTSConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.WorkloadALTSConfig buildPartial() { + com.google.container.v1beta1.WorkloadALTSConfig result = + new com.google.container.v1beta1.WorkloadALTSConfig(this); + if (enableAltsBuilder_ == null) { + result.enableAlts_ = enableAlts_; + } else { + result.enableAlts_ = enableAltsBuilder_.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.container.v1beta1.WorkloadALTSConfig) { + return mergeFrom((com.google.container.v1beta1.WorkloadALTSConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.WorkloadALTSConfig other) { + if (other == com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance()) + return this; + if (other.hasEnableAlts()) { + mergeEnableAlts(other.getEnableAlts()); + } + 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.container.v1beta1.WorkloadALTSConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1beta1.WorkloadALTSConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.BoolValue enableAlts_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enableAltsBuilder_; + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + * + * @return Whether the enableAlts field is set. + */ + public boolean hasEnableAlts() { + return enableAltsBuilder_ != null || enableAlts_ != null; + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + * + * @return The enableAlts. + */ + public com.google.protobuf.BoolValue getEnableAlts() { + if (enableAltsBuilder_ == null) { + return enableAlts_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableAlts_; + } else { + return enableAltsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + public Builder setEnableAlts(com.google.protobuf.BoolValue value) { + if (enableAltsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + enableAlts_ = value; + onChanged(); + } else { + enableAltsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + public Builder setEnableAlts(com.google.protobuf.BoolValue.Builder builderForValue) { + if (enableAltsBuilder_ == null) { + enableAlts_ = builderForValue.build(); + onChanged(); + } else { + enableAltsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + public Builder mergeEnableAlts(com.google.protobuf.BoolValue value) { + if (enableAltsBuilder_ == null) { + if (enableAlts_ != null) { + enableAlts_ = + com.google.protobuf.BoolValue.newBuilder(enableAlts_).mergeFrom(value).buildPartial(); + } else { + enableAlts_ = value; + } + onChanged(); + } else { + enableAltsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + public Builder clearEnableAlts() { + if (enableAltsBuilder_ == null) { + enableAlts_ = null; + onChanged(); + } else { + enableAlts_ = null; + enableAltsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + public com.google.protobuf.BoolValue.Builder getEnableAltsBuilder() { + + onChanged(); + return getEnableAltsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() { + if (enableAltsBuilder_ != null) { + return enableAltsBuilder_.getMessageOrBuilder(); + } else { + return enableAlts_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableAlts_; + } + } + /** + * + * + *
+     * enable_alts controls whether the alts handshaker should be enabled or not
+     * for direct-path.
+     * Requires Workload Identity
+     * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+     * must be non-empty).
+     * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + getEnableAltsFieldBuilder() { + if (enableAltsBuilder_ == null) { + enableAltsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder>( + getEnableAlts(), getParentForChildren(), isClean()); + enableAlts_ = null; + } + return enableAltsBuilder_; + } + + @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.container.v1beta1.WorkloadALTSConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadALTSConfig) + private static final com.google.container.v1beta1.WorkloadALTSConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadALTSConfig(); + } + + public static com.google.container.v1beta1.WorkloadALTSConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadALTSConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkloadALTSConfig(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.container.v1beta1.WorkloadALTSConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java new file mode 100644 index 000000000000..82f752254d6f --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java @@ -0,0 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface WorkloadALTSConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadALTSConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * enable_alts controls whether the alts handshaker should be enabled or not
+   * for direct-path.
+   * Requires Workload Identity
+   * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+   * must be non-empty).
+   * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + * + * @return Whether the enableAlts field is set. + */ + boolean hasEnableAlts(); + /** + * + * + *
+   * enable_alts controls whether the alts handshaker should be enabled or not
+   * for direct-path.
+   * Requires Workload Identity
+   * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+   * must be non-empty).
+   * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + * + * @return The enableAlts. + */ + com.google.protobuf.BoolValue getEnableAlts(); + /** + * + * + *
+   * enable_alts controls whether the alts handshaker should be enabled or not
+   * for direct-path.
+   * Requires Workload Identity
+   * ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool]
+   * must be non-empty).
+   * 
+ * + * .google.protobuf.BoolValue enable_alts = 1; + */ + com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java new file mode 100644 index 000000000000..8ddebca18c0a --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java @@ -0,0 +1,865 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + * + * + *
+ * WorkloadConfig defines the flags to enable or disable the
+ * workload configurations for the cluster.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.WorkloadConfig} + */ +public final class WorkloadConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadConfig) + WorkloadConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkloadConfig.newBuilder() to construct. + private WorkloadConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WorkloadConfig() { + auditMode_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WorkloadConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WorkloadConfig( + 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 8: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000001; + auditMode_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.WorkloadConfig.class, + com.google.container.v1beta1.WorkloadConfig.Builder.class); + } + + /** + * + * + *
+   * Mode defines how to audit the workload configs.
+   * 
+ * + * Protobuf enum {@code google.container.v1beta1.WorkloadConfig.Mode} + */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value meaning that no mode has been specified.
+     * 
+ * + * MODE_UNSPECIFIED = 0; + */ + MODE_UNSPECIFIED(0), + /** + * + * + *
+     * This disables Workload Configuration auditing on the cluster,
+     * meaning that nothing is surfaced.
+     * 
+ * + * DISABLED = 1; + */ + DISABLED(1), + /** + * + * + *
+     * Applies the default set of policy auditing to a cluster's workloads.
+     * 
+ * + * BASIC = 4; + */ + BASIC(4), + /** + * + * + *
+     * Surfaces configurations that are not in line with the
+     * Pod Security Standard Baseline policy.
+     * 
+ * + * BASELINE = 2 [deprecated = true]; + */ + @java.lang.Deprecated + BASELINE(2), + /** + * + * + *
+     * Surfaces configurations that are not in line with the
+     * Pod Security Standard Restricted policy.
+     * 
+ * + * RESTRICTED = 3 [deprecated = true]; + */ + @java.lang.Deprecated + RESTRICTED(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value meaning that no mode has been specified.
+     * 
+ * + * MODE_UNSPECIFIED = 0; + */ + public static final int MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * This disables Workload Configuration auditing on the cluster,
+     * meaning that nothing is surfaced.
+     * 
+ * + * DISABLED = 1; + */ + public static final int DISABLED_VALUE = 1; + /** + * + * + *
+     * Applies the default set of policy auditing to a cluster's workloads.
+     * 
+ * + * BASIC = 4; + */ + public static final int BASIC_VALUE = 4; + /** + * + * + *
+     * Surfaces configurations that are not in line with the
+     * Pod Security Standard Baseline policy.
+     * 
+ * + * BASELINE = 2 [deprecated = true]; + */ + @java.lang.Deprecated public static final int BASELINE_VALUE = 2; + /** + * + * + *
+     * Surfaces configurations that are not in line with the
+     * Pod Security Standard Restricted policy.
+     * 
+ * + * RESTRICTED = 3 [deprecated = true]; + */ + @java.lang.Deprecated public static final int RESTRICTED_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Mode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Mode forNumber(int value) { + switch (value) { + case 0: + return MODE_UNSPECIFIED; + case 1: + return DISABLED; + case 4: + return BASIC; + case 2: + return BASELINE; + case 3: + return RESTRICTED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.WorkloadConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final Mode[] VALUES = values(); + + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Mode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.container.v1beta1.WorkloadConfig.Mode) + } + + private int bitField0_; + public static final int AUDIT_MODE_FIELD_NUMBER = 1; + private int auditMode_; + /** + * + * + *
+   * Sets which mode of auditing should be used for the cluster's workloads.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return Whether the auditMode field is set. + */ + @java.lang.Override + public boolean hasAuditMode() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Sets which mode of auditing should be used for the cluster's workloads.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return The enum numeric value on the wire for auditMode. + */ + @java.lang.Override + public int getAuditModeValue() { + return auditMode_; + } + /** + * + * + *
+   * Sets which mode of auditing should be used for the cluster's workloads.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return The auditMode. + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.WorkloadConfig.Mode result = + com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); + return result == null ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, auditMode_); + } + 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.computeEnumSize(1, auditMode_); + } + 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.container.v1beta1.WorkloadConfig)) { + return super.equals(obj); + } + com.google.container.v1beta1.WorkloadConfig other = + (com.google.container.v1beta1.WorkloadConfig) obj; + + if (hasAuditMode() != other.hasAuditMode()) return false; + if (hasAuditMode()) { + if (auditMode_ != other.auditMode_) 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 (hasAuditMode()) { + hash = (37 * hash) + AUDIT_MODE_FIELD_NUMBER; + hash = (53 * hash) + auditMode_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.WorkloadConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.WorkloadConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.WorkloadConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.WorkloadConfig 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.container.v1beta1.WorkloadConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.WorkloadConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.WorkloadConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.WorkloadConfig 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.container.v1beta1.WorkloadConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.WorkloadConfig 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.container.v1beta1.WorkloadConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.WorkloadConfig 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.container.v1beta1.WorkloadConfig 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; + } + /** + * + * + *
+   * WorkloadConfig defines the flags to enable or disable the
+   * workload configurations for the cluster.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.WorkloadConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadConfig) + com.google.container.v1beta1.WorkloadConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.WorkloadConfig.class, + com.google.container.v1beta1.WorkloadConfig.Builder.class); + } + + // Construct using com.google.container.v1beta1.WorkloadConfig.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(); + auditMode_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadConfig_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.WorkloadConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig build() { + com.google.container.v1beta1.WorkloadConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig buildPartial() { + com.google.container.v1beta1.WorkloadConfig result = + new com.google.container.v1beta1.WorkloadConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.auditMode_ = auditMode_; + 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.container.v1beta1.WorkloadConfig) { + return mergeFrom((com.google.container.v1beta1.WorkloadConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.WorkloadConfig other) { + if (other == com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()) return this; + if (other.hasAuditMode()) { + setAuditMode(other.getAuditMode()); + } + 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.container.v1beta1.WorkloadConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.container.v1beta1.WorkloadConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int auditMode_ = 0; + /** + * + * + *
+     * Sets which mode of auditing should be used for the cluster's workloads.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return Whether the auditMode field is set. + */ + @java.lang.Override + public boolean hasAuditMode() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Sets which mode of auditing should be used for the cluster's workloads.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return The enum numeric value on the wire for auditMode. + */ + @java.lang.Override + public int getAuditModeValue() { + return auditMode_; + } + /** + * + * + *
+     * Sets which mode of auditing should be used for the cluster's workloads.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @param value The enum numeric value on the wire for auditMode to set. + * @return This builder for chaining. + */ + public Builder setAuditModeValue(int value) { + bitField0_ |= 0x00000001; + auditMode_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Sets which mode of auditing should be used for the cluster's workloads.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return The auditMode. + */ + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { + @SuppressWarnings("deprecation") + com.google.container.v1beta1.WorkloadConfig.Mode result = + com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); + return result == null + ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Sets which mode of auditing should be used for the cluster's workloads.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @param value The auditMode to set. + * @return This builder for chaining. + */ + public Builder setAuditMode(com.google.container.v1beta1.WorkloadConfig.Mode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + auditMode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Sets which mode of auditing should be used for the cluster's workloads.
+     * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return This builder for chaining. + */ + public Builder clearAuditMode() { + bitField0_ = (bitField0_ & ~0x00000001); + auditMode_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadConfig) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadConfig) + private static final com.google.container.v1beta1.WorkloadConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadConfig(); + } + + public static com.google.container.v1beta1.WorkloadConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkloadConfig(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.container.v1beta1.WorkloadConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java new file mode 100644 index 000000000000..2814009d86c3 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface WorkloadConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Sets which mode of auditing should be used for the cluster's workloads.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return Whether the auditMode field is set. + */ + boolean hasAuditMode(); + /** + * + * + *
+   * Sets which mode of auditing should be used for the cluster's workloads.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return The enum numeric value on the wire for auditMode. + */ + int getAuditModeValue(); + /** + * + * + *
+   * Sets which mode of auditing should be used for the cluster's workloads.
+   * 
+ * + * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * + * @return The auditMode. + */ + com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index f89819b193ae..d954dd932b65 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java @@ -142,7 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return The identityNamespace. */ @java.lang.Override @@ -168,7 +168,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return The bytes for identityNamespace. */ @java.lang.Override @@ -645,7 +645,7 @@ public Builder mergeFrom( * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return The identityNamespace. */ @java.lang.Deprecated @@ -670,7 +670,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return The bytes for identityNamespace. */ @java.lang.Deprecated @@ -695,7 +695,7 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @param value The identityNamespace to set. * @return This builder for chaining. */ @@ -719,7 +719,7 @@ public Builder setIdentityNamespace(java.lang.String value) { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return This builder for chaining. */ @java.lang.Deprecated @@ -739,7 +739,7 @@ public Builder clearIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index 16b1ffe44460..74029aea3096 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return The identityNamespace. */ @java.lang.Deprecated @@ -48,7 +48,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4169 + * See google/container/v1beta1/cluster_service.proto;l=4562 * @return The bytes for identityNamespace. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index 15f2585f2c27..6bd63146cfe4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java @@ -507,7 +507,7 @@ private Mode(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -528,7 +528,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The nodeMetadata. */ @java.lang.Override @@ -935,7 +935,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -956,7 +956,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ @@ -980,7 +980,7 @@ public Builder setNodeMetadataValue(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The nodeMetadata. */ @java.lang.Override @@ -1006,7 +1006,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeM * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @param value The nodeMetadata to set. * @return This builder for chaining. */ @@ -1034,7 +1034,7 @@ public Builder setNodeMetadata( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index 2c97955578e1..c85bd2025049 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java @@ -36,7 +36,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3792 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The nodeMetadata. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto index 32e851a17de8..7987eadf0a89 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -334,6 +335,15 @@ service ClusterManager { option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; } + // CompleteNodePoolUpgrade will signal an on-going node pool upgrade to + // complete. + rpc CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:completeUpgrade" + body: "*" + }; + } + // Rolls back a previously Aborted or Failed NodePool upgrade. // This makes no changes if the last upgrade successfully completed. rpc RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest) returns (Operation) { @@ -472,11 +482,28 @@ service ClusterManager { // Parameters that can be configured on Linux nodes. message LinuxNodeConfig { + // Possible cgroup modes that can be used. + enum CgroupMode { + // CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. + // The default for the GKE node OS image will be used. + CGROUP_MODE_UNSPECIFIED = 0; + + // CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on + // the node image. + CGROUP_MODE_V1 = 1; + + // CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on + // the node image. + CGROUP_MODE_V2 = 2; + } + // The Linux kernel parameters to be applied to the nodes and all pods running // on the nodes. // // The following parameters are supported. // + // net.core.busy_poll + // net.core.busy_read // net.core.netdev_max_backlog // net.core.rmem_max // net.core.wmem_default @@ -487,6 +514,9 @@ message LinuxNodeConfig { // net.ipv4.tcp_wmem // net.ipv4.tcp_tw_reuse map sysctls = 1; + + // cgroup_mode specifies the cgroup mode to be used on the node. + CgroupMode cgroup_mode = 2; } // Node kubelet configs. @@ -522,9 +552,21 @@ message NodeKubeletConfig { // Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". // The value must be a positive duration. string cpu_cfs_quota_period = 3; + + // Set the Pod PID limits. See + // https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits + // + // Controls the maximum number of processes allowed to run in a pod. The value + // must be greater than or equal to 1024 and less than 4194304. + int64 pod_pids_limit = 4; } // Parameters that describe the nodes in a cluster. +// +// GKE Autopilot clusters do not +// recognize parameters in `NodeConfig`. Use +// [AutoprovisioningNodePoolDefaults][google.container.v1beta1.AutoprovisioningNodePoolDefaults] +// instead. message NodeConfig { // The name of a Google Compute Engine [machine // type](https://cloud.google.com/compute/docs/machine-types). @@ -567,6 +609,7 @@ message NodeConfig { // in length. These are reflected as part of a URL in the metadata server. // Additionally, to avoid ambiguity, keys must not conflict with any other // metadata keys for the project or be one of the reserved keys: + // // - "cluster-location" // - "cluster-name" // - "cluster-uid" @@ -705,6 +748,10 @@ message NodeConfig { // Spot flag for enabling Spot VM, which is a rebrand of // the existing preemptible flag. bool spot = 32; + + // Confidential nodes config. + // All the nodes in the node pool will be Confidential VM once enabled. + ConfidentialNodes confidential_nodes = 35; } // Specifies options for controlling advanced machine features. @@ -717,6 +764,25 @@ message AdvancedMachineFeatures { // Parameters for node pool-level network config. message NodeNetworkConfig { + // Configuration of all network bandwidth tiers + message NetworkPerformanceConfig { + // Node network tier + enum Tier { + // Default value + TIER_UNSPECIFIED = 0; + + // Higher bandwidth, actual values based on VM size. + TIER_1 = 1; + } + + // Specifies the total network bandwidth tier for the NodePool. + optional Tier total_egress_bandwidth_tier = 1; + + // Specifies the network bandwidth tier for the NodePool for traffic to + // external/public IP addresses. + optional Tier external_ip_egress_bandwidth_tier = 2; + } + // Input only. Whether to create a new range for pod IPs in this node pool. // Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they // are not specified. @@ -757,6 +823,9 @@ message NodeNetworkConfig { // // This field cannot be changed after the node pool has been created. string pod_ipv4_cidr_block = 6; + + // Network bandwidth tier configuration. + optional NetworkPerformanceConfig network_performance_config = 11; } // A set of Shielded Instance options. @@ -1193,6 +1262,30 @@ message NetworkPolicy { // Configuration for controlling how IPs are allocated in the cluster. message IPAllocationPolicy { + // IP stack type + enum StackType { + // By default, the clusters will be IPV4 only + STACK_TYPE_UNSPECIFIED = 0; + + // The value used if the cluster is a IPV4 only + IPV4 = 1; + + // The value used if the cluster is a dual stack cluster + IPV4_IPV6 = 2; + } + + // IPv6 access type + enum IPv6AccessType { + // Default value, will be defaulted as type external. + IPV6_ACCESS_TYPE_UNSPECIFIED = 0; + + // Access type internal (all v6 addresses are internal IPs) + INTERNAL = 1; + + // Access type external (all v6 addresses are external IPs) + EXTERNAL = 2; + } + // Whether alias IPs will be used for pod IPs in the cluster. // This is used in conjunction with use_routes. It cannot // be true if use_routes is true. If both use_ip_aliases and use_routes are @@ -1323,13 +1416,44 @@ message IPAllocationPolicy { // use_ip_aliases is true. If both use_ip_aliases and use_routes are false, // then the server picks the default IP allocation mode bool use_routes = 15; + + // IP stack type + StackType stack_type = 16; + + // The ipv6 access type (internal or external) when create_subnetwork is true + IPv6AccessType ipv6_access_type = 17; + + // Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods. + string subnet_ipv6_cidr_block = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The services IPv6 CIDR block for the cluster. + string services_ipv6_cidr_block = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration for Binary Authorization. message BinaryAuthorization { + // Binary Authorization mode of operation. + enum EvaluationMode { + // Default value + EVALUATION_MODE_UNSPECIFIED = 0; + + // Disable BinaryAuthorization + DISABLED = 1; + + // Enforce Kubernetes admission requests with BinaryAuthorization using the + // project's singleton policy. This is equivalent to setting the + // enabled boolean to true. + PROJECT_SINGLETON_POLICY_ENFORCE = 2; + } + // Enable Binary Authorization for this cluster. If enabled, all container - // images will be validated by Google Binauthz. + // images will be validated by Binary Authorization. bool enabled = 1; + + // Mode of operation for binauthz policy evaluation. Currently the only + // options are equivalent to enable/disable. If unspecified, defaults to + // DISABLED. + EvaluationMode evaluation_mode = 2; } // Configuration for the PodSecurityPolicy feature. @@ -1604,6 +1728,12 @@ message Cluster { // pods. MeshCertificates mesh_certificates = 67; + // Configuration for direct-path (via ALTS) with workload identity. + WorkloadALTSConfig workload_alts_config = 53; + + // Configuration for the fine-grained cost management feature. + CostManagementConfig cost_management_config = 45; + // Telemetry integration for the cluster. ClusterTelemetry cluster_telemetry = 46; @@ -1613,7 +1743,8 @@ message Cluster { // Notification configuration of the cluster. NotificationConfig notification_config = 49; - // Configuration of Confidential Nodes + // Configuration of Confidential Nodes. + // All the nodes in the cluster will be Confidential VM once enabled. ConfidentialNodes confidential_nodes = 50; // Configuration for Identity Service component. @@ -1736,6 +1867,49 @@ message Cluster { // Monitoring configuration for the cluster. MonitoringConfig monitoring_config = 133; + + // Node pool configs that apply to all auto-provisioned node pools + // in autopilot clusters and node auto-provisioning enabled clusters. + NodePoolAutoConfig node_pool_auto_config = 136; + + // Enable/Disable Protect API features for the cluster. + optional ProtectConfig protect_config = 137; +} + +// WorkloadConfig defines the flags to enable or disable the +// workload configurations for the cluster. +message WorkloadConfig { + // Mode defines how to audit the workload configs. + enum Mode { + // Default value meaning that no mode has been specified. + MODE_UNSPECIFIED = 0; + + // This disables Workload Configuration auditing on the cluster, + // meaning that nothing is surfaced. + DISABLED = 1; + + // Applies the default set of policy auditing to a cluster's workloads. + BASIC = 4; + + // Surfaces configurations that are not in line with the + // Pod Security Standard Baseline policy. + BASELINE = 2 [deprecated = true]; + + // Surfaces configurations that are not in line with the + // Pod Security Standard Restricted policy. + RESTRICTED = 3 [deprecated = true]; + } + + // Sets which mode of auditing should be used for the cluster's workloads. + optional Mode audit_mode = 1; +} + +// ProtectConfig defines the flags needed to enable/disable features for the +// Protect API. +message ProtectConfig { + // WorkloadConfig defines which actions are enabled for a cluster's workload + // configurations. + optional WorkloadConfig workload_config = 1; } // Subset of Nodepool message that has defaults. @@ -1746,10 +1920,20 @@ message NodePoolDefaults { // Subset of NodeConfig message that has defaults. message NodeConfigDefaults { - // GCFS (Google Container File System, a.k.a Riptide) options. + // GCFS (Google Container File System, a.k.a. Riptide) options. GcfsConfig gcfs_config = 1; } +// node pool configs that apply to all auto-provisioned node pools +// in autopilot clusters and node auto-provisioning enabled clusters +message NodePoolAutoConfig { + // The list of instance tags applied to all nodes. Tags are used to identify + // valid sources or targets for network firewalls and are specified by + // the client during cluster creation. Each tag within the list + // must comply with RFC1035. + NetworkTags network_tags = 1; +} + // ClusterUpdate describes an update to the cluster. Exactly one update can // be applied to a cluster with each request, so at most one field can be // provided. @@ -1900,9 +2084,15 @@ message ClusterUpdate { // pods. MeshCertificates desired_mesh_certificates = 67; + // Configuration for direct-path (via ALTS) with workload identity. + WorkloadALTSConfig desired_workload_alts_config = 62; + // Configuration for Shielded Nodes. ShieldedNodes desired_shielded_nodes = 48; + // The desired configuration for the fine-grained cost management feature. + CostManagementConfig desired_cost_management_config = 49; + // Configuration for master components. Master desired_master = 52; @@ -1925,6 +2115,13 @@ message ClusterUpdate { // The desired Identity Service component configuration. IdentityServiceConfig desired_identity_service_config = 66; + + // The desired network tags that apply to all auto-provisioned node pools + // in autopilot clusters and node auto-provisioning enabled clusters. + NetworkTags desired_node_pool_auto_config_network_tags = 110; + + // Enable/Disable Protect API features for the cluster. + optional ProtectConfig desired_protect_config = 112; } // This operation resource represents operations that may have happened or are @@ -2105,7 +2302,7 @@ message OperationProgress { // CreateClusterRequest creates a cluster. message CreateClusterRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [ deprecated = true, @@ -2133,7 +2330,7 @@ message CreateClusterRequest { // GetClusterRequest gets the settings of a cluster. message GetClusterRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2164,7 +2361,7 @@ message GetClusterRequest { // UpdateClusterRequest updates the settings of a cluster. message UpdateClusterRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2198,7 +2395,7 @@ message UpdateClusterRequest { // SetNodePoolVersionRequest updates the version of a node pool. message UpdateNodePoolRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2283,9 +2480,16 @@ message UpdateNodePoolRequest { // Node kubelet configs. NodeKubeletConfig kubelet_config = 20; + // Node network config. + NodeNetworkConfig node_network_config = 21; + // GCFS config. GcfsConfig gcfs_config = 22; + // Confidential nodes config. + // All the nodes in the node pool will be Confidential VM once enabled. + ConfidentialNodes confidential_nodes = 23; + // Enable or disable gvnic on the node pool. VirtualNIC gvnic = 29; } @@ -2293,7 +2497,7 @@ message UpdateNodePoolRequest { // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. message SetNodePoolAutoscalingRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2335,7 +2539,7 @@ message SetNodePoolAutoscalingRequest { // SetLoggingServiceRequest sets the logging service of a cluster. message SetLoggingServiceRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2379,7 +2583,7 @@ message SetLoggingServiceRequest { // SetMonitoringServiceRequest sets the monitoring service of a cluster. message SetMonitoringServiceRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2423,7 +2627,7 @@ message SetMonitoringServiceRequest { // SetAddonsRequest sets the addons associated with the cluster. message SetAddonsConfigRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2458,7 +2662,7 @@ message SetAddonsConfigRequest { // SetLocationsRequest sets the locations of the cluster. message SetLocationsRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2498,7 +2702,7 @@ message SetLocationsRequest { // UpdateMasterRequest updates the master of the cluster. message UpdateMasterRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2559,7 +2763,7 @@ message SetMasterAuthRequest { } // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2596,7 +2800,7 @@ message SetMasterAuthRequest { // DeleteClusterRequest deletes a cluster. message DeleteClusterRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2627,7 +2831,7 @@ message DeleteClusterRequest { // ListClustersRequest lists clusters. message ListClustersRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [ deprecated = true, @@ -2663,7 +2867,7 @@ message ListClustersResponse { // GetOperationRequest gets a single operation. message GetOperationRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2694,7 +2898,7 @@ message GetOperationRequest { // ListOperationsRequest lists operations. message ListOperationsRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [ deprecated = true, @@ -2719,7 +2923,7 @@ message ListOperationsRequest { // CancelOperationRequest cancels a single operation. message CancelOperationRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2760,7 +2964,7 @@ message ListOperationsResponse { // Gets the current Kubernetes Engine service configuration. message GetServerConfigRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2854,7 +3058,7 @@ message WindowsVersions { // CreateNodePoolRequest creates a node pool for a cluster. message CreateNodePoolRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [ deprecated = true, @@ -2880,7 +3084,7 @@ message CreateNodePoolRequest { // Required. The node pool to create. NodePool node_pool = 4 [(google.api.field_behavior) = REQUIRED]; - // The parent (project, location, cluster id) where the node pool will be + // The parent (project, location, cluster name) where the node pool will be // created. Specified in the format // `projects/*/locations/*/clusters/*`. string parent = 6; @@ -2889,7 +3093,7 @@ message CreateNodePoolRequest { // DeleteNodePoolRequest deletes a node pool for a cluster. message DeleteNodePoolRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2928,7 +3132,7 @@ message DeleteNodePoolRequest { // ListNodePoolsRequest lists the node pool(s) for a cluster. message ListNodePoolsRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the parent field. string project_id = 1 [ deprecated = true, @@ -2951,7 +3155,7 @@ message ListNodePoolsRequest { (google.api.field_behavior) = REQUIRED ]; - // The parent (project, location, cluster id) where the node pools will be + // The parent (project, location, cluster name) where the node pools will be // listed. Specified in the format `projects/*/locations/*/clusters/*`. string parent = 5; } @@ -2959,7 +3163,7 @@ message ListNodePoolsRequest { // GetNodePoolRequest retrieves a node pool for a cluster. message GetNodePoolRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -2995,6 +3199,35 @@ message GetNodePoolRequest { string name = 6; } +// Settings for blue-green upgrade. +message BlueGreenSettings { + // Standard rollout policy is the default policy for blue-green. + message StandardRolloutPolicy { + // Blue pool size to drain in a batch. + oneof update_batch_size { + // Percentage of the bool pool nodes to drain in a batch. + // The range of this field should be (0.0, 1.0]. + float batch_percentage = 1; + + // Number of blue nodes to drain in a batch. + int32 batch_node_count = 2; + } + + // Soak time after each batch gets drained. Default to zero. + optional google.protobuf.Duration batch_soak_duration = 3; + } + + // The rollout policy controls the general rollout progress of blue-green. + oneof rollout_policy { + // Standard policy for the blue-green upgrade. + StandardRolloutPolicy standard_rollout_policy = 1; + } + + // Time needed after draining entire blue pool. After this period, blue pool + // will be cleaned up. + optional google.protobuf.Duration node_pool_soak_duration = 2; +} + // NodePool contains the name and configuration for a cluster's node pool. // Node pools are a set of nodes (i.e. VM's), with a common configuration and // specification, under the control of the cluster master. They may have a set @@ -3025,6 +3258,28 @@ message GetNodePoolRequest { // down 3 old (not yet upgraded) nodes at the same time. This ensures that // there are always at least 4 nodes available. message NodePool { + // These upgrade settings configure the upgrade strategy for the node pool. + // Use strategy to switch between the strategies applied to the node pool. + // + // If the strategy is SURGE, use max_surge and max_unavailable to control + // the level of parallelism and the level of disruption caused by upgrade. + // 1. maxSurge controls the number of additional nodes that can be added to + // the node pool temporarily for the time of the upgrade to increase the + // number of available nodes. + // 2. maxUnavailable controls the number of nodes that can be simultaneously + // unavailable. + // 3. (maxUnavailable + maxSurge) determines the level of parallelism (how + // many nodes are being upgraded at the same time). + // + // If the strategy is BLUE_GREEN, use blue_green_settings to configure the + // blue-green upgrade related settings. + // 1. standard_rollout_policy is the default policy. The policy is used to + // control the way blue pool gets drained. The draining is executed in the + // batch mode. The batch size could be specified as either percentage of the + // node pool size or the number of nodes. batch_soak_duration is the soak + // time after each batch gets drained. + // 2. node_pool_soak_duration is the soak time after all blue nodes are + // drained. After this period, the blue pool nodes will be deleted. message UpgradeSettings { // The maximum number of nodes that can be created beyond the current size // of the node pool during the upgrade process. @@ -3034,6 +3289,69 @@ message NodePool { // the upgrade process. A node is considered available if its status is // Ready. int32 max_unavailable = 2; + + // Update strategy of the node pool. + optional NodePoolUpdateStrategy strategy = 3; + + // Settings for blue-green upgrade strategy. + optional BlueGreenSettings blue_green_settings = 4; + } + + // UpdateInfo contains resource (instance groups, etc), status and other + // intermediate information relevant to a node pool upgrade. + message UpdateInfo { + // Information relevant to blue-green upgrade. + message BlueGreenInfo { + // Phase represents the different stages blue-green upgrade is running in. + enum Phase { + // Unspecified phase. + PHASE_UNSPECIFIED = 0; + + // blue-green upgrade has been initiated. + UPDATE_STARTED = 1; + + // Start creating green pool nodes. + CREATING_GREEN_POOL = 2; + + // Start cordoning blue pool nodes. + CORDONING_BLUE_POOL = 3; + + // Start draining blue pool nodes. + DRAINING_BLUE_POOL = 4; + + // Start soaking time after draining entire blue pool. + NODE_POOL_SOAKING = 5; + + // Start deleting blue nodes. + DELETING_BLUE_POOL = 6; + + // Rollback has been initiated. + ROLLBACK_STARTED = 7; + } + + // Current blue-green upgrade phase. + Phase phase = 1; + + // The resource URLs of the [managed instance groups] + // (/compute/docs/instance-groups/creating-groups-of-managed-instances) + // associated with blue pool. + repeated string blue_instance_group_urls = 2; + + // The resource URLs of the [managed instance groups] + // (/compute/docs/instance-groups/creating-groups-of-managed-instances) + // associated with green pool. + repeated string green_instance_group_urls = 3; + + // Time to start deleting blue pool to complete blue-green upgrade, + // in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + string blue_pool_deletion_start_time = 4; + + // Version of green pool. + string green_pool_version = 5; + } + + // Information of a blue-green upgrade. + BlueGreenInfo blue_green_info = 1; } // The current status of the node pool instance. @@ -3121,6 +3439,8 @@ message NodePool { // [Output only] The resource URLs of the [managed instance // groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) // associated with this node pool. + // During the node pool blue-green upgrade operation, the URLs contain both + // blue and green resources. repeated string instance_group_urls = 102; // [Output only] The status of the nodes in this pool instance. @@ -3153,6 +3473,10 @@ message NodePool { // Specifies the node placement policy. PlacementPolicy placement_policy = 108; + + // Output only. [Output only] Update info contains relevant information during a node + // pool update. + UpdateInfo update_info = 109 [(google.api.field_behavior) = OUTPUT_ONLY]; } // NodeManagement defines the set of node management services turned on for the @@ -3308,7 +3632,7 @@ message DailyMaintenanceWindow { // pool. message SetNodePoolManagementRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3350,7 +3674,7 @@ message SetNodePoolManagementRequest { // SetNodePoolSizeRequest sets the size of a node pool. message SetNodePoolSizeRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3389,12 +3713,21 @@ message SetNodePoolSizeRequest { string name = 7; } +// CompleteNodePoolUpgradeRequest sets the name of target node pool to complete +// upgrade. +message CompleteNodePoolUpgradeRequest { + // The name (project, location, cluster, node pool id) of the node pool to + // complete upgrade. + // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + string name = 1; +} + // RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed // NodePool upgrade. This will be an no-op if the last upgrade successfully // completed. message RollbackNodePoolUpgradeRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3428,6 +3761,10 @@ message RollbackNodePoolUpgradeRequest { // rollback upgrade. // Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. string name = 6; + + // Option for rollback to ignore the PodDisruptionBudget. + // Default value is false. + bool respect_pdb = 7; } // ListNodePoolsResponse is the result of ListNodePoolsRequest. @@ -3504,16 +3841,18 @@ message AutoprovisioningNodePoolDefaults { // NodeManagement configuration for this NodePool. NodeManagement management = 4; - // Minimum CPU platform to be used by this instance. The instance may be - // scheduled on the specified or newer CPU platform. Applicable values are the - // friendly names of CPU platforms, such as - // `minCpuPlatform: "Intel Haswell"` or - // `minCpuPlatform: "Intel Sandy Bridge"`. For more + // Deprecated. Minimum CPU platform to be used for NAP created node pools. + // The instance may be scheduled on the specified or newer CPU platform. + // Applicable values are the friendly names of CPU platforms, such as + // minCpuPlatform: Intel Haswell or + // minCpuPlatform: Intel Sandy Bridge. For more // information, read [how to specify min CPU // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + // This field is deprecated, min_cpu_platform should be specified using + // cloud.google.com/requested-min-cpu-platform label selector on the pod. // To unset the min cpu platform field pass "automatic" // as field value. - string min_cpu_platform = 5; + string min_cpu_platform = 5 [deprecated = true]; // Size of the disk attached to each node, specified in GB. // The smallest allowed disk size is 10GB. @@ -3559,6 +3898,20 @@ message ResourceLimit { // NodePoolAutoscaling contains information required by cluster autoscaler to // adjust the size of the node pool to the current cluster usage. message NodePoolAutoscaling { + // Location policy specifies how zones are picked when scaling up the + // nodepool. + enum LocationPolicy { + // Not set. + LOCATION_POLICY_UNSPECIFIED = 0; + + // BALANCED is a best effort policy that aims to balance the sizes of + // different zones. + BALANCED = 1; + + // ANY policy picks zones that have the highest capacity available. + ANY = 2; + } + // Is autoscaling enabled for this node pool. bool enabled = 1; @@ -3572,6 +3925,21 @@ message NodePoolAutoscaling { // Can this node pool be deleted automatically. bool autoprovisioned = 4; + + // Location policy used when scaling up a nodepool. + LocationPolicy location_policy = 5; + + // Minimum number of nodes in the node pool. Must be greater than 1 less than + // total_max_node_count. + // The total_*_node_count fields are mutually exclusive with the *_node_count + // fields. + int32 total_min_node_count = 6; + + // Maximum number of nodes in the node pool. Must be greater than + // total_min_node_count. There has to be enough quota to scale up the cluster. + // The total_*_node_count fields are mutually exclusive with the *_node_count + // fields. + int32 total_max_node_count = 7; } // SetLabelsRequest sets the Google Cloud Platform labels on a Google Container @@ -3579,7 +3947,7 @@ message NodePoolAutoscaling { // resources used by that cluster message SetLabelsRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3613,7 +3981,7 @@ message SetLabelsRequest { // resource to get the latest fingerprint. string label_fingerprint = 5 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set labels. + // The name (project, location, cluster name) of the cluster to set labels. // Specified in the format `projects/*/locations/*/clusters/*`. string name = 7; } @@ -3622,7 +3990,7 @@ message SetLabelsRequest { // a cluster. message SetLegacyAbacRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3648,8 +4016,8 @@ message SetLegacyAbacRequest { // Required. Whether ABAC authorization will be enabled in the cluster. bool enabled = 4 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set legacy abac. - // Specified in the format `projects/*/locations/*/clusters/*`. + // The name (project, location, cluster name) of the cluster to set legacy + // abac. Specified in the format `projects/*/locations/*/clusters/*`. string name = 6; } @@ -3657,7 +4025,7 @@ message SetLegacyAbacRequest { // a node upgrade on each node pool to point to the new IP. message StartIPRotationRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3680,7 +4048,7 @@ message StartIPRotationRequest { (google.api.field_behavior) = REQUIRED ]; - // The name (project, location, cluster id) of the cluster to start IP + // The name (project, location, cluster name) of the cluster to start IP // rotation. Specified in the format `projects/*/locations/*/clusters/*`. string name = 6; @@ -3691,7 +4059,7 @@ message StartIPRotationRequest { // CompleteIPRotationRequest moves the cluster master back into single-IP mode. message CompleteIPRotationRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3714,7 +4082,7 @@ message CompleteIPRotationRequest { (google.api.field_behavior) = REQUIRED ]; - // The name (project, location, cluster id) of the cluster to complete IP + // The name (project, location, cluster name) of the cluster to complete IP // rotation. Specified in the format `projects/*/locations/*/clusters/*`. string name = 7; } @@ -3732,6 +4100,31 @@ message AcceleratorConfig { // NVIDIA [mig user // guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). string gpu_partition_size = 3; + + // The number of time-shared GPU resources to expose for each physical GPU. + int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; + + // The configuration for GPU sharing options. + optional GPUSharingConfig gpu_sharing_config = 5; +} + +// GPUSharingConfig represents the GPU sharing configuration for Hardware +// Accelerators. +message GPUSharingConfig { + // The type of GPU sharing strategy currently provided. + enum GPUSharingStrategy { + // Default value. + GPU_SHARING_STRATEGY_UNSPECIFIED = 0; + + // GPUs are time-shared between containers. + TIME_SHARING = 1; + } + + // The max number of containers that can share a physical GPU. + int64 max_shared_clients_per_gpu = 1; + + // The type of GPU sharing strategy to enable on the GPU node. + optional GPUSharingStrategy gpu_sharing_strategy = 2; } // ManagedPrometheusConfig defines the configuration for @@ -3800,7 +4193,7 @@ message WorkloadMetadataConfig { // SetNetworkPolicyRequest enables/disables network policy for a cluster. message SetNetworkPolicyRequest { // Required. Deprecated. The Google Developers Console [project ID or project - // number](https://developers.google.com/console/help/new/#projectnumber). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). // This field has been deprecated and replaced by the name field. string project_id = 1 [ deprecated = true, @@ -3826,7 +4219,7 @@ message SetNetworkPolicyRequest { // Required. Configuration options for the NetworkPolicy feature. NetworkPolicy network_policy = 4 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set networking + // The name (project, location, cluster name) of the cluster to set networking // policy. Specified in the format `projects/*/locations/*/clusters/*`. string name = 6; } @@ -3834,7 +4227,7 @@ message SetNetworkPolicyRequest { // SetMaintenancePolicyRequest sets the maintenance policy for a cluster. message SetMaintenancePolicyRequest { // Required. The Google Developers Console [project ID or project - // number](https://support.google.com/cloud/answer/6158840). + // number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). string project_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The name of the Google Compute Engine @@ -3849,8 +4242,8 @@ message SetMaintenancePolicyRequest { // clears the existing maintenance policy. MaintenancePolicy maintenance_policy = 4 [(google.api.field_behavior) = REQUIRED]; - // The name (project, location, cluster id) of the cluster to set maintenance - // policy. + // The name (project, location, cluster name) of the cluster to set + // maintenance policy. // Specified in the format `projects/*/locations/*/clusters/*`. string name = 5; } @@ -4176,6 +4569,17 @@ message WorkloadIdentityConfig { string identity_provider = 3; } +// Configuration for direct-path (via ALTS) with workload identity. +message WorkloadALTSConfig { + // enable_alts controls whether the alts handshaker should be enabled or not + // for direct-path. + // + // Requires Workload Identity + // ([workload_pool][google.container.v1beta1.WorkloadIdentityConfig.workload_pool] + // must be non-empty). + google.protobuf.BoolValue enable_alts = 1; +} + // Configuration for issuance of mTLS keys and certificates to Kubernetes pods. message WorkloadCertificates { // enable_certificates controls issuance of workload mTLS certificates. @@ -4304,7 +4708,7 @@ message GetOpenIDConfigResponse { // document returned by getOpenIDConfig. See the OpenID Connect // Discovery 1.0 specification for details. message GetJSONWebKeysRequest { - // The cluster (project, location, cluster id) to get keys for. Specified in + // The cluster (project, location, cluster name) to get keys for. Specified in // the format `projects/*/locations/*/clusters/*`. string parent = 1; } @@ -4380,6 +4784,12 @@ message ReleaseChannel { Channel channel = 1; } +// Configuration for fine-grained cost management feature. +message CostManagementConfig { + // Whether the feature is enabled or not. + bool enabled = 1; +} + // Configuration for Cloud TPU. message TpuConfig { // Whether Cloud TPU integration is enabled or not. @@ -4413,22 +4823,6 @@ message Master { } -// The datapath provider selects the implementation of the Kubernetes networking -// // model for service resolution and network policy enforcement. -enum DatapathProvider { - // Default value. - DATAPATH_PROVIDER_UNSPECIFIED = 0; - - // Use the IPTables implementation based on kube-proxy. - LEGACY_DATAPATH = 1; - - // Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE - // Dataplane V2 - // documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) - // for more. - ADVANCED_DATAPATH = 2; -} - // Autopilot is the configuration for Autopilot settings on the cluster. message Autopilot { // Enable Autopilot @@ -4486,8 +4880,7 @@ message NotificationConfig { // ConfidentialNodes is configuration for the confidential nodes feature, which // makes nodes run on confidential VMs. message ConfidentialNodes { - // Whether Confidential Nodes feature is enabled for all nodes in this - // cluster. + // Whether Confidential Nodes feature is enabled. bool enabled = 1; } @@ -4597,6 +4990,19 @@ message IdentityServiceConfig { bool enabled = 1; } +// Strategy used for node pool update. +enum NodePoolUpdateStrategy { + // Default value. + NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; + + // blue-green upgrade. + BLUE_GREEN = 2; + + // SURGE is the traditional way of upgrading a node pool. + // max_surge and max_unavailable determines the level of upgrade parallelism. + SURGE = 3; +} + // LoggingConfig is cluster logging configuration. message LoggingConfig { // Logging components configuration @@ -4641,11 +5047,36 @@ message MonitoringComponentConfig { // system components SYSTEM_COMPONENTS = 1; - // workloads - WORKLOADS = 2; + // Deprecated: Use Google Cloud Managed Service for Prometheus. + WORKLOADS = 2 [deprecated = true]; + + // kube-apiserver + APISERVER = 3; + + // kube-scheduler + SCHEDULER = 4; + + // kube-controller-manager + CONTROLLER_MANAGER = 5; } // Select components to collect metrics. An empty set would disable all // monitoring. repeated Component enable_components = 1; } + +// The datapath provider selects the implementation of the Kubernetes networking +// model for service resolution and network policy enforcement. +enum DatapathProvider { + // Default value. + DATAPATH_PROVIDER_UNSPECIFIED = 0; + + // Use the IPTables implementation based on kube-proxy. + LEGACY_DATAPATH = 1; + + // Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE + // Dataplane V2 + // documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) + // for more. + ADVANCED_DATAPATH = 2; +}