diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java index 538553da..3dc81b18 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java @@ -213,10 +213,10 @@ public ClusterManagerStub getStub() { * } * * - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. * This field has been deprecated and replaced by the parent field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -235,12 +235,30 @@ public final ListClustersResponse listClusters(String projectId, String zone) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   ListClustersRequest request = ListClustersRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .build();
+   *   String parent = "";
+   *   ListClustersResponse response = clusterManagerClient.listClusters(parent);
+   * }
+   * 
+ * + * @param parent The parent (project and location) where the clusters will be listed. Specified in + * the format 'projects/*/locations/*'. Location "-" matches all zones and all + * regions. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(String parent) { + ListClustersRequest request = ListClustersRequest.newBuilder().setParent(parent).build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists all clusters owned by a project in either the specified zone or all zones. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   ListClustersRequest request = ListClustersRequest.newBuilder().build();
    *   ListClustersResponse response = clusterManagerClient.listClusters(request);
    * }
    * 
@@ -260,12 +278,7 @@ public final ListClustersResponse listClusters(ListClustersRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   ListClustersRequest request = ListClustersRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .build();
+   *   ListClustersRequest request = ListClustersRequest.newBuilder().build();
    *   ApiFuture<ListClustersResponse> future = clusterManagerClient.listClustersCallable().futureCall(request);
    *   // Do something
    *   ListClustersResponse response = future.get();
@@ -291,13 +304,13 @@ public final UnaryCallable listCluste
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to retrieve. This field has been + * @param clusterId Deprecated. The name of the cluster to retrieve. This field has been * deprecated and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -319,14 +332,29 @@ public final Cluster getCluster(String projectId, String zone, String clusterId) * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   GetClusterRequest request = GetClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   String name = "";
+   *   Cluster response = clusterManagerClient.getCluster(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to retrieve. Specified in the + * format 'projects/*/locations/*/clusters/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(String name) { + GetClusterRequest request = GetClusterRequest.newBuilder().setName(name).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets the details of a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   GetClusterRequest request = GetClusterRequest.newBuilder().build();
    *   Cluster response = clusterManagerClient.getCluster(request);
    * }
    * 
@@ -346,14 +374,7 @@ public final Cluster getCluster(GetClusterRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   GetClusterRequest request = GetClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   GetClusterRequest request = GetClusterRequest.newBuilder().build();
    *   ApiFuture<Cluster> future = clusterManagerClient.getClusterCallable().futureCall(request);
    *   // Do something
    *   Cluster response = future.get();
@@ -390,10 +411,10 @@ public final UnaryCallable getClusterCallable() {
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the parent field. * @param cluster Required. A [cluster @@ -429,12 +450,45 @@ public final Operation createCluster(String projectId, String zone, Cluster clus * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
+   *   String parent = "";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Operation response = clusterManagerClient.createCluster(parent, cluster);
+   * }
+   * 
+ * + * @param parent The parent (project and location) where the cluster will be created. Specified in + * the format 'projects/*/locations/*'. + * @param cluster Required. A [cluster + * resource](/container-engine/reference/rest/v1/projects.zones.clusters) + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation createCluster(String parent, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder().setParent(parent).setCluster(cluster).build(); + return createCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Creates a cluster, consisting of the specified number and type of Google Compute Engine + * instances. + * + *

By default, the cluster is created in the project's [default + * network](/compute/docs/networks-and-firewalls#networks). + * + *

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes + * for each node to allow the containers on that node to communicate with all other instances in + * the cluster. + * + *

Finally, an entry is added to the project's global metadata indicating which CIDR range the + * cluster is using. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   Cluster cluster = Cluster.newBuilder().build();
    *   CreateClusterRequest request = CreateClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
    *     .setCluster(cluster)
    *     .build();
    *   Operation response = clusterManagerClient.createCluster(request);
@@ -467,12 +521,8 @@ public final Operation createCluster(CreateClusterRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
    *   Cluster cluster = Cluster.newBuilder().build();
    *   CreateClusterRequest request = CreateClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
    *     .setCluster(cluster)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.createClusterCallable().futureCall(request);
@@ -501,14 +551,14 @@ public final UnaryCallable createClusterCallabl
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to upgrade. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to upgrade. This field has been deprecated + * and replaced by the name field. * @param update Required. A description of the update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -532,14 +582,33 @@ public final Operation updateCluster( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   ClusterUpdate update = ClusterUpdate.newBuilder().build();
+   *   Operation response = clusterManagerClient.updateCluster(name, update);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to update. Specified in the + * format 'projects/*/locations/*/clusters/*'. + * @param update Required. A description of the update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation updateCluster(String name, ClusterUpdate update) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder().setName(name).setUpdate(update).build(); + return updateCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Updates the settings of a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   ClusterUpdate update = ClusterUpdate.newBuilder().build();
    *   UpdateClusterRequest request = UpdateClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setUpdate(update)
    *     .build();
    *   Operation response = clusterManagerClient.updateCluster(request);
@@ -561,14 +630,8 @@ public final Operation updateCluster(UpdateClusterRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   ClusterUpdate update = ClusterUpdate.newBuilder().build();
    *   UpdateClusterRequest request = UpdateClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setUpdate(update)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.updateClusterCallable().futureCall(request);
@@ -589,17 +652,9 @@ public final UnaryCallable updateClusterCallabl
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   String nodeVersion = "";
    *   String imageType = "";
    *   UpdateNodePoolRequest request = UpdateNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setNodeVersion(nodeVersion)
    *     .setImageType(imageType)
    *     .build();
@@ -622,17 +677,9 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   String nodeVersion = "";
    *   String imageType = "";
    *   UpdateNodePoolRequest request = UpdateNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setNodeVersion(nodeVersion)
    *     .setImageType(imageType)
    *     .build();
@@ -654,16 +701,8 @@ public final UnaryCallable updateNodePoolCalla
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build();
    *   SetNodePoolAutoscalingRequest request = SetNodePoolAutoscalingRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setAutoscaling(autoscaling)
    *     .build();
    *   Operation response = clusterManagerClient.setNodePoolAutoscaling(request);
@@ -685,16 +724,8 @@ public final Operation setNodePoolAutoscaling(SetNodePoolAutoscalingRequest requ
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build();
    *   SetNodePoolAutoscalingRequest request = SetNodePoolAutoscalingRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setAutoscaling(autoscaling)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setNodePoolAutoscalingCallable().futureCall(request);
@@ -724,14 +755,14 @@ public final Operation setNodePoolAutoscaling(SetNodePoolAutoscalingRequest requ
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to upgrade. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to upgrade. This field has been deprecated + * and replaced by the name field. * @param loggingService Required. The logging service the cluster should use to write metrics. * Currently available options: *

* "logging.googleapis.com" - the Google Cloud Logging service * "none" - no @@ -758,14 +789,39 @@ public final Operation setLoggingService( * *


    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   String loggingService = "";
+   *   Operation response = clusterManagerClient.setLoggingService(name, loggingService);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to set logging. Specified in + * the format 'projects/*/locations/*/clusters/*'. + * @param loggingService Required. The logging service the cluster should use to write metrics. + * Currently available options: + *

* "logging.googleapis.com" - the Google Cloud Logging service * "none" - no + * metrics will be exported from the cluster + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation setLoggingService(String name, String loggingService) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setName(name) + .setLoggingService(loggingService) + .build(); + return setLoggingService(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Sets the logging service for a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   String loggingService = "";
    *   SetLoggingServiceRequest request = SetLoggingServiceRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setLoggingService(loggingService)
    *     .build();
    *   Operation response = clusterManagerClient.setLoggingService(request);
@@ -787,14 +843,8 @@ public final Operation setLoggingService(SetLoggingServiceRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   String loggingService = "";
    *   SetLoggingServiceRequest request = SetLoggingServiceRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setLoggingService(loggingService)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setLoggingServiceCallable().futureCall(request);
@@ -823,14 +873,14 @@ public final UnaryCallable setLoggingServic
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to upgrade. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to upgrade. This field has been deprecated + * and replaced by the name field. * @param monitoringService Required. The monitoring service the cluster should use to write * metrics. Currently available options: *

* "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring service with @@ -858,14 +908,40 @@ public final Operation setMonitoringService( * *


    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   String monitoringService = "";
+   *   Operation response = clusterManagerClient.setMonitoringService(name, monitoringService);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to set monitoring. Specified + * in the format 'projects/*/locations/*/clusters/*'. + * @param monitoringService Required. The monitoring service the cluster should use to write + * metrics. Currently available options: + *

* "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring service with + * Kubernetes-native resource model * "monitoring.googleapis.com" - the Google Cloud + * Monitoring service * "none" - no metrics will be exported from the cluster + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation setMonitoringService(String name, String monitoringService) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setName(name) + .setMonitoringService(monitoringService) + .build(); + return setMonitoringService(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Sets the monitoring service for a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   String monitoringService = "";
    *   SetMonitoringServiceRequest request = SetMonitoringServiceRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setMonitoringService(monitoringService)
    *     .build();
    *   Operation response = clusterManagerClient.setMonitoringService(request);
@@ -887,14 +963,8 @@ public final Operation setMonitoringService(SetMonitoringServiceRequest request)
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   String monitoringService = "";
    *   SetMonitoringServiceRequest request = SetMonitoringServiceRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setMonitoringService(monitoringService)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setMonitoringServiceCallable().futureCall(request);
@@ -924,14 +994,14 @@ public final Operation setMonitoringService(SetMonitoringServiceRequest request)
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to upgrade. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to upgrade. This field has been deprecated + * and replaced by the name field. * @param addonsConfig Required. The desired configurations for the various addons available to * run in the cluster. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -956,25 +1026,45 @@ public final Operation setAddonsConfig( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
    *   AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
-   *   SetAddonsConfigRequest request = SetAddonsConfigRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setAddonsConfig(addonsConfig)
-   *     .build();
-   *   Operation response = clusterManagerClient.setAddonsConfig(request);
+   *   Operation response = clusterManagerClient.setAddonsConfig(name, addonsConfig);
    * }
    * 
* - * @param request The request object containing all of the parameters for the API call. + * @param name The name (project, location, cluster) of the cluster to set addons. Specified in + * the format 'projects/*/locations/*/clusters/*'. + * @param addonsConfig Required. The desired configurations for the various addons available to + * run in the cluster. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final Operation setAddonsConfig(SetAddonsConfigRequest request) { - return setAddonsConfigCallable().call(request); + public final Operation setAddonsConfig(String name, AddonsConfig addonsConfig) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder().setName(name).setAddonsConfig(addonsConfig).build(); + return setAddonsConfig(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Sets the addons for a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
+   *   SetAddonsConfigRequest request = SetAddonsConfigRequest.newBuilder()
+   *     .setAddonsConfig(addonsConfig)
+   *     .build();
+   *   Operation response = clusterManagerClient.setAddonsConfig(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 Operation setAddonsConfig(SetAddonsConfigRequest request) { + return setAddonsConfigCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -985,14 +1075,8 @@ public final Operation setAddonsConfig(SetAddonsConfigRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
    *   SetAddonsConfigRequest request = SetAddonsConfigRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setAddonsConfig(addonsConfig)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setAddonsConfigCallable().futureCall(request);
@@ -1021,14 +1105,14 @@ public final UnaryCallable setAddonsConfigCal
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to upgrade. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to upgrade. This field has been deprecated + * and replaced by the name field. * @param locations Required. The desired list of Google Compute Engine * [zones](/compute/docs/zones#available) in which the cluster's nodes should be located. * Changing the locations a cluster is in will result in nodes being either created or removed @@ -1056,14 +1140,37 @@ public final Operation setLocations( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   List<String> locations = new ArrayList<>();
+   *   Operation response = clusterManagerClient.setLocations(name, locations);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to set locations. Specified in + * the format 'projects/*/locations/*/clusters/*'. + * @param locations Required. The desired list of Google Compute Engine + * [zones](/compute/docs/zones#available) in which the cluster's nodes should be located. + * Changing the locations a cluster is in will result in nodes being either created or removed + * from the cluster, depending on whether locations are being added or removed. + *

This list must always include the cluster's primary zone. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation setLocations(String name, List locations) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder().setName(name).addAllLocations(locations).build(); + return setLocations(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Sets the locations for a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   List<String> locations = new ArrayList<>();
    *   SetLocationsRequest request = SetLocationsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .addAllLocations(locations)
    *     .build();
    *   Operation response = clusterManagerClient.setLocations(request);
@@ -1085,14 +1192,8 @@ public final Operation setLocations(SetLocationsRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   List<String> locations = new ArrayList<>();
    *   SetLocationsRequest request = SetLocationsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .addAllLocations(locations)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setLocationsCallable().futureCall(request);
@@ -1121,14 +1222,14 @@ public final UnaryCallable setLocationsCallable(
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to upgrade. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to upgrade. This field has been deprecated + * and replaced by the name field. * @param masterVersion Required. The Kubernetes version to change the master to. *

Users may specify either explicit versions offered by Kubernetes Engine or version * aliases, which have the following behavior: @@ -1158,14 +1259,39 @@ public final Operation updateMaster( * *


    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   String masterVersion = "";
+   *   Operation response = clusterManagerClient.updateMaster(name, masterVersion);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to update. Specified in the + * format 'projects/*/locations/*/clusters/*'. + * @param masterVersion Required. The Kubernetes version to change the master to. + *

Users may specify either explicit versions offered by Kubernetes Engine or version + * aliases, which have the following behavior: + *

- "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid + * patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the + * 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the + * default Kubernetes version + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation updateMaster(String name, String masterVersion) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder().setName(name).setMasterVersion(masterVersion).build(); + return updateMaster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Updates the master for a specific cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   String masterVersion = "";
    *   UpdateMasterRequest request = UpdateMasterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setMasterVersion(masterVersion)
    *     .build();
    *   Operation response = clusterManagerClient.updateMaster(request);
@@ -1187,14 +1313,8 @@ public final Operation updateMaster(UpdateMasterRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   String masterVersion = "";
    *   UpdateMasterRequest request = UpdateMasterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setMasterVersion(masterVersion)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.updateMasterCallable().futureCall(request);
@@ -1216,15 +1336,9 @@ public final UnaryCallable updateMasterCallable(
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
    *   MasterAuth update = MasterAuth.newBuilder().build();
    *   SetMasterAuthRequest request = SetMasterAuthRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setAction(action)
    *     .setUpdate(update)
    *     .build();
@@ -1248,15 +1362,9 @@ public final Operation setMasterAuth(SetMasterAuthRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
    *   MasterAuth update = MasterAuth.newBuilder().build();
    *   SetMasterAuthRequest request = SetMasterAuthRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setAction(action)
    *     .setUpdate(update)
    *     .build();
@@ -1291,14 +1399,14 @@ public final UnaryCallable setMasterAuthCallabl
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to delete. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to delete. This field has been deprecated + * and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Operation deleteCluster(String projectId, String zone, String clusterId) { @@ -1325,14 +1433,35 @@ public final Operation deleteCluster(String projectId, String zone, String clust * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   String name = "";
+   *   Operation response = clusterManagerClient.deleteCluster(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to delete. Specified in the + * format 'projects/*/locations/*/clusters/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(String name) { + DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); + return deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
    *   Operation response = clusterManagerClient.deleteCluster(request);
    * }
    * 
@@ -1358,14 +1487,7 @@ public final Operation deleteCluster(DeleteClusterRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
    *   ApiFuture<Operation> future = clusterManagerClient.deleteClusterCallable().futureCall(request);
    *   // Do something
    *   Operation response = future.get();
@@ -1390,10 +1512,10 @@ public final UnaryCallable deleteClusterCallabl
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) to return operations for, or `-` for all zones. This * field has been deprecated and replaced by the parent field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1412,12 +1534,7 @@ public final ListOperationsResponse listOperations(String projectId, String zone * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   ListOperationsRequest request = ListOperationsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .build();
+   *   ListOperationsRequest request = ListOperationsRequest.newBuilder().build();
    *   ListOperationsResponse response = clusterManagerClient.listOperations(request);
    * }
    * 
@@ -1437,12 +1554,7 @@ public final ListOperationsResponse listOperations(ListOperationsRequest request * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   ListOperationsRequest request = ListOperationsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .build();
+   *   ListOperationsRequest request = ListOperationsRequest.newBuilder().build();
    *   ApiFuture<ListOperationsResponse> future = clusterManagerClient.listOperationsCallable().futureCall(request);
    *   // Do something
    *   ListOperationsResponse response = future.get();
@@ -1469,14 +1581,14 @@ public final ListOperationsResponse listOperations(ListOperationsRequest request
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param operationId Required. Deprecated. The server-assigned `name` of the operation. This - * field has been deprecated and replaced by the name field. + * @param operationId Deprecated. The server-assigned `name` of the operation. This field has been + * deprecated and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Operation getOperation(String projectId, String zone, String operationId) { @@ -1497,14 +1609,7 @@ public final Operation getOperation(String projectId, String zone, String operat * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String operationId = "";
-   *   GetOperationRequest request = GetOperationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setOperationId(operationId)
-   *     .build();
+   *   GetOperationRequest request = GetOperationRequest.newBuilder().build();
    *   Operation response = clusterManagerClient.getOperation(request);
    * }
    * 
@@ -1524,14 +1629,7 @@ public final Operation getOperation(GetOperationRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String operationId = "";
-   *   GetOperationRequest request = GetOperationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setOperationId(operationId)
-   *     .build();
+   *   GetOperationRequest request = GetOperationRequest.newBuilder().build();
    *   ApiFuture<Operation> future = clusterManagerClient.getOperationCallable().futureCall(request);
    *   // Do something
    *   Operation response = future.get();
@@ -1557,14 +1655,14 @@ public final UnaryCallable getOperationCallable(
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation resides. This field has been * deprecated and replaced by the name field. - * @param operationId Required. Deprecated. The server-assigned `name` of the operation. This - * field has been deprecated and replaced by the name field. + * @param operationId Deprecated. The server-assigned `name` of the operation. This field has been + * deprecated and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void cancelOperation(String projectId, String zone, String operationId) { @@ -1585,14 +1683,29 @@ public final void cancelOperation(String projectId, String zone, String operatio * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String operationId = "";
-   *   CancelOperationRequest request = CancelOperationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setOperationId(operationId)
-   *     .build();
+   *   String name = "";
+   *   clusterManagerClient.cancelOperation(name);
+   * }
+   * 
+ * + * @param name The name (project, location, operation id) of the operation to cancel. Specified in + * the format 'projects/*/locations/*/operations/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelOperation(String name) { + CancelOperationRequest request = CancelOperationRequest.newBuilder().setName(name).build(); + cancelOperation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Cancels the specified operation. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   CancelOperationRequest request = CancelOperationRequest.newBuilder().build();
    *   clusterManagerClient.cancelOperation(request);
    * }
    * 
@@ -1612,14 +1725,7 @@ public final void cancelOperation(CancelOperationRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String operationId = "";
-   *   CancelOperationRequest request = CancelOperationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setOperationId(operationId)
-   *     .build();
+   *   CancelOperationRequest request = CancelOperationRequest.newBuilder().build();
    *   ApiFuture<Void> future = clusterManagerClient.cancelOperationCallable().futureCall(request);
    *   // Do something
    *   future.get();
@@ -1644,10 +1750,10 @@ public final UnaryCallable cancelOperationCallabl
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) to return operations for. This field has been * deprecated and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1666,12 +1772,29 @@ public final ServerConfig getServerConfig(String projectId, String zone) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   GetServerConfigRequest request = GetServerConfigRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .build();
+   *   String name = "";
+   *   ServerConfig response = clusterManagerClient.getServerConfig(name);
+   * }
+   * 
+ * + * @param name The name (project and location) of the server config to get, specified in the + * format 'projects/*/locations/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ServerConfig getServerConfig(String name) { + GetServerConfigRequest request = GetServerConfigRequest.newBuilder().setName(name).build(); + return getServerConfig(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns configuration info about the Google Kubernetes Engine service. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   GetServerConfigRequest request = GetServerConfigRequest.newBuilder().build();
    *   ServerConfig response = clusterManagerClient.getServerConfig(request);
    * }
    * 
@@ -1691,12 +1814,7 @@ public final ServerConfig getServerConfig(GetServerConfigRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   GetServerConfigRequest request = GetServerConfigRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .build();
+   *   GetServerConfigRequest request = GetServerConfigRequest.newBuilder().build();
    *   ApiFuture<ServerConfig> future = clusterManagerClient.getServerConfigCallable().futureCall(request);
    *   // Do something
    *   ServerConfig response = future.get();
@@ -1722,14 +1840,14 @@ public final UnaryCallable getServerConfig
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the parent field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the parent field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the parent field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListNodePoolsResponse listNodePools( @@ -1751,14 +1869,29 @@ public final ListNodePoolsResponse listNodePools( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   ListNodePoolsRequest request = ListNodePoolsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   String parent = "";
+   *   ListNodePoolsResponse response = clusterManagerClient.listNodePools(parent);
+   * }
+   * 
+ * + * @param parent The parent (project, location, cluster id) 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 + */ + public final ListNodePoolsResponse listNodePools(String parent) { + ListNodePoolsRequest request = ListNodePoolsRequest.newBuilder().setParent(parent).build(); + return listNodePools(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists the node pools for a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   ListNodePoolsRequest request = ListNodePoolsRequest.newBuilder().build();
    *   ListNodePoolsResponse response = clusterManagerClient.listNodePools(request);
    * }
    * 
@@ -1778,14 +1911,7 @@ public final ListNodePoolsResponse listNodePools(ListNodePoolsRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   ListNodePoolsRequest request = ListNodePoolsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   ListNodePoolsRequest request = ListNodePoolsRequest.newBuilder().build();
    *   ApiFuture<ListNodePoolsResponse> future = clusterManagerClient.listNodePoolsCallable().futureCall(request);
    *   // Do something
    *   ListNodePoolsResponse response = future.get();
@@ -1812,16 +1938,16 @@ public final UnaryCallable listNode
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the name field. - * @param nodePoolId Required. Deprecated. The name of the node pool. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. + * @param nodePoolId Deprecated. The name of the node pool. This field has been deprecated and + * replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NodePool getNodePool( @@ -1844,16 +1970,29 @@ public final NodePool getNodePool( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   GetNodePoolRequest request = GetNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
-   *     .build();
+   *   String name = "";
+   *   NodePool response = clusterManagerClient.getNodePool(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster, node pool id) of the node pool to get. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NodePool getNodePool(String name) { + GetNodePoolRequest request = GetNodePoolRequest.newBuilder().setName(name).build(); + return getNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Retrieves the requested node pool. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   GetNodePoolRequest request = GetNodePoolRequest.newBuilder().build();
    *   NodePool response = clusterManagerClient.getNodePool(request);
    * }
    * 
@@ -1873,16 +2012,7 @@ public final NodePool getNodePool(GetNodePoolRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   GetNodePoolRequest request = GetNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
-   *     .build();
+   *   GetNodePoolRequest request = GetNodePoolRequest.newBuilder().build();
    *   ApiFuture<NodePool> future = clusterManagerClient.getNodePoolCallable().futureCall(request);
    *   // Do something
    *   NodePool response = future.get();
@@ -1909,14 +2039,14 @@ public final UnaryCallable getNodePoolCallable() {
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the parent field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the parent field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the parent field. * @param nodePool Required. The node pool to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1940,14 +2070,33 @@ public final Operation createNodePool( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String parent = "";
+   *   NodePool nodePool = NodePool.newBuilder().build();
+   *   Operation response = clusterManagerClient.createNodePool(parent, nodePool);
+   * }
+   * 
+ * + * @param parent The parent (project, location, cluster id) 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 + */ + public final Operation createNodePool(String parent, NodePool nodePool) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder().setParent(parent).setNodePool(nodePool).build(); + return createNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Creates a node pool for a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   NodePool nodePool = NodePool.newBuilder().build();
    *   CreateNodePoolRequest request = CreateNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setNodePool(nodePool)
    *     .build();
    *   Operation response = clusterManagerClient.createNodePool(request);
@@ -1969,14 +2118,8 @@ public final Operation createNodePool(CreateNodePoolRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   NodePool nodePool = NodePool.newBuilder().build();
    *   CreateNodePoolRequest request = CreateNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setNodePool(nodePool)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.createNodePoolCallable().futureCall(request);
@@ -2005,16 +2148,16 @@ public final UnaryCallable createNodePoolCalla
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the name field. - * @param nodePoolId Required. Deprecated. The name of the node pool to delete. This field has - * been deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. + * @param nodePoolId Deprecated. The name of the node pool to delete. This field has been + * deprecated and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Operation deleteNodePool( @@ -2037,16 +2180,29 @@ public final Operation deleteNodePool( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
-   *     .build();
+   *   String name = "";
+   *   Operation response = clusterManagerClient.deleteNodePool(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster, node pool id) of the node pool to delete. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool(String name) { + DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().setName(name).build(); + return deleteNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
    *   Operation response = clusterManagerClient.deleteNodePool(request);
    * }
    * 
@@ -2066,16 +2222,7 @@ public final Operation deleteNodePool(DeleteNodePoolRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
-   *     .build();
+   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
    *   ApiFuture<Operation> future = clusterManagerClient.deleteNodePoolCallable().futureCall(request);
    *   // Do something
    *   Operation response = future.get();
@@ -2103,16 +2250,16 @@ public final UnaryCallable deleteNodePoolCalla
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to rollback. This field has been + * @param clusterId Deprecated. The name of the cluster to rollback. This field has been + * deprecated and replaced by the name field. + * @param nodePoolId Deprecated. The name of the node pool to rollback. This field has been * deprecated and replaced by the name field. - * @param nodePoolId Required. Deprecated. The name of the node pool to rollback. This field has - * been deprecated and replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Operation rollbackNodePoolUpgrade( @@ -2136,16 +2283,32 @@ public final Operation rollbackNodePoolUpgrade( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   RollbackNodePoolUpgradeRequest request = RollbackNodePoolUpgradeRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
-   *     .build();
+   *   String name = "";
+   *   Operation response = clusterManagerClient.rollbackNodePoolUpgrade(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster, node pool id) of the node poll to rollback + * upgrade. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation rollbackNodePoolUpgrade(String name) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder().setName(name).build(); + return rollbackNodePoolUpgrade(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last + * upgrade successfully completed. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   RollbackNodePoolUpgradeRequest request = RollbackNodePoolUpgradeRequest.newBuilder().build();
    *   Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request);
    * }
    * 
@@ -2166,16 +2329,7 @@ public final Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest re * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   RollbackNodePoolUpgradeRequest request = RollbackNodePoolUpgradeRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
-   *     .build();
+   *   RollbackNodePoolUpgradeRequest request = RollbackNodePoolUpgradeRequest.newBuilder().build();
    *   ApiFuture<Operation> future = clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request);
    *   // Do something
    *   Operation response = future.get();
@@ -2195,16 +2349,8 @@ public final Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest re
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   NodeManagement management = NodeManagement.newBuilder().build();
    *   SetNodePoolManagementRequest request = SetNodePoolManagementRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setManagement(management)
    *     .build();
    *   Operation response = clusterManagerClient.setNodePoolManagement(request);
@@ -2226,16 +2372,8 @@ public final Operation setNodePoolManagement(SetNodePoolManagementRequest reques
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   NodeManagement management = NodeManagement.newBuilder().build();
    *   SetNodePoolManagementRequest request = SetNodePoolManagementRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setManagement(management)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setNodePoolManagementCallable().futureCall(request);
@@ -2257,15 +2395,9 @@ public final Operation setNodePoolManagement(SetNodePoolManagementRequest reques
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   Map<String, String> resourceLabels = new HashMap<>();
    *   String labelFingerprint = "";
    *   SetLabelsRequest request = SetLabelsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .putAllResourceLabels(resourceLabels)
    *     .setLabelFingerprint(labelFingerprint)
    *     .build();
@@ -2288,15 +2420,9 @@ public final Operation setLabels(SetLabelsRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   Map<String, String> resourceLabels = new HashMap<>();
    *   String labelFingerprint = "";
    *   SetLabelsRequest request = SetLabelsRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .putAllResourceLabels(resourceLabels)
    *     .setLabelFingerprint(labelFingerprint)
    *     .build();
@@ -2326,14 +2452,14 @@ public final UnaryCallable setLabelsCallable() {
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster to update. This field has been - * deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to update. This field has been deprecated + * and replaced by the name field. * @param enabled Required. Whether ABAC authorization will be enabled in the cluster. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2357,14 +2483,33 @@ public final Operation setLegacyAbac( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   boolean enabled = false;
+   *   Operation response = clusterManagerClient.setLegacyAbac(name, enabled);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster id) 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 + */ + public final Operation setLegacyAbac(String name, boolean enabled) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder().setName(name).setEnabled(enabled).build(); + return setLegacyAbac(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Enables or disables the ABAC authorization mechanism on a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   boolean enabled = false;
    *   SetLegacyAbacRequest request = SetLegacyAbacRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setEnabled(enabled)
    *     .build();
    *   Operation response = clusterManagerClient.setLegacyAbac(request);
@@ -2386,14 +2531,8 @@ public final Operation setLegacyAbac(SetLegacyAbacRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   boolean enabled = false;
    *   SetLegacyAbacRequest request = SetLegacyAbacRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setEnabled(enabled)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setLegacyAbacCallable().futureCall(request);
@@ -2421,14 +2560,14 @@ public final UnaryCallable setLegacyAbacCallabl
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Operation startIPRotation(String projectId, String zone, String clusterId) { @@ -2449,14 +2588,29 @@ public final Operation startIPRotation(String projectId, String zone, String clu * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   StartIPRotationRequest request = StartIPRotationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   String name = "";
+   *   Operation response = clusterManagerClient.startIPRotation(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster id) 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 + */ + public final Operation startIPRotation(String name) { + StartIPRotationRequest request = StartIPRotationRequest.newBuilder().setName(name).build(); + return startIPRotation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Starts master IP rotation. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   StartIPRotationRequest request = StartIPRotationRequest.newBuilder().build();
    *   Operation response = clusterManagerClient.startIPRotation(request);
    * }
    * 
@@ -2476,14 +2630,7 @@ public final Operation startIPRotation(StartIPRotationRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   StartIPRotationRequest request = StartIPRotationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   StartIPRotationRequest request = StartIPRotationRequest.newBuilder().build();
    *   ApiFuture<Operation> future = clusterManagerClient.startIPRotationCallable().futureCall(request);
    *   // Do something
    *   Operation response = future.get();
@@ -2509,14 +2656,14 @@ public final UnaryCallable startIPRotationCal
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Operation completeIPRotation(String projectId, String zone, String clusterId) { @@ -2537,14 +2684,30 @@ public final Operation completeIPRotation(String projectId, String zone, String * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   CompleteIPRotationRequest request = CompleteIPRotationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   String name = "";
+   *   Operation response = clusterManagerClient.completeIPRotation(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster id) 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 + */ + public final Operation completeIPRotation(String name) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder().setName(name).build(); + return completeIPRotation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Completes master IP rotation. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   CompleteIPRotationRequest request = CompleteIPRotationRequest.newBuilder().build();
    *   Operation response = clusterManagerClient.completeIPRotation(request);
    * }
    * 
@@ -2564,14 +2727,7 @@ public final Operation completeIPRotation(CompleteIPRotationRequest request) { * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   CompleteIPRotationRequest request = CompleteIPRotationRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .build();
+   *   CompleteIPRotationRequest request = CompleteIPRotationRequest.newBuilder().build();
    *   ApiFuture<Operation> future = clusterManagerClient.completeIPRotationCallable().futureCall(request);
    *   // Do something
    *   Operation response = future.get();
@@ -2590,16 +2746,8 @@ public final UnaryCallable completeIPRotat
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   int nodeCount = 0;
    *   SetNodePoolSizeRequest request = SetNodePoolSizeRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setNodeCount(nodeCount)
    *     .build();
    *   Operation response = clusterManagerClient.setNodePoolSize(request);
@@ -2621,16 +2769,8 @@ public final Operation setNodePoolSize(SetNodePoolSizeRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
    *   int nodeCount = 0;
    *   SetNodePoolSizeRequest request = SetNodePoolSizeRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
-   *     .setNodePoolId(nodePoolId)
    *     .setNodeCount(nodeCount)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setNodePoolSizeCallable().futureCall(request);
@@ -2659,14 +2799,14 @@ public final UnaryCallable setNodePoolSizeCal
    * }
    * 
* - * @param projectId Required. Deprecated. The Google Developers Console [project ID or project + * @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. - * @param zone Required. Deprecated. The name of the Google Compute Engine + * @param zone Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster resides. This field has been * deprecated and replaced by the name field. - * @param clusterId Required. Deprecated. The name of the cluster. This field has been deprecated - * and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. * @param networkPolicy Required. Configuration options for the NetworkPolicy feature. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2690,14 +2830,33 @@ public final Operation setNetworkPolicy( * *

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
+   *   String name = "";
+   *   NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build();
+   *   Operation response = clusterManagerClient.setNetworkPolicy(name, networkPolicy);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster id) 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 + */ + public final Operation setNetworkPolicy(String name, NetworkPolicy networkPolicy) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder().setName(name).setNetworkPolicy(networkPolicy).build(); + return setNetworkPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Enables or disables Network Policy for a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
    *   NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build();
    *   SetNetworkPolicyRequest request = SetNetworkPolicyRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setNetworkPolicy(networkPolicy)
    *     .build();
    *   Operation response = clusterManagerClient.setNetworkPolicy(request);
@@ -2719,14 +2878,8 @@ public final Operation setNetworkPolicy(SetNetworkPolicyRequest request) {
    *
    * 

    * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
    *   NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build();
    *   SetNetworkPolicyRequest request = SetNetworkPolicyRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .setZone(zone)
-   *     .setClusterId(clusterId)
    *     .setNetworkPolicy(networkPolicy)
    *     .build();
    *   ApiFuture<Operation> future = clusterManagerClient.setNetworkPolicyCallable().futureCall(request);
@@ -2776,6 +2929,35 @@ public final Operation setMaintenancePolicy(
     return setMaintenancePolicy(request);
   }
 
+  // AUTO-GENERATED DOCUMENTATION AND METHOD
+  /**
+   * Sets the maintenance policy for a cluster.
+   *
+   * 

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String name = "";
+   *   MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build();
+   *   Operation response = clusterManagerClient.setMaintenancePolicy(name, maintenancePolicy);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster id) 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 + */ + public final Operation setMaintenancePolicy(String name, MaintenancePolicy maintenancePolicy) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setName(name) + .setMaintenancePolicy(maintenancePolicy) + .build(); + return setMaintenancePolicy(request); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Sets the maintenance policy for a cluster. diff --git a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java index 320752d5..2522bf17 100644 --- a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java +++ b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java @@ -169,6 +169,47 @@ public void listClustersExceptionTest() throws Exception { } } + @Test + @SuppressWarnings("all") + public void listClustersTest2() { + ListClustersResponse expectedResponse = ListClustersResponse.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + ListClustersResponse actualResponse = client.listClusters(projectId, zone); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = (ListClustersRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listClustersExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + client.listClusters(projectId, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void getClusterTest() { @@ -267,44 +308,76 @@ public void getClusterExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void createClusterTest() { + public void getClusterTest2() { String name = "name3373707"; + String description = "description-1724546052"; + int initialNodeCount = 1682564205; + String loggingService = "loggingService-1700501035"; + String monitoringService = "monitoringService1469270462"; + String network = "network1843485230"; + String clusterIpv4Cidr = "clusterIpv4Cidr-141875831"; + String subnetwork = "subnetwork-1302785042"; + boolean enableKubernetesAlpha = false; + String labelFingerprint = "labelFingerprint714995737"; + String selfLink = "selfLink-1691268851"; String zone2 = "zone2-696322977"; - String detail = "detail-1335224239"; + String endpoint = "endpoint1741102485"; + String initialClusterVersion = "initialClusterVersion-276373352"; + String currentMasterVersion = "currentMasterVersion-920953983"; + String currentNodeVersion = "currentNodeVersion-407476063"; + String createTime = "createTime-493574096"; String statusMessage = "statusMessage-239442758"; - String selfLink = "selfLink-1691268851"; - String targetLink = "targetLink-2084812312"; + int nodeIpv4CidrSize = 1181176815; + String servicesIpv4Cidr = "servicesIpv4Cidr1966438125"; + int currentNodeCount = 178977560; + String expireTime = "expireTime-96179731"; String location = "location1901043637"; - String startTime = "startTime-1573145462"; - String endTime = "endTime1725551537"; - Operation expectedResponse = - Operation.newBuilder() + boolean enableTpu = false; + String tpuIpv4CidrBlock = "tpuIpv4CidrBlock1137906646"; + Cluster expectedResponse = + Cluster.newBuilder() .setName(name) + .setDescription(description) + .setInitialNodeCount(initialNodeCount) + .setLoggingService(loggingService) + .setMonitoringService(monitoringService) + .setNetwork(network) + .setClusterIpv4Cidr(clusterIpv4Cidr) + .setSubnetwork(subnetwork) + .setEnableKubernetesAlpha(enableKubernetesAlpha) + .setLabelFingerprint(labelFingerprint) + .setSelfLink(selfLink) .setZone(zone2) - .setDetail(detail) + .setEndpoint(endpoint) + .setInitialClusterVersion(initialClusterVersion) + .setCurrentMasterVersion(currentMasterVersion) + .setCurrentNodeVersion(currentNodeVersion) + .setCreateTime(createTime) .setStatusMessage(statusMessage) - .setSelfLink(selfLink) - .setTargetLink(targetLink) + .setNodeIpv4CidrSize(nodeIpv4CidrSize) + .setServicesIpv4Cidr(servicesIpv4Cidr) + .setCurrentNodeCount(currentNodeCount) + .setExpireTime(expireTime) .setLocation(location) - .setStartTime(startTime) - .setEndTime(endTime) + .setEnableTpu(enableTpu) + .setTpuIpv4CidrBlock(tpuIpv4CidrBlock) .build(); mockClusterManager.addResponse(expectedResponse); String projectId = "projectId-1969970175"; String zone = "zone3744684"; - Cluster cluster = Cluster.newBuilder().build(); + String clusterId = "clusterId240280960"; - Operation actualResponse = client.createCluster(projectId, zone, cluster); + Cluster actualResponse = client.getCluster(projectId, zone, clusterId); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - CreateClusterRequest actualRequest = (CreateClusterRequest) actualRequests.get(0); + GetClusterRequest actualRequest = (GetClusterRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -313,16 +386,16 @@ public void createClusterTest() { @Test @SuppressWarnings("all") - public void createClusterExceptionTest() throws Exception { + public void getClusterExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - Cluster cluster = Cluster.newBuilder().build(); + String clusterId = "clusterId240280960"; - client.createCluster(projectId, zone, cluster); + client.getCluster(projectId, zone, clusterId); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -331,7 +404,7 @@ public void createClusterExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void updateClusterTest() { + public void createClusterTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -357,20 +430,18 @@ public void updateClusterTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Cluster cluster = Cluster.newBuilder().build(); - Operation actualResponse = client.updateCluster(projectId, zone, clusterId, update); + Operation actualResponse = client.createCluster(projectId, zone, cluster); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - UpdateClusterRequest actualRequest = (UpdateClusterRequest) actualRequests.get(0); + CreateClusterRequest actualRequest = (CreateClusterRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(update, actualRequest.getUpdate()); + Assert.assertEquals(cluster, actualRequest.getCluster()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -379,17 +450,16 @@ public void updateClusterTest() { @Test @SuppressWarnings("all") - public void updateClusterExceptionTest() throws Exception { + public void createClusterExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Cluster cluster = Cluster.newBuilder().build(); - client.updateCluster(projectId, zone, clusterId, update); + client.createCluster(projectId, zone, cluster); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -398,7 +468,7 @@ public void updateClusterExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void updateNodePoolTest() { + public void createClusterTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -424,33 +494,18 @@ public void updateNodePoolTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - String nodeVersion = "nodeVersion1790136219"; - String imageType = "imageType-1442758754"; - UpdateNodePoolRequest request = - UpdateNodePoolRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setNodeVersion(nodeVersion) - .setImageType(imageType) - .build(); + Cluster cluster = Cluster.newBuilder().build(); - Operation actualResponse = client.updateNodePool(request); + Operation actualResponse = client.createCluster(projectId, zone, cluster); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - UpdateNodePoolRequest actualRequest = (UpdateNodePoolRequest) actualRequests.get(0); + CreateClusterRequest actualRequest = (CreateClusterRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); - Assert.assertEquals(nodeVersion, actualRequest.getNodeVersion()); - Assert.assertEquals(imageType, actualRequest.getImageType()); + Assert.assertEquals(cluster, actualRequest.getCluster()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -459,28 +514,16 @@ public void updateNodePoolTest() { @Test @SuppressWarnings("all") - public void updateNodePoolExceptionTest() throws Exception { + public void createClusterExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - String nodeVersion = "nodeVersion1790136219"; - String imageType = "imageType-1442758754"; - UpdateNodePoolRequest request = - UpdateNodePoolRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setNodeVersion(nodeVersion) - .setImageType(imageType) - .build(); + Cluster cluster = Cluster.newBuilder().build(); - client.updateNodePool(request); + client.createCluster(projectId, zone, cluster); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -489,7 +532,7 @@ public void updateNodePoolExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setNodePoolAutoscalingTest() { + public void updateClusterTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -516,30 +559,19 @@ public void setNodePoolAutoscalingTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build(); - SetNodePoolAutoscalingRequest request = - SetNodePoolAutoscalingRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setAutoscaling(autoscaling) - .build(); + ClusterUpdate update = ClusterUpdate.newBuilder().build(); - Operation actualResponse = client.setNodePoolAutoscaling(request); + Operation actualResponse = client.updateCluster(projectId, zone, clusterId, update); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetNodePoolAutoscalingRequest actualRequest = - (SetNodePoolAutoscalingRequest) actualRequests.get(0); + UpdateClusterRequest actualRequest = (UpdateClusterRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); - Assert.assertEquals(autoscaling, actualRequest.getAutoscaling()); + Assert.assertEquals(update, actualRequest.getUpdate()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -548,7 +580,7 @@ public void setNodePoolAutoscalingTest() { @Test @SuppressWarnings("all") - public void setNodePoolAutoscalingExceptionTest() throws Exception { + public void updateClusterExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -556,18 +588,9 @@ public void setNodePoolAutoscalingExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build(); - SetNodePoolAutoscalingRequest request = - SetNodePoolAutoscalingRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setAutoscaling(autoscaling) - .build(); + ClusterUpdate update = ClusterUpdate.newBuilder().build(); - client.setNodePoolAutoscaling(request); + client.updateCluster(projectId, zone, clusterId, update); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -576,7 +599,7 @@ public void setNodePoolAutoscalingExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setLoggingServiceTest() { + public void updateClusterTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -603,19 +626,19 @@ public void setLoggingServiceTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String loggingService = "loggingService-1700501035"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); - Operation actualResponse = client.setLoggingService(projectId, zone, clusterId, loggingService); + Operation actualResponse = client.updateCluster(projectId, zone, clusterId, update); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetLoggingServiceRequest actualRequest = (SetLoggingServiceRequest) actualRequests.get(0); + UpdateClusterRequest actualRequest = (UpdateClusterRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(loggingService, actualRequest.getLoggingService()); + Assert.assertEquals(update, actualRequest.getUpdate()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -624,7 +647,7 @@ public void setLoggingServiceTest() { @Test @SuppressWarnings("all") - public void setLoggingServiceExceptionTest() throws Exception { + public void updateClusterExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -632,9 +655,9 @@ public void setLoggingServiceExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String loggingService = "loggingService-1700501035"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); - client.setLoggingService(projectId, zone, clusterId, loggingService); + client.updateCluster(projectId, zone, clusterId, update); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -643,9 +666,9 @@ public void setLoggingServiceExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setMonitoringServiceTest() { + public void updateNodePoolTest() { String name = "name3373707"; - String zone2 = "zone2-696322977"; + String zone = "zone3744684"; String detail = "detail-1335224239"; String statusMessage = "statusMessage-239442758"; String selfLink = "selfLink-1691268851"; @@ -656,7 +679,7 @@ public void setMonitoringServiceTest() { Operation expectedResponse = Operation.newBuilder() .setName(name) - .setZone(zone2) + .setZone(zone) .setDetail(detail) .setStatusMessage(statusMessage) .setSelfLink(selfLink) @@ -667,23 +690,23 @@ public void setMonitoringServiceTest() { .build(); mockClusterManager.addResponse(expectedResponse); - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - String monitoringService = "monitoringService1469270462"; + String nodeVersion = "nodeVersion1790136219"; + String imageType = "imageType-1442758754"; + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setNodeVersion(nodeVersion) + .setImageType(imageType) + .build(); - Operation actualResponse = - client.setMonitoringService(projectId, zone, clusterId, monitoringService); + Operation actualResponse = client.updateNodePool(request); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetMonitoringServiceRequest actualRequest = (SetMonitoringServiceRequest) actualRequests.get(0); + UpdateNodePoolRequest actualRequest = (UpdateNodePoolRequest) actualRequests.get(0); - Assert.assertEquals(projectId, actualRequest.getProjectId()); - Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(monitoringService, actualRequest.getMonitoringService()); + Assert.assertEquals(nodeVersion, actualRequest.getNodeVersion()); + Assert.assertEquals(imageType, actualRequest.getImageType()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -692,17 +715,20 @@ public void setMonitoringServiceTest() { @Test @SuppressWarnings("all") - public void setMonitoringServiceExceptionTest() throws Exception { + public void updateNodePoolExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - String monitoringService = "monitoringService1469270462"; + String nodeVersion = "nodeVersion1790136219"; + String imageType = "imageType-1442758754"; + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setNodeVersion(nodeVersion) + .setImageType(imageType) + .build(); - client.setMonitoringService(projectId, zone, clusterId, monitoringService); + client.updateNodePool(request); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -711,9 +737,9 @@ public void setMonitoringServiceExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setAddonsConfigTest() { + public void setNodePoolAutoscalingTest() { String name = "name3373707"; - String zone2 = "zone2-696322977"; + String zone = "zone3744684"; String detail = "detail-1335224239"; String statusMessage = "statusMessage-239442758"; String selfLink = "selfLink-1691268851"; @@ -724,7 +750,7 @@ public void setAddonsConfigTest() { Operation expectedResponse = Operation.newBuilder() .setName(name) - .setZone(zone2) + .setZone(zone) .setDetail(detail) .setStatusMessage(statusMessage) .setSelfLink(selfLink) @@ -735,22 +761,19 @@ public void setAddonsConfigTest() { .build(); mockClusterManager.addResponse(expectedResponse); - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build(); + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder().setAutoscaling(autoscaling).build(); - Operation actualResponse = client.setAddonsConfig(projectId, zone, clusterId, addonsConfig); + Operation actualResponse = client.setNodePoolAutoscaling(request); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetAddonsConfigRequest actualRequest = (SetAddonsConfigRequest) actualRequests.get(0); + SetNodePoolAutoscalingRequest actualRequest = + (SetNodePoolAutoscalingRequest) actualRequests.get(0); - Assert.assertEquals(projectId, actualRequest.getProjectId()); - Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig()); + Assert.assertEquals(autoscaling, actualRequest.getAutoscaling()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -759,17 +782,16 @@ public void setAddonsConfigTest() { @Test @SuppressWarnings("all") - public void setAddonsConfigExceptionTest() throws Exception { + public void setNodePoolAutoscalingExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build(); + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder().setAutoscaling(autoscaling).build(); - client.setAddonsConfig(projectId, zone, clusterId, addonsConfig); + client.setNodePoolAutoscaling(request); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -778,7 +800,7 @@ public void setAddonsConfigExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setLocationsTest() { + public void setLoggingServiceTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -805,19 +827,19 @@ public void setLocationsTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - List locations = new ArrayList<>(); + String loggingService = "loggingService-1700501035"; - Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations); + Operation actualResponse = client.setLoggingService(projectId, zone, clusterId, loggingService); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0); + SetLoggingServiceRequest actualRequest = (SetLoggingServiceRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(locations, actualRequest.getLocationsList()); + Assert.assertEquals(loggingService, actualRequest.getLoggingService()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -826,7 +848,7 @@ public void setLocationsTest() { @Test @SuppressWarnings("all") - public void setLocationsExceptionTest() throws Exception { + public void setLoggingServiceExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -834,9 +856,9 @@ public void setLocationsExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - List locations = new ArrayList<>(); + String loggingService = "loggingService-1700501035"; - client.setLocations(projectId, zone, clusterId, locations); + client.setLoggingService(projectId, zone, clusterId, loggingService); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -845,7 +867,7 @@ public void setLocationsExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void updateMasterTest() { + public void setLoggingServiceTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -872,19 +894,19 @@ public void updateMasterTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String masterVersion = "masterVersion-2139460613"; + String loggingService = "loggingService-1700501035"; - Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion); + Operation actualResponse = client.setLoggingService(projectId, zone, clusterId, loggingService); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0); + SetLoggingServiceRequest actualRequest = (SetLoggingServiceRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(masterVersion, actualRequest.getMasterVersion()); + Assert.assertEquals(loggingService, actualRequest.getLoggingService()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -893,7 +915,7 @@ public void updateMasterTest() { @Test @SuppressWarnings("all") - public void updateMasterExceptionTest() throws Exception { + public void setLoggingServiceExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -901,9 +923,9 @@ public void updateMasterExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String masterVersion = "masterVersion-2139460613"; + String loggingService = "loggingService-1700501035"; - client.updateMaster(projectId, zone, clusterId, masterVersion); + client.setLoggingService(projectId, zone, clusterId, loggingService); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -912,7 +934,7 @@ public void updateMasterExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setMasterAuthTest() { + public void setMonitoringServiceTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -939,29 +961,20 @@ public void setMasterAuthTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN; - MasterAuth update = MasterAuth.newBuilder().build(); - SetMasterAuthRequest request = - SetMasterAuthRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setAction(action) - .setUpdate(update) - .build(); + String monitoringService = "monitoringService1469270462"; - Operation actualResponse = client.setMasterAuth(request); + Operation actualResponse = + client.setMonitoringService(projectId, zone, clusterId, monitoringService); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetMasterAuthRequest actualRequest = (SetMasterAuthRequest) actualRequests.get(0); + SetMonitoringServiceRequest actualRequest = (SetMonitoringServiceRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(action, actualRequest.getAction()); - Assert.assertEquals(update, actualRequest.getUpdate()); + Assert.assertEquals(monitoringService, actualRequest.getMonitoringService()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -970,7 +983,7 @@ public void setMasterAuthTest() { @Test @SuppressWarnings("all") - public void setMasterAuthExceptionTest() throws Exception { + public void setMonitoringServiceExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -978,18 +991,9 @@ public void setMasterAuthExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN; - MasterAuth update = MasterAuth.newBuilder().build(); - SetMasterAuthRequest request = - SetMasterAuthRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setAction(action) - .setUpdate(update) - .build(); + String monitoringService = "monitoringService1469270462"; - client.setMasterAuth(request); + client.setMonitoringService(projectId, zone, clusterId, monitoringService); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -998,7 +1002,7 @@ public void setMasterAuthExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void deleteClusterTest() { + public void setMonitoringServiceTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1025,17 +1029,20 @@ public void deleteClusterTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; + String monitoringService = "monitoringService1469270462"; - Operation actualResponse = client.deleteCluster(projectId, zone, clusterId); + Operation actualResponse = + client.setMonitoringService(projectId, zone, clusterId, monitoringService); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0); + SetMonitoringServiceRequest actualRequest = (SetMonitoringServiceRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(monitoringService, actualRequest.getMonitoringService()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1044,7 +1051,7 @@ public void deleteClusterTest() { @Test @SuppressWarnings("all") - public void deleteClusterExceptionTest() throws Exception { + public void setMonitoringServiceExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1052,8 +1059,9 @@ public void deleteClusterExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; + String monitoringService = "monitoringService1469270462"; - client.deleteCluster(projectId, zone, clusterId); + client.setMonitoringService(projectId, zone, clusterId, monitoringService); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1062,22 +1070,46 @@ public void deleteClusterExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void listOperationsTest() { - ListOperationsResponse expectedResponse = ListOperationsResponse.newBuilder().build(); + public void setAddonsConfigTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); mockClusterManager.addResponse(expectedResponse); String projectId = "projectId-1969970175"; String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); - ListOperationsResponse actualResponse = client.listOperations(projectId, zone); + Operation actualResponse = client.setAddonsConfig(projectId, zone, clusterId, addonsConfig); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - ListOperationsRequest actualRequest = (ListOperationsRequest) actualRequests.get(0); + SetAddonsConfigRequest actualRequest = (SetAddonsConfigRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1086,15 +1118,17 @@ public void listOperationsTest() { @Test @SuppressWarnings("all") - public void listOperationsExceptionTest() throws Exception { + public void setAddonsConfigExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); - client.listOperations(projectId, zone); + client.setAddonsConfig(projectId, zone, clusterId, addonsConfig); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1103,7 +1137,7 @@ public void listOperationsExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void getOperationTest() { + public void setAddonsConfigTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1129,18 +1163,20 @@ public void getOperationTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String operationId = "operationId-274116877"; + String clusterId = "clusterId240280960"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); - Operation actualResponse = client.getOperation(projectId, zone, operationId); + Operation actualResponse = client.setAddonsConfig(projectId, zone, clusterId, addonsConfig); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - GetOperationRequest actualRequest = (GetOperationRequest) actualRequests.get(0); + SetAddonsConfigRequest actualRequest = (SetAddonsConfigRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(operationId, actualRequest.getOperationId()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1149,16 +1185,17 @@ public void getOperationTest() { @Test @SuppressWarnings("all") - public void getOperationExceptionTest() throws Exception { + public void setAddonsConfigExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String operationId = "operationId-274116877"; + String clusterId = "clusterId240280960"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); - client.getOperation(projectId, zone, operationId); + client.setAddonsConfig(projectId, zone, clusterId, addonsConfig); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1167,23 +1204,46 @@ public void getOperationExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void cancelOperationTest() { - Empty expectedResponse = Empty.newBuilder().build(); + public void setLocationsTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); mockClusterManager.addResponse(expectedResponse); String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String operationId = "operationId-274116877"; + String clusterId = "clusterId240280960"; + List locations = new ArrayList<>(); - client.cancelOperation(projectId, zone, operationId); + Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations); + Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - CancelOperationRequest actualRequest = (CancelOperationRequest) actualRequests.get(0); + SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(operationId, actualRequest.getOperationId()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(locations, actualRequest.getLocationsList()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1192,16 +1252,17 @@ public void cancelOperationTest() { @Test @SuppressWarnings("all") - public void cancelOperationExceptionTest() throws Exception { + public void setLocationsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; - String operationId = "operationId-274116877"; + String clusterId = "clusterId240280960"; + List locations = new ArrayList<>(); - client.cancelOperation(projectId, zone, operationId); + client.setLocations(projectId, zone, clusterId, locations); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1210,28 +1271,46 @@ public void cancelOperationExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void getServerConfigTest() { - String defaultClusterVersion = "defaultClusterVersion111003029"; - String defaultImageType = "defaultImageType-918225828"; - ServerConfig expectedResponse = - ServerConfig.newBuilder() - .setDefaultClusterVersion(defaultClusterVersion) - .setDefaultImageType(defaultImageType) + public void setLocationsTest2() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) .build(); mockClusterManager.addResponse(expectedResponse); String projectId = "projectId-1969970175"; String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + List locations = new ArrayList<>(); - ServerConfig actualResponse = client.getServerConfig(projectId, zone); + Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - GetServerConfigRequest actualRequest = (GetServerConfigRequest) actualRequests.get(0); + SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(locations, actualRequest.getLocationsList()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1240,15 +1319,17 @@ public void getServerConfigTest() { @Test @SuppressWarnings("all") - public void getServerConfigExceptionTest() throws Exception { + public void setLocationsExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { String projectId = "projectId-1969970175"; String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + List locations = new ArrayList<>(); - client.getServerConfig(projectId, zone); + client.setLocations(projectId, zone, clusterId, locations); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1257,24 +1338,46 @@ public void getServerConfigExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void listNodePoolsTest() { - ListNodePoolsResponse expectedResponse = ListNodePoolsResponse.newBuilder().build(); + public void updateMasterTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); mockClusterManager.addResponse(expectedResponse); String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; + String masterVersion = "masterVersion-2139460613"; - ListNodePoolsResponse actualResponse = client.listNodePools(projectId, zone, clusterId); + Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - ListNodePoolsRequest actualRequest = (ListNodePoolsRequest) actualRequests.get(0); + UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(masterVersion, actualRequest.getMasterVersion()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1283,16 +1386,1241 @@ public void listNodePoolsTest() { @Test @SuppressWarnings("all") - public void listNodePoolsExceptionTest() throws Exception { + public void updateMasterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String masterVersion = "masterVersion-2139460613"; + + client.updateMaster(projectId, zone, clusterId, masterVersion); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void updateMasterTest2() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String masterVersion = "masterVersion-2139460613"; + + Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(masterVersion, actualRequest.getMasterVersion()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void updateMasterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String masterVersion = "masterVersion-2139460613"; + + client.updateMaster(projectId, zone, clusterId, masterVersion); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void setMasterAuthTest() { + String name = "name3373707"; + String zone = "zone3744684"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN; + MasterAuth update = MasterAuth.newBuilder().build(); + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build(); + + Operation actualResponse = client.setMasterAuth(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetMasterAuthRequest actualRequest = (SetMasterAuthRequest) actualRequests.get(0); + + Assert.assertEquals(action, actualRequest.getAction()); + Assert.assertEquals(update, actualRequest.getUpdate()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void setMasterAuthExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN; + MasterAuth update = MasterAuth.newBuilder().build(); + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build(); + + client.setMasterAuth(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void deleteClusterTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + Operation actualResponse = client.deleteCluster(projectId, zone, clusterId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + client.deleteCluster(projectId, zone, clusterId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void deleteClusterTest2() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + Operation actualResponse = client.deleteCluster(projectId, zone, clusterId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + client.deleteCluster(projectId, zone, clusterId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void listOperationsTest() { + ListOperationsResponse expectedResponse = ListOperationsResponse.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + ListOperationsResponse actualResponse = client.listOperations(projectId, zone); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListOperationsRequest actualRequest = (ListOperationsRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + client.listOperations(projectId, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void getOperationTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String operationId = "operationId-274116877"; + + Operation actualResponse = client.getOperation(projectId, zone, operationId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetOperationRequest actualRequest = (GetOperationRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(operationId, actualRequest.getOperationId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getOperationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String operationId = "operationId-274116877"; + + client.getOperation(projectId, zone, operationId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void cancelOperationTest() { + Empty expectedResponse = Empty.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String operationId = "operationId-274116877"; + + client.cancelOperation(projectId, zone, operationId); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelOperationRequest actualRequest = (CancelOperationRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(operationId, actualRequest.getOperationId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void cancelOperationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String operationId = "operationId-274116877"; + + client.cancelOperation(projectId, zone, operationId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void cancelOperationTest2() { + Empty expectedResponse = Empty.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String operationId = "operationId-274116877"; + + client.cancelOperation(projectId, zone, operationId); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelOperationRequest actualRequest = (CancelOperationRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(operationId, actualRequest.getOperationId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void cancelOperationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String operationId = "operationId-274116877"; + + client.cancelOperation(projectId, zone, operationId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void getServerConfigTest() { + String defaultClusterVersion = "defaultClusterVersion111003029"; + String defaultImageType = "defaultImageType-918225828"; + ServerConfig expectedResponse = + ServerConfig.newBuilder() + .setDefaultClusterVersion(defaultClusterVersion) + .setDefaultImageType(defaultImageType) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + ServerConfig actualResponse = client.getServerConfig(projectId, zone); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetServerConfigRequest actualRequest = (GetServerConfigRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getServerConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + client.getServerConfig(projectId, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void getServerConfigTest2() { + String defaultClusterVersion = "defaultClusterVersion111003029"; + String defaultImageType = "defaultImageType-918225828"; + ServerConfig expectedResponse = + ServerConfig.newBuilder() + .setDefaultClusterVersion(defaultClusterVersion) + .setDefaultImageType(defaultImageType) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + ServerConfig actualResponse = client.getServerConfig(projectId, zone); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetServerConfigRequest actualRequest = (GetServerConfigRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getServerConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + + client.getServerConfig(projectId, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void listNodePoolsTest() { + ListNodePoolsResponse expectedResponse = ListNodePoolsResponse.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + ListNodePoolsResponse actualResponse = client.listNodePools(projectId, zone, clusterId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNodePoolsRequest actualRequest = (ListNodePoolsRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listNodePoolsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + client.listNodePools(projectId, zone, clusterId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void listNodePoolsTest2() { + ListNodePoolsResponse expectedResponse = ListNodePoolsResponse.newBuilder().build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + ListNodePoolsResponse actualResponse = client.listNodePools(projectId, zone, clusterId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNodePoolsRequest actualRequest = (ListNodePoolsRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listNodePoolsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + + client.listNodePools(projectId, zone, clusterId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void getNodePoolTest() { + String name = "name3373707"; + int initialNodeCount = 1682564205; + String selfLink = "selfLink-1691268851"; + String version = "version351608024"; + String statusMessage = "statusMessage-239442758"; + int podIpv4CidrSize = 1098768716; + NodePool expectedResponse = + NodePool.newBuilder() + .setName(name) + .setInitialNodeCount(initialNodeCount) + .setSelfLink(selfLink) + .setVersion(version) + .setStatusMessage(statusMessage) + .setPodIpv4CidrSize(podIpv4CidrSize) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + NodePool actualResponse = client.getNodePool(projectId, zone, clusterId, nodePoolId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNodePoolRequest actualRequest = (GetNodePoolRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getNodePoolExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + client.getNodePool(projectId, zone, clusterId, nodePoolId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void getNodePoolTest2() { + String name = "name3373707"; + int initialNodeCount = 1682564205; + String selfLink = "selfLink-1691268851"; + String version = "version351608024"; + String statusMessage = "statusMessage-239442758"; + int podIpv4CidrSize = 1098768716; + NodePool expectedResponse = + NodePool.newBuilder() + .setName(name) + .setInitialNodeCount(initialNodeCount) + .setSelfLink(selfLink) + .setVersion(version) + .setStatusMessage(statusMessage) + .setPodIpv4CidrSize(podIpv4CidrSize) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + NodePool actualResponse = client.getNodePool(projectId, zone, clusterId, nodePoolId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNodePoolRequest actualRequest = (GetNodePoolRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void getNodePoolExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + client.getNodePool(projectId, zone, clusterId, nodePoolId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void createNodePoolTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + NodePool nodePool = NodePool.newBuilder().build(); + + Operation actualResponse = client.createNodePool(projectId, zone, clusterId, nodePool); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateNodePoolRequest actualRequest = (CreateNodePoolRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePool, actualRequest.getNodePool()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void createNodePoolExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + NodePool nodePool = NodePool.newBuilder().build(); + + client.createNodePool(projectId, zone, clusterId, nodePool); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void createNodePoolTest2() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + NodePool nodePool = NodePool.newBuilder().build(); + + Operation actualResponse = client.createNodePool(projectId, zone, clusterId, nodePool); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateNodePoolRequest actualRequest = (CreateNodePoolRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePool, actualRequest.getNodePool()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void createNodePoolExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + NodePool nodePool = NodePool.newBuilder().build(); + + client.createNodePool(projectId, zone, clusterId, nodePool); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void deleteNodePoolTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteNodePoolExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + client.deleteNodePool(projectId, zone, clusterId, nodePoolId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void deleteNodePoolTest2() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void deleteNodePoolExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + client.deleteNodePool(projectId, zone, clusterId, nodePoolId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void rollbackNodePoolUpgradeTest() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + Operation actualResponse = + client.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackNodePoolUpgradeRequest actualRequest = + (RollbackNodePoolUpgradeRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void rollbackNodePoolUpgradeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + client.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void rollbackNodePoolUpgradeTest2() { + String name = "name3373707"; + String zone2 = "zone2-696322977"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone2) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + Operation actualResponse = + client.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackNodePoolUpgradeRequest actualRequest = + (RollbackNodePoolUpgradeRequest) actualRequests.get(0); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void rollbackNodePoolUpgradeExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + String projectId = "projectId-1969970175"; + String zone = "zone3744684"; + String clusterId = "clusterId240280960"; + String nodePoolId = "nodePoolId1043384033"; + + client.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void setNodePoolManagementTest() { + String name = "name3373707"; + String zone = "zone3744684"; + String detail = "detail-1335224239"; + String statusMessage = "statusMessage-239442758"; + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() + .setName(name) + .setZone(zone) + .setDetail(detail) + .setStatusMessage(statusMessage) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) + .build(); + mockClusterManager.addResponse(expectedResponse); + + NodeManagement management = NodeManagement.newBuilder().build(); + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder().setManagement(management).build(); + + Operation actualResponse = client.setNodePoolManagement(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetNodePoolManagementRequest actualRequest = + (SetNodePoolManagementRequest) actualRequests.get(0); + + Assert.assertEquals(management, actualRequest.getManagement()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void setNodePoolManagementExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; + NodeManagement management = NodeManagement.newBuilder().build(); + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder().setManagement(management).build(); - client.listNodePools(projectId, zone, clusterId); + client.setNodePoolManagement(request); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1301,40 +2629,47 @@ public void listNodePoolsExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void getNodePoolTest() { + public void setLabelsTest() { String name = "name3373707"; - int initialNodeCount = 1682564205; - String selfLink = "selfLink-1691268851"; - String version = "version351608024"; + String zone = "zone3744684"; + String detail = "detail-1335224239"; String statusMessage = "statusMessage-239442758"; - int podIpv4CidrSize = 1098768716; - NodePool expectedResponse = - NodePool.newBuilder() + String selfLink = "selfLink-1691268851"; + String targetLink = "targetLink-2084812312"; + String location = "location1901043637"; + String startTime = "startTime-1573145462"; + String endTime = "endTime1725551537"; + Operation expectedResponse = + Operation.newBuilder() .setName(name) - .setInitialNodeCount(initialNodeCount) - .setSelfLink(selfLink) - .setVersion(version) + .setZone(zone) + .setDetail(detail) .setStatusMessage(statusMessage) - .setPodIpv4CidrSize(podIpv4CidrSize) + .setSelfLink(selfLink) + .setTargetLink(targetLink) + .setLocation(location) + .setStartTime(startTime) + .setEndTime(endTime) .build(); mockClusterManager.addResponse(expectedResponse); - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; + Map resourceLabels = new HashMap<>(); + String labelFingerprint = "labelFingerprint714995737"; + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .putAllResourceLabels(resourceLabels) + .setLabelFingerprint(labelFingerprint) + .build(); - NodePool actualResponse = client.getNodePool(projectId, zone, clusterId, nodePoolId); + Operation actualResponse = client.setLabels(request); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - GetNodePoolRequest actualRequest = (GetNodePoolRequest) actualRequests.get(0); + SetLabelsRequest actualRequest = (SetLabelsRequest) actualRequests.get(0); - Assert.assertEquals(projectId, actualRequest.getProjectId()); - Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertEquals(resourceLabels, actualRequest.getResourceLabelsMap()); + Assert.assertEquals(labelFingerprint, actualRequest.getLabelFingerprint()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1343,17 +2678,20 @@ public void getNodePoolTest() { @Test @SuppressWarnings("all") - public void getNodePoolExceptionTest() throws Exception { + public void setLabelsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; + Map resourceLabels = new HashMap<>(); + String labelFingerprint = "labelFingerprint714995737"; + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .putAllResourceLabels(resourceLabels) + .setLabelFingerprint(labelFingerprint) + .build(); - client.getNodePool(projectId, zone, clusterId, nodePoolId); + client.setLabels(request); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1362,7 +2700,7 @@ public void getNodePoolExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void createNodePoolTest() { + public void setLegacyAbacTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1389,19 +2727,19 @@ public void createNodePoolTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - NodePool nodePool = NodePool.newBuilder().build(); + boolean enabled = false; - Operation actualResponse = client.createNodePool(projectId, zone, clusterId, nodePool); + Operation actualResponse = client.setLegacyAbac(projectId, zone, clusterId, enabled); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - CreateNodePoolRequest actualRequest = (CreateNodePoolRequest) actualRequests.get(0); + SetLegacyAbacRequest actualRequest = (SetLegacyAbacRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePool, actualRequest.getNodePool()); + Assert.assertEquals(enabled, actualRequest.getEnabled()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1410,7 +2748,7 @@ public void createNodePoolTest() { @Test @SuppressWarnings("all") - public void createNodePoolExceptionTest() throws Exception { + public void setLegacyAbacExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1418,9 +2756,9 @@ public void createNodePoolExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - NodePool nodePool = NodePool.newBuilder().build(); + boolean enabled = false; - client.createNodePool(projectId, zone, clusterId, nodePool); + client.setLegacyAbac(projectId, zone, clusterId, enabled); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1429,7 +2767,7 @@ public void createNodePoolExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void deleteNodePoolTest() { + public void setLegacyAbacTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1456,19 +2794,19 @@ public void deleteNodePoolTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; + boolean enabled = false; - Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId); + Operation actualResponse = client.setLegacyAbac(projectId, zone, clusterId, enabled); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0); + SetLegacyAbacRequest actualRequest = (SetLegacyAbacRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); + Assert.assertEquals(enabled, actualRequest.getEnabled()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1477,7 +2815,7 @@ public void deleteNodePoolTest() { @Test @SuppressWarnings("all") - public void deleteNodePoolExceptionTest() throws Exception { + public void setLegacyAbacExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1485,9 +2823,9 @@ public void deleteNodePoolExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; + boolean enabled = false; - client.deleteNodePool(projectId, zone, clusterId, nodePoolId); + client.setLegacyAbac(projectId, zone, clusterId, enabled); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1496,7 +2834,7 @@ public void deleteNodePoolExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void rollbackNodePoolUpgradeTest() { + public void startIPRotationTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1523,21 +2861,17 @@ public void rollbackNodePoolUpgradeTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - Operation actualResponse = - client.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + Operation actualResponse = client.startIPRotation(projectId, zone, clusterId); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - RollbackNodePoolUpgradeRequest actualRequest = - (RollbackNodePoolUpgradeRequest) actualRequests.get(0); + StartIPRotationRequest actualRequest = (StartIPRotationRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1546,7 +2880,7 @@ public void rollbackNodePoolUpgradeTest() { @Test @SuppressWarnings("all") - public void rollbackNodePoolUpgradeExceptionTest() throws Exception { + public void startIPRotationExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1554,9 +2888,8 @@ public void rollbackNodePoolUpgradeExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - client.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + client.startIPRotation(projectId, zone, clusterId); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1565,7 +2898,7 @@ public void rollbackNodePoolUpgradeExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setNodePoolManagementTest() { + public void startIPRotationTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1592,30 +2925,17 @@ public void setNodePoolManagementTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - NodeManagement management = NodeManagement.newBuilder().build(); - SetNodePoolManagementRequest request = - SetNodePoolManagementRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setManagement(management) - .build(); - Operation actualResponse = client.setNodePoolManagement(request); + Operation actualResponse = client.startIPRotation(projectId, zone, clusterId); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetNodePoolManagementRequest actualRequest = - (SetNodePoolManagementRequest) actualRequests.get(0); + StartIPRotationRequest actualRequest = (StartIPRotationRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); - Assert.assertEquals(management, actualRequest.getManagement()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1624,7 +2944,7 @@ public void setNodePoolManagementTest() { @Test @SuppressWarnings("all") - public void setNodePoolManagementExceptionTest() throws Exception { + public void startIPRotationExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1632,18 +2952,8 @@ public void setNodePoolManagementExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - NodeManagement management = NodeManagement.newBuilder().build(); - SetNodePoolManagementRequest request = - SetNodePoolManagementRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setManagement(management) - .build(); - client.setNodePoolManagement(request); + client.startIPRotation(projectId, zone, clusterId); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1652,7 +2962,7 @@ public void setNodePoolManagementExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setLabelsTest() { + public void completeIPRotationTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1679,29 +2989,17 @@ public void setLabelsTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - Map resourceLabels = new HashMap<>(); - String labelFingerprint = "labelFingerprint714995737"; - SetLabelsRequest request = - SetLabelsRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .putAllResourceLabels(resourceLabels) - .setLabelFingerprint(labelFingerprint) - .build(); - Operation actualResponse = client.setLabels(request); + Operation actualResponse = client.completeIPRotation(projectId, zone, clusterId); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetLabelsRequest actualRequest = (SetLabelsRequest) actualRequests.get(0); + CompleteIPRotationRequest actualRequest = (CompleteIPRotationRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(resourceLabels, actualRequest.getResourceLabelsMap()); - Assert.assertEquals(labelFingerprint, actualRequest.getLabelFingerprint()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1710,7 +3008,7 @@ public void setLabelsTest() { @Test @SuppressWarnings("all") - public void setLabelsExceptionTest() throws Exception { + public void completeIPRotationExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1718,18 +3016,8 @@ public void setLabelsExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - Map resourceLabels = new HashMap<>(); - String labelFingerprint = "labelFingerprint714995737"; - SetLabelsRequest request = - SetLabelsRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .putAllResourceLabels(resourceLabels) - .setLabelFingerprint(labelFingerprint) - .build(); - client.setLabels(request); + client.completeIPRotation(projectId, zone, clusterId); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1738,7 +3026,7 @@ public void setLabelsExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setLegacyAbacTest() { + public void completeIPRotationTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1765,19 +3053,17 @@ public void setLegacyAbacTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - boolean enabled = false; - Operation actualResponse = client.setLegacyAbac(projectId, zone, clusterId, enabled); + Operation actualResponse = client.completeIPRotation(projectId, zone, clusterId); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetLegacyAbacRequest actualRequest = (SetLegacyAbacRequest) actualRequests.get(0); + CompleteIPRotationRequest actualRequest = (CompleteIPRotationRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(enabled, actualRequest.getEnabled()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1786,7 +3072,7 @@ public void setLegacyAbacTest() { @Test @SuppressWarnings("all") - public void setLegacyAbacExceptionTest() throws Exception { + public void completeIPRotationExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1794,9 +3080,8 @@ public void setLegacyAbacExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - boolean enabled = false; - client.setLegacyAbac(projectId, zone, clusterId, enabled); + client.completeIPRotation(projectId, zone, clusterId); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1805,9 +3090,9 @@ public void setLegacyAbacExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void startIPRotationTest() { + public void setNodePoolSizeTest() { String name = "name3373707"; - String zone2 = "zone2-696322977"; + String zone = "zone3744684"; String detail = "detail-1335224239"; String statusMessage = "statusMessage-239442758"; String selfLink = "selfLink-1691268851"; @@ -1818,7 +3103,7 @@ public void startIPRotationTest() { Operation expectedResponse = Operation.newBuilder() .setName(name) - .setZone(zone2) + .setZone(zone) .setDetail(detail) .setStatusMessage(statusMessage) .setSelfLink(selfLink) @@ -1829,20 +3114,18 @@ public void startIPRotationTest() { .build(); mockClusterManager.addResponse(expectedResponse); - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; + int nodeCount = 1539922066; + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder().setNodeCount(nodeCount).build(); - Operation actualResponse = client.startIPRotation(projectId, zone, clusterId); + Operation actualResponse = client.setNodePoolSize(request); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - StartIPRotationRequest actualRequest = (StartIPRotationRequest) actualRequests.get(0); + SetNodePoolSizeRequest actualRequest = (SetNodePoolSizeRequest) actualRequests.get(0); - Assert.assertEquals(projectId, actualRequest.getProjectId()); - Assert.assertEquals(zone, actualRequest.getZone()); - Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(nodeCount, actualRequest.getNodeCount()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1851,16 +3134,16 @@ public void startIPRotationTest() { @Test @SuppressWarnings("all") - public void startIPRotationExceptionTest() throws Exception { + public void setNodePoolSizeExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); try { - String projectId = "projectId-1969970175"; - String zone = "zone3744684"; - String clusterId = "clusterId240280960"; + int nodeCount = 1539922066; + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder().setNodeCount(nodeCount).build(); - client.startIPRotation(projectId, zone, clusterId); + client.setNodePoolSize(request); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1869,7 +3152,7 @@ public void startIPRotationExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void completeIPRotationTest() { + public void setNetworkPolicyTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1896,17 +3179,19 @@ public void completeIPRotationTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); - Operation actualResponse = client.completeIPRotation(projectId, zone, clusterId); + Operation actualResponse = client.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - CompleteIPRotationRequest actualRequest = (CompleteIPRotationRequest) actualRequests.get(0); + SetNetworkPolicyRequest actualRequest = (SetNetworkPolicyRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(networkPolicy, actualRequest.getNetworkPolicy()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1915,7 +3200,7 @@ public void completeIPRotationTest() { @Test @SuppressWarnings("all") - public void completeIPRotationExceptionTest() throws Exception { + public void setNetworkPolicyExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1923,8 +3208,9 @@ public void completeIPRotationExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); - client.completeIPRotation(projectId, zone, clusterId); + client.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -1933,7 +3219,7 @@ public void completeIPRotationExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setNodePoolSizeTest() { + public void setNetworkPolicyTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -1960,29 +3246,19 @@ public void setNodePoolSizeTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - int nodeCount = 1539922066; - SetNodePoolSizeRequest request = - SetNodePoolSizeRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setNodeCount(nodeCount) - .build(); + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); - Operation actualResponse = client.setNodePoolSize(request); + Operation actualResponse = client.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetNodePoolSizeRequest actualRequest = (SetNodePoolSizeRequest) actualRequests.get(0); + SetNetworkPolicyRequest actualRequest = (SetNetworkPolicyRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId()); - Assert.assertEquals(nodeCount, actualRequest.getNodeCount()); + Assert.assertEquals(networkPolicy, actualRequest.getNetworkPolicy()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1991,7 +3267,7 @@ public void setNodePoolSizeTest() { @Test @SuppressWarnings("all") - public void setNodePoolSizeExceptionTest() throws Exception { + public void setNetworkPolicyExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -1999,18 +3275,9 @@ public void setNodePoolSizeExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - String nodePoolId = "nodePoolId1043384033"; - int nodeCount = 1539922066; - SetNodePoolSizeRequest request = - SetNodePoolSizeRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .setNodeCount(nodeCount) - .build(); + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); - client.setNodePoolSize(request); + client.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -2019,7 +3286,7 @@ public void setNodePoolSizeExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setNetworkPolicyTest() { + public void setMaintenancePolicyTest() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -2046,19 +3313,20 @@ public void setNetworkPolicyTest() { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); - Operation actualResponse = client.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); + Operation actualResponse = + client.setMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy); Assert.assertEquals(expectedResponse, actualResponse); List actualRequests = mockClusterManager.getRequests(); Assert.assertEquals(1, actualRequests.size()); - SetNetworkPolicyRequest actualRequest = (SetNetworkPolicyRequest) actualRequests.get(0); + SetMaintenancePolicyRequest actualRequest = (SetMaintenancePolicyRequest) actualRequests.get(0); Assert.assertEquals(projectId, actualRequest.getProjectId()); Assert.assertEquals(zone, actualRequest.getZone()); Assert.assertEquals(clusterId, actualRequest.getClusterId()); - Assert.assertEquals(networkPolicy, actualRequest.getNetworkPolicy()); + Assert.assertEquals(maintenancePolicy, actualRequest.getMaintenancePolicy()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -2067,7 +3335,7 @@ public void setNetworkPolicyTest() { @Test @SuppressWarnings("all") - public void setNetworkPolicyExceptionTest() throws Exception { + public void setMaintenancePolicyExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); @@ -2075,9 +3343,9 @@ public void setNetworkPolicyExceptionTest() throws Exception { String projectId = "projectId-1969970175"; String zone = "zone3744684"; String clusterId = "clusterId240280960"; - NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); - client.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); + client.setMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { // Expected exception @@ -2086,7 +3354,7 @@ public void setNetworkPolicyExceptionTest() throws Exception { @Test @SuppressWarnings("all") - public void setMaintenancePolicyTest() { + public void setMaintenancePolicyTest2() { String name = "name3373707"; String zone2 = "zone2-696322977"; String detail = "detail-1335224239"; @@ -2135,7 +3403,7 @@ public void setMaintenancePolicyTest() { @Test @SuppressWarnings("all") - public void setMaintenancePolicyExceptionTest() throws Exception { + public void setMaintenancePolicyExceptionTest2() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockClusterManager.addException(exception); diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index 74dd22d9..db8500c3 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -141,13 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -167,13 +166,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -196,12 +194,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the operation resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -221,12 +219,12 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the operation resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -249,12 +247,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The operationId. */ @@ -274,12 +271,11 @@ public java.lang.String getOperationId() { * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The bytes for operationId. */ @@ -714,13 +710,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -740,13 +735,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -766,13 +760,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -791,13 +784,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -812,13 +804,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -840,12 +831,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the operation resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -865,12 +856,12 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the operation resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -890,12 +881,12 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the operation resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -914,12 +905,12 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the operation resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -934,12 +925,12 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the operation resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -961,12 +952,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The operationId. */ @@ -986,12 +976,11 @@ public java.lang.String getOperationId() { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The bytes for operationId. */ @@ -1011,12 +1000,11 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @param value The operationId to set. * @return This builder for chaining. @@ -1035,12 +1023,11 @@ public Builder setOperationId(java.lang.String value) { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1055,12 +1042,11 @@ public Builder clearOperationId() { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @param value The bytes for operationId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index abb9bdb0..a1f5fcf7 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface CancelOperationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface CancelOperationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,12 +58,12 @@ public interface CancelOperationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the operation resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -75,12 +73,12 @@ public interface CancelOperationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the operation resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -91,12 +89,11 @@ public interface CancelOperationRequestOrBuilder * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The operationId. */ @@ -106,12 +103,11 @@ public interface CancelOperationRequestOrBuilder * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The bytes for operationId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java index 672c939e..373eb8e4 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java @@ -564,448 +564,449 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "AUTO_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023\n\017" + "SET_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_MAINTEN" - + "ANCE_POLICY\020\020\"\212\001\n\024CreateClusterRequest\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\0222\n\007cluster\030\003 \001(\0132\034.google.contain" - + "er.v1.ClusterB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"l\n\021Ge" - + "tClusterRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340" - + "A\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\"\250\001\n\024UpdateClust" - + "erRequest\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\031\n\ncluster_id\030\003 \001(\tB\005\030" - + "\001\340A\002\0227\n\006update\030\004 \001(\0132\".google.container." - + "v1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\301\001\n\025" - + "UpdateNodePoolRequest\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\nimag" - + "e_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\"\331\001\n\035SetN" - + "odePoolAutoscalingRequest\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\014node_pool_id\030\004 \001" - + "(\tB\005\030\001\340A\002\022B\n\013autoscaling\030\005 \001(\0132(.google." - + "container.v1.NodePoolAutoscalingB\003\340A\002\022\014\n" - + "\004name\030\006 \001(\t\"\217\001\n\030SetLoggingServiceRequest" - + "\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\021\n\004zone\030\002 \001(" - + "\tB\003\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\034\n\017log" - + "ging_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\022monitoring_s" - + "ervice\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\260\001\n\026SetA" - + "ddonsConfigRequest\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\raddons_config\030\004 \001(\0132!.g" - + "oogle.container.v1.AddonsConfigB\003\340A\002\022\014\n\004" - + "name\030\006 \001(\t\"\206\001\n\023SetLocationsRequest\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\026\n\tlocatio" - + "ns\030\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\213\001\n\023UpdateMa" - + "sterRequest\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\016master_version\030\004 \001(\tB\003\340A\002\022\014\n\004n" - + "ame\030\007 \001(\t\"\276\002\n\024SetMasterAuthRequest\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\022E\n\006action\030" - + "\004 \001(\01620.google.container.v1.SetMasterAut" - + "hRequest.ActionB\003\340A\002\0224\n\006update\030\005 \001(\0132\037.g" - + "oogle.container.v1.MasterAuthB\003\340A\002\022\014\n\004na" - + "me\030\007 \001(\t\"P\n\006Action\022\013\n\007UNKNOWN\020\000\022\020\n\014SET_P" - + "ASSWORD\020\001\022\025\n\021GENERATE_PASSWORD\020\002\022\020\n\014SET_" - + "USERNAME\020\003\"o\n\024DeleteClusterRequest\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\014\n\004name\030\004 " - + "\001(\t\"U\n\023ListClustersRequest\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\006pa" - + "rent\030\004 \001(\t\"]\n\024ListClustersResponse\022.\n\010cl" - + "usters\030\001 \003(\0132\034.google.container.v1.Clust" - + "er\022\025\n\rmissing_zones\030\002 \003(\t\"p\n\023GetOperatio" - + "nRequest\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\033\n\014operation_id\030\003 \001(\tB\005" - + "\030\001\340A\002\022\014\n\004name\030\005 \001(\t\"W\n\025ListOperationsReq" - + "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\016\n\006parent\030\004 \001(\t\"s\n\026CancelOp" - + "erationRequest\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\"c\n\026ListOperati" - + "onsResponse\0222\n\noperations\030\001 \003(\0132\036.google" - + ".container.v1.Operation\022\025\n\rmissing_zones" - + "\030\002 \003(\t\"V\n\026GetServerConfigRequest\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\014\n\004name\030\004 \001(\t\"\242\001\n\014ServerConfig\022\037\n\027defau" - + "lt_cluster_version\030\001 \001(\t\022\033\n\023valid_node_v" - + "ersions\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_ma" - + "ster_versions\030\006 \003(\t\"\251\001\n\025CreateNodePoolRe" - + "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" - + "\0225\n\tnode_pool\030\004 \001(\0132\035.google.container.v" - + "1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\215\001\n\025Dele" - + "teNodePoolRequest\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\024ListNodePoolsRequest\022" - + "\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\t" - + "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\016\n\006pa" - + "rent\030\005 \001(\t\"\212\001\n\022GetNodePoolRequest\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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_poo" - + "l_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"\213\005\n\010Node" - + "Pool\022\014\n\004name\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037.goo" - + "gle.container.v1.NodeConfig\022\032\n\022initial_n" - + "ode_count\030\003 \001(\005\022\021\n\tself_link\030d \001(\t\022\017\n\007ve" - + "rsion\030e \001(\t\022\033\n\023instance_group_urls\030f \003(\t" - + "\0224\n\006status\030g \001(\0162$.google.container.v1.N" - + "odePool.Status\022\026\n\016status_message\030h \001(\t\022=" - + "\n\013autoscaling\030\004 \001(\0132(.google.container.v" - + "1.NodePoolAutoscaling\0227\n\nmanagement\030\005 \001(" - + "\0132#.google.container.v1.NodeManagement\022C" - + "\n\023max_pods_constraint\030\006 \001(\0132&.google.con" - + "tainer.v1.MaxPodsConstraint\0228\n\ncondition" - + "s\030i \003(\0132$.google.container.v1.StatusCond" - + "ition\022\032\n\022pod_ipv4_cidr_size\030\007 \001(\005\"\201\001\n\006St" - + "atus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIO" - + "NING\020\001\022\013\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERRO" - + "R\020\003\022\017\n\013RECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ER" - + "ROR\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_op" - + "tions\030\n \001(\0132\'.google.container.v1.AutoUp" - + "gradeOptions\"J\n\022AutoUpgradeOptions\022\037\n\027au" - + "to_upgrade_start_time\030\001 \001(\t\022\023\n\013descripti" - + "on\030\002 \001(\t\"e\n\021MaintenancePolicy\0226\n\006window\030" - + "\001 \001(\0132&.google.container.v1.MaintenanceW" - + "indow\022\030\n\020resource_version\030\003 \001(\t\"\366\002\n\021Main" - + "tenanceWindow\022O\n\030daily_maintenance_windo" - + "w\030\002 \001(\0132+.google.container.v1.DailyMaint" - + "enanceWindowH\000\022D\n\020recurring_window\030\003 \001(\013" - + "2(.google.container.v1.RecurringTimeWind" - + "owH\000\022a\n\026maintenance_exclusions\030\004 \003(\0132A.g" - + "oogle.container.v1.MaintenanceWindow.Mai" - + "ntenanceExclusionsEntry\032]\n\032MaintenanceEx" - + "clusionsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(" - + "\0132\037.google.container.v1.TimeWindow:\0028\001B\010" - + "\n\006policy\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"Z\n\023" - + "RecurringTimeWindow\022/\n\006window\030\001 \001(\0132\037.go" - + "ogle.container.v1.TimeWindow\022\022\n\nrecurren" - + "ce\030\002 \001(\t\">\n\026DailyMaintenanceWindow\022\022\n\nst" - + "art_time\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\322\001\n\034Set" - + "NodePoolManagementRequest\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\014node_pool_id\030\004 \001" - + "(\tB\005\030\001\340A\002\022<\n\nmanagement\030\005 \001(\0132#.google.c" - + "ontainer.v1.NodeManagementB\003\340A\002\022\014\n\004name\030" - + "\007 \001(\t\"\247\001\n\026SetNodePoolSizeRequest\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\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\036RollbackNodePoolUpgr" - + "adeRequest\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\004na" - + "me\030\006 \001(\t\"J\n\025ListNodePoolsResponse\0221\n\nnod" - + "e_pools\030\001 \003(\0132\035.google.container.v1.Node" - + "Pool\"\377\001\n\022ClusterAutoscaling\022$\n\034enable_no" - + "de_autoprovisioning\030\001 \001(\010\022;\n\017resource_li" - + "mits\030\002 \003(\0132\".google.container.v1.Resourc" - + "eLimit\022b\n#autoprovisioning_node_pool_def" - + "aults\030\004 \001(\01325.google.container.v1.Autopr" - + "ovisioningNodePoolDefaults\022\"\n\032autoprovis" - + "ioning_locations\030\005 \003(\t\"Q\n Autoprovisioni" - + "ngNodePoolDefaults\022\024\n\014oauth_scopes\030\001 \003(\t" - + "\022\027\n\017service_account\030\002 \001(\t\"H\n\rResourceLim" - + "it\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\023NodePoolAutoscali" - + "ng\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\017autoprovi" - + "sioned\030\004 \001(\010\"\233\002\n\020SetLabelsRequest\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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022W\n\017resource" - + "_labels\030\004 \003(\01329.google.container.v1.SetL" - + "abelsRequest.ResourceLabelsEntryB\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\023ResourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\024SetLegacyAbacRequ" - + "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\024" - + "\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\215\001\n\026S" - + "tartIPRotationRequest\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\006 \001(\t\022\032\n\022rotate" - + "_credentials\030\007 \001(\010\"t\n\031CompleteIPRotation" - + "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\014\n\004name\030\007 \001(\t\"H\n\021AcceleratorConfig\022\031\n" - + "\021accelerator_count\030\001 \001(\003\022\030\n\020accelerator_" - + "type\030\002 \001(\t\"\263\001\n\027SetNetworkPolicyRequest\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\016net" - + "work_policy\030\004 \001(\0132\".google.container.v1." - + "NetworkPolicyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033Set" - + "MaintenancePolicyRequest\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\022G\n\022maintenance_policy\030\004 \001(" - + "\0132&.google.container.v1.MaintenancePolic" - + "yB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\352\001\n\017StatusCondition" - + "\0227\n\004code\030\001 \001(\0162).google.container.v1.Sta" - + "tusCondition.Code\022\017\n\007message\030\002 \001(\t\"\214\001\n\004C" - + "ode\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_STOCKOUT\020\001\022\037\n\033GK" - + "E_SERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOTA" - + "_EXCEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLOU" - + "D_KMS_KEY_ERROR\020\007\"Z\n\rNetworkConfig\022\017\n\007ne" - + "twork\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022$\n\034enabl" - + "e_intra_node_visibility\030\005 \001(\010\",\n\031IntraNo" - + "deVisibilityConfig\022\017\n\007enabled\030\001 \001(\010\".\n\021M" - + "axPodsConstraint\022\031\n\021max_pods_per_node\030\001 " - + "\001(\003\"\230\001\n\022DatabaseEncryption\022<\n\005state\030\002 \001(" - + "\0162-.google.container.v1.DatabaseEncrypti" - + "on.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005State\022\013\n\007U" - + "NKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYPTED\020\002\"e" - + "\n\034ListUsableSubnetworksRequest\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\035ListUsableSubne" - + "tworksResponse\022:\n\013subnetworks\030\001 \003(\0132%.go" - + "ogle.container.v1.UsableSubnetwork\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\200\002\n\036UsableSubnetwork" - + "SecondaryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\rip" - + "_cidr_range\030\002 \001(\t\022J\n\006status\030\003 \001(\0162:.goog" - + "le.container.v1.UsableSubnetworkSecondar" - + "yRange.Status\"g\n\006Status\022\013\n\007UNKNOWN\020\000\022\n\n\006" - + "UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024IN_USE_S" - + "HAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_POD\020\004\"\270" - + "\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\022" - + "P\n\023secondary_ip_ranges\030\004 \003(\01323.google.co" - + "ntainer.v1.UsableSubnetworkSecondaryRang" - + "e\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031ResourceUs" - + "ageExportConfig\022`\n\024bigquery_destination\030" - + "\001 \001(\0132B.google.container.v1.ResourceUsag" - + "eExportConfig.BigQueryDestination\022&\n\036ena" - + "ble_network_egress_metering\030\002 \001(\010\022m\n\033con" - + "sumption_metering_config\030\003 \001(\0132H.google.", - "container.v1.ResourceUsageExportConfig.C" - + "onsumptionMeteringConfig\032)\n\023BigQueryDest" - + "ination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Consumpti" - + "onMeteringConfig\022\017\n\007enabled\030\001 \001(\010\")\n\026Ver" - + "ticalPodAutoscaling\022\017\n\007enabled\030\001 \001(\0102\241B\n" - + "\016ClusterManager\022\336\001\n\014ListClusters\022(.googl" - + "e.container.v1.ListClustersRequest\032).goo" - + "gle.container.v1.ListClustersResponse\"y\202" - + "\323\344\223\002a\022,/v1/{parent=projects/*/locations/" - + "*}/clustersZ1\022//v1/projects/{project_id}" - + "/zones/{zone}/clusters\332A\017project_id,zone" - + "\022\346\001\n\nGetCluster\022&.google.container.v1.Ge" - + "tClusterRequest\032\034.google.container.v1.Cl" - + "uster\"\221\001\202\323\344\223\002n\022,/v1/{name=projects/*/loc" - + "ations/*/clusters/*}Z>\022\n\026DailyMaintenanceW" + + "indow\022\022\n\nstart_time\030\002 \001(\t\022\020\n\010duration\030\003 " + + "\001(\t\"\306\001\n\034SetNodePoolManagementRequest\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\030\n\014node_pool_id\030\004" + + " \001(\tB\002\030\001\022<\n\nmanagement\030\005 \001(\0132#.google.co" + + "ntainer.v1.NodeManagementB\003\340A\002\022\014\n\004name\030\007" + + " \001(\t\"\233\001\n\026SetNodePoolSizeRequest\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\026\n\nclu" + + "ster_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\"\212\001\n\036RollbackNodePoolUpgradeRequest\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\"J\n\025ListNodePools" + + "Response\0221\n\nnode_pools\030\001 \003(\0132\035.google.co" + + "ntainer.v1.NodePool\"\377\001\n\022ClusterAutoscali" + + "ng\022$\n\034enable_node_autoprovisioning\030\001 \001(\010" + + "\022;\n\017resource_limits\030\002 \003(\0132\".google.conta" + + "iner.v1.ResourceLimit\022b\n#autoprovisionin" + + "g_node_pool_defaults\030\004 \001(\01325.google.cont" + + "ainer.v1.AutoprovisioningNodePoolDefault" + + "s\022\"\n\032autoprovisioning_locations\030\005 \003(\t\"Q\n" + + " AutoprovisioningNodePoolDefaults\022\024\n\014oau" + + "th_scopes\030\001 \003(\t\022\027\n\017service_account\030\002 \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\"o\n\023No" + + "dePoolAutoscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016mi" + + "n_node_count\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001" + + "(\005\022\027\n\017autoprovisioned\030\004 \001(\010\"\222\002\n\020SetLabel" + + "sRequest\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\017re" + + "source_labels\030\004 \003(\01329.google.container.v" + + "1.SetLabelsRequest.ResourceLabelsEntryB\003" + + "\340A\002\022\036\n\021label_fingerprint\030\005 \001(\tB\003\340A\002\022\014\n\004n" + + "ame\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\024SetLegacyAba" + + "cRequest\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\007en" + + "abled\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\204\001\n\026Start" + + "IPRotationRequest\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_credentials\030" + + "\007 \001(\010\"k\n\031CompleteIPRotationRequest\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\014\n\004name\030\007 \001(\t\"H\n\021Ac" + + "celeratorConfig\022\031\n\021accelerator_count\030\001 \001" + + "(\003\022\030\n\020accelerator_type\030\002 \001(\t\"\252\001\n\027SetNetw" + + "orkPolicyRequest\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\016network_policy\030\004 \001(\0132\".google.cont" + + "ainer.v1.NetworkPolicyB\003\340A\002\022\014\n\004name\030\006 \001(" + + "\t\"\271\001\n\033SetMaintenancePolicyRequest\022\027\n\npro" + + "ject_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\022G\n\022maintenance_po" + + "licy\030\004 \001(\0132&.google.container.v1.Mainten" + + "ancePolicyB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\352\001\n\017Status" + + "Condition\0227\n\004code\030\001 \001(\0162).google.contain" + + "er.v1.StatusCondition.Code\022\017\n\007message\030\002 " + + "\001(\t\"\214\001\n\004Code\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_STOCKOU" + + "T\020\001\022\037\n\033GKE_SERVICE_ACCOUNT_DELETED\020\002\022\026\n\022" + + "GCE_QUOTA_EXCEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020" + + "\004\022\027\n\023CLOUD_KMS_KEY_ERROR\020\007\"Z\n\rNetworkCon" + + "fig\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t" + + "\022$\n\034enable_intra_node_visibility\030\005 \001(\010\"," + + "\n\031IntraNodeVisibilityConfig\022\017\n\007enabled\030\001" + + " \001(\010\".\n\021MaxPodsConstraint\022\031\n\021max_pods_pe" + + "r_node\030\001 \001(\003\"\230\001\n\022DatabaseEncryption\022<\n\005s" + + "tate\030\002 \001(\0162-.google.container.v1.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\"e\n\034ListUsableSubnetworksRequest\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\035ListUs" + + "ableSubnetworksResponse\022:\n\013subnetworks\030\001" + + " \003(\0132%.google.container.v1.UsableSubnetw" + + "ork\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036UsableS" + + "ubnetworkSecondaryRange\022\022\n\nrange_name\030\001 " + + "\001(\t\022\025\n\rip_cidr_range\030\002 \001(\t\022J\n\006status\030\003 \001" + + "(\0162:.google.container.v1.UsableSubnetwor" + + "kSecondaryRange.Status\"g\n\006Status\022\013\n\007UNKN" + + "OWN\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_MANAGE" + + "D_POD\020\004\"\270\001\n\020UsableSubnetwork\022\022\n\nsubnetwo" + + "rk\030\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\025\n\rip_cidr_ran" + + "ge\030\003 \001(\t\022P\n\023secondary_ip_ranges\030\004 \003(\01323." + + "google.container.v1.UsableSubnetworkSeco" + + "ndaryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031R" + + "esourceUsageExportConfig\022`\n\024bigquery_des" + + "tination\030\001 \001(\0132B.google.container.v1.Res" + + "ourceUsageExportConfig.BigQueryDestinati" + + "on\022&\n\036enable_network_egress_metering\030\002 \001" + + "(\010\022m\n\033consumption_metering_config\030\003 \001(\0132" + + "H.google.container.v1.ResourceUsageExpor" + + "tConfig.ConsumptionMeteringConfig\032)\n\023Big" + + "QueryDestination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031" + + "ConsumptionMeteringConfig\022\017\n\007enabled\030\001 \001" + + "(\010\")\n\026VerticalPodAutoscaling\022\017\n\007enabled\030" + + "\001 \001(\0102\322D\n\016ClusterManager\022\350\001\n\014ListCluster" + + "s\022(.google.container.v1.ListClustersRequ", + "est\032).google.container.v1.ListClustersRe" + + "sponse\"\202\001\202\323\344\223\002a\022,/v1/{parent=projects/*/" + + "locations/*}/clustersZ1\022//v1/projects/{p" + + "roject_id}/zones/{zone}/clusters\332A\017proje" + + "ct_id,zone\332A\006parent\022\355\001\n\nGetCluster\022&.goo" + + "gle.container.v1.GetClusterRequest\032\034.goo" + + "gle.container.v1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{" + + "name=projects/*/locations/*/clusters/*}Z" + + ">\022*/v1/{name=projects/" - + "*/locations/*/clusters/*}:setResourceLab" - + "els:\001*ZP\"K/v1/projects/{project_id}/zone" - + "s/{zone}/clusters/{cluster_id}/resourceL" - + "abels:\001*\022\226\002\n\rSetLegacyAbac\022).google.cont" - + "ainer.v1.SetLegacyAbacRequest\032\036.google.c" - + "ontainer.v1.Operation\"\271\001\202\323\344\223\002\215\001\":/v1/{na" - + "me=projects/*/locations/*/clusters/*}:se" - + "tLegacyAbac:\001*ZL\"G/v1/projects/{project_" + + "e\332A\027name,monitoring_service\022\255\002\n\017SetAddon" + + "sConfig\022+.google.container.v1.SetAddonsC" + + "onfigRequest\032\036.google.container.v1.Opera" + + "tion\"\314\001\202\323\344\223\002\205\001\"6/v1/{name=projects/*/loc" + + "ations/*/clusters/*}:setAddons:\001*ZH\"C/v1" + + "/projects/{project_id}/zones/{zone}/clus" + + "ters/{cluster_id}/addons:\001*\332A(project_id" + + ",zone,cluster_id,addons_config\332A\022name,ad" + + "dons_config\022\245\002\n\014SetLocations\022(.google.co" + + "ntainer.v1.SetLocationsRequest\032\036.google." + + "container.v1.Operation\"\312\001\202\323\344\223\002\213\001\"9/v1/{n" + + "ame=projects/*/locations/*/clusters/*}:s" + + "etLocations:\001*ZK\"F/v1/projects/{project_" + "id}/zones/{zone}/clusters/{cluster_id}/l" - + "egacyAbac:\001*\332A\"project_id,zone,cluster_i" - + "d,enabled\022\231\002\n\017StartIPRotation\022+.google.c" - + "ontainer.v1.StartIPRotationRequest\032\036.goo" - + "gle.container.v1.Operation\"\270\001\202\323\344\223\002\224\001\"*/v1/{name=projects/*/l" + + "ocations/*/clusters/*}:setResourceLabels" + + ":\001*ZP\"K/v1/projects/{project_id}/zones/{" + + "zone}/clusters/{cluster_id}/resourceLabe" + + "ls:\001*\022\245\002\n\rSetLegacyAbac\022).google.contain" + + "er.v1.SetLegacyAbacRequest\032\036.google.cont" + + "ainer.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1/{name=" + + "projects/*/locations/*/clusters/*}:setLe" + + "gacyAbac:\001*ZL\"G/v1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}/lega" + + "cyAbac:\001*\332A\"project_id,zone,cluster_id,e" + + "nabled\332A\014name,enabled\022\240\002\n\017StartIPRotatio" + + "n\022+.google.container.v1.StartIPRotationR" + + "equest\032\036.google.container.v1.Operation\"\277" + + "\001\202\323\344\223\002\224\001\" - * Required. Deprecated. The Google Developers Console [project ID or project + * 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. *
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -167,13 +166,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -196,13 +194,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -222,13 +220,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -251,12 +249,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -276,12 +273,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -718,13 +714,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -744,13 +739,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -770,13 +764,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -795,13 +788,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -816,13 +808,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -844,13 +835,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -870,13 +861,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -896,13 +887,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -921,13 +912,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -942,13 +933,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -970,12 +961,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -995,12 +985,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1020,12 +1009,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1044,12 +1032,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1064,12 +1051,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index 0a5450aa..304aa3d5 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface CompleteIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index c01a1cdb..b52611c0 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -148,13 +148,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -174,13 +173,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -203,13 +201,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -229,13 +227,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -731,13 +729,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -757,13 +754,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -783,13 +779,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -808,13 +803,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -829,13 +823,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -857,13 +850,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -883,13 +876,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -909,13 +902,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -934,13 +927,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -955,13 +948,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 3eff811a..fa8d2231 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface CreateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface CreateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface CreateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 246e0a3d..8d567ede 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -156,13 +156,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -182,13 +181,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -211,13 +209,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -237,13 +235,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -266,12 +264,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -291,12 +288,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -807,13 +803,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -833,13 +828,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -859,13 +853,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -884,13 +877,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -905,13 +897,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -933,13 +924,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -959,13 +950,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -985,13 +976,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1010,13 +1001,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1031,13 +1022,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1059,12 +1050,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1084,12 +1074,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1109,12 +1098,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1133,12 +1121,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1153,12 +1140,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index e8684e3e..1d3e0e22 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface CreateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 7154b52b..8585e83a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -141,13 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -167,13 +166,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -196,13 +194,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -222,13 +220,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -251,12 +249,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to delete.
+   * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -276,12 +273,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to delete.
+   * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -716,13 +712,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -742,13 +737,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -768,13 +762,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -793,13 +786,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -814,13 +806,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -842,13 +833,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -868,13 +859,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -894,13 +885,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -919,13 +910,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -940,13 +931,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -968,12 +959,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to delete.
+     * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -993,12 +983,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to delete.
+     * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1018,12 +1007,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to delete.
+     * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1042,12 +1030,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to delete.
+     * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1062,12 +1049,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to delete.
+     * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index 04228c49..e8696073 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to delete.
+   * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface DeleteClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to delete.
+   * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 9853baf2..22695b45 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -149,13 +149,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -175,13 +174,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -204,13 +202,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -230,13 +228,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -259,12 +257,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -284,12 +281,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -312,12 +308,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool to delete.
+   * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -337,12 +332,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool to delete.
+   * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -795,13 +789,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -821,13 +814,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -847,13 +839,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -872,13 +863,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -893,13 +883,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -921,13 +910,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -947,13 +936,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -973,13 +962,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -998,13 +987,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1019,13 +1008,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1047,12 +1036,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1072,12 +1060,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1097,12 +1084,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1121,12 +1107,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1141,12 +1126,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1168,12 +1152,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool to delete.
+     * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1193,12 +1176,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to delete.
+     * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1218,12 +1200,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool to delete.
+     * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1242,12 +1223,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool to delete.
+     * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1262,12 +1242,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to delete.
+     * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index c5968c76..91672131 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to delete.
+   * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface DeleteNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to delete.
+   * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index f2240b19..63523904 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -141,13 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -167,13 +166,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -196,13 +194,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -222,13 +220,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -251,12 +249,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to retrieve.
+   * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -276,12 +273,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to retrieve.
+   * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -716,13 +712,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -742,13 +737,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -768,13 +762,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -793,13 +786,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -814,13 +806,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -842,13 +833,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -868,13 +859,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -894,13 +885,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -919,13 +910,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -940,13 +931,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -968,12 +959,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to retrieve.
+     * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -993,12 +983,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to retrieve.
+     * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1018,12 +1007,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to retrieve.
+     * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1042,12 +1030,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to retrieve.
+     * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1062,12 +1049,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to retrieve.
+     * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 4026223f..1089289e 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface GetClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface GetClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface GetClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface GetClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface GetClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to retrieve.
+   * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface GetClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to retrieve.
+   * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index 397f2298..308c015b 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -149,13 +149,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -175,13 +174,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -204,13 +202,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -230,13 +228,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -259,12 +257,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -284,12 +281,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -312,12 +308,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool.
+   * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -337,12 +332,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool.
+   * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -795,13 +789,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -821,13 +814,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -847,13 +839,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -872,13 +863,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -893,13 +883,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -921,13 +910,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -947,13 +936,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -973,13 +962,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -998,13 +987,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1019,13 +1008,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1047,12 +1036,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1072,12 +1060,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1097,12 +1084,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1121,12 +1107,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1141,12 +1126,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1168,12 +1152,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool.
+     * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1193,12 +1176,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool.
+     * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1218,12 +1200,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool.
+     * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1242,12 +1223,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool.
+     * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1262,12 +1242,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool.
+     * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index a472bcfe..ba062e4e 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool.
+   * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface GetNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool.
+   * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index 20d7495f..63b7dbc0 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -141,13 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -167,13 +166,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -196,13 +194,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -222,13 +220,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -251,12 +249,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The operationId. */ @@ -276,12 +273,11 @@ public java.lang.String getOperationId() { * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The bytes for operationId. */ @@ -716,13 +712,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -742,13 +737,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -768,13 +762,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -793,13 +786,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -814,13 +806,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -842,13 +833,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -868,13 +859,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -894,13 +885,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -919,13 +910,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -940,13 +931,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -968,12 +959,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The operationId. */ @@ -993,12 +983,11 @@ public java.lang.String getOperationId() { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The bytes for operationId. */ @@ -1018,12 +1007,11 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @param value The operationId to set. * @return This builder for chaining. @@ -1042,12 +1030,11 @@ public Builder setOperationId(java.lang.String value) { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1062,12 +1049,11 @@ public Builder clearOperationId() { * * *
-     * Required. Deprecated. The server-assigned `name` of the operation.
+     * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @param value The bytes for operationId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index 0d58e7e1..2d9a01dc 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface GetOperationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface GetOperationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface GetOperationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface GetOperationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface GetOperationRequestOrBuilder * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The operationId. */ @@ -108,12 +105,11 @@ public interface GetOperationRequestOrBuilder * * *
-   * Required. Deprecated. The server-assigned `name` of the operation.
+   * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string operation_id = 3 [deprecated = true]; * * @return The bytes for operationId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 26591104..3200ac17 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -133,13 +133,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -159,13 +158,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -188,12 +186,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -213,12 +211,12 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -637,13 +635,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -663,13 +660,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -689,13 +685,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -714,13 +709,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -735,13 +729,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -763,12 +756,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -788,12 +781,12 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -813,12 +806,12 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -837,12 +830,12 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -857,12 +850,12 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index 325b2cd6..381107e7 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface GetServerConfigRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface GetServerConfigRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,12 +58,12 @@ public interface GetServerConfigRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -75,12 +73,12 @@ public interface GetServerConfigRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index eee4432b..5820d2f4 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -133,13 +133,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -159,13 +158,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -188,13 +186,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides, or "-" for all zones.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -214,13 +212,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides, or "-" for all zones.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -641,13 +639,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -667,13 +664,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -693,13 +689,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -718,13 +713,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -739,13 +733,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -767,13 +760,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides, or "-" for all zones.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -793,13 +786,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides, or "-" for all zones.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -819,13 +812,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides, or "-" for all zones.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -844,13 +837,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides, or "-" for all zones.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -865,13 +858,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides, or "-" for all zones.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index 1f3f0eaf..fc62ede1 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface ListClustersRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface ListClustersRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface ListClustersRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides, or "-" for all zones.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface ListClustersRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides, or "-" for all zones.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index 294356d5..cb5b8229 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -141,13 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -167,13 +166,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -196,13 +194,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -222,13 +220,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -251,12 +249,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -276,12 +273,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -716,13 +712,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -742,13 +737,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -768,13 +762,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -793,13 +786,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -814,13 +806,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -842,13 +833,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -868,13 +859,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -894,13 +885,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -919,13 +910,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -940,13 +931,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -968,12 +959,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -993,12 +983,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1018,12 +1007,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1042,12 +1030,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1062,12 +1049,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 4e7cd5b8..08997245 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface ListNodePoolsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index 6fbb3f5d..79d4644d 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -133,13 +133,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -159,13 +158,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -188,12 +186,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for, or `-` for
    * all zones. This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -213,12 +211,12 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for, or `-` for
    * all zones. This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -639,13 +637,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -665,13 +662,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -691,13 +687,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -716,13 +711,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -737,13 +731,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -765,12 +758,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for, or `-` for
      * all zones. This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -790,12 +783,12 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for, or `-` for
      * all zones. This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -815,12 +808,12 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for, or `-` for
      * all zones. This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -839,12 +832,12 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for, or `-` for
      * all zones. This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -859,12 +852,12 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) to return operations for, or `-` for
      * all zones. This field has been deprecated and replaced by the parent field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index bbb883fe..a0c01970 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface ListOperationsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface ListOperationsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,12 +58,12 @@ public interface ListOperationsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for, or `-` for
    * all zones. This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -75,12 +73,12 @@ public interface ListOperationsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) to return operations for, or `-` for
    * all zones. This field has been deprecated and replaced by the parent field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index ca62d99d..fc4076d2 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -152,13 +152,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -178,13 +177,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -207,13 +205,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -233,13 +231,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -262,12 +260,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to rollback.
+   * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -287,12 +284,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to rollback.
+   * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -315,12 +311,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool to rollback.
+   * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -340,12 +335,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool to rollback.
+   * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -803,13 +797,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -829,13 +822,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -855,13 +847,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -880,13 +871,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -901,13 +891,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -929,13 +918,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -955,13 +944,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -981,13 +970,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1006,13 +995,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1027,13 +1016,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1055,12 +1044,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to rollback.
+     * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1080,12 +1068,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to rollback.
+     * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1105,12 +1092,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to rollback.
+     * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1129,12 +1115,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to rollback.
+     * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1149,12 +1134,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to rollback.
+     * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1176,12 +1160,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool to rollback.
+     * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1201,12 +1184,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to rollback.
+     * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1226,12 +1208,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool to rollback.
+     * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1250,12 +1231,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool to rollback.
+     * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1270,12 +1250,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to rollback.
+     * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index 299a19fc..3e34e50c 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to rollback.
+   * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to rollback.
+   * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to rollback.
+   * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to rollback.
+   * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 9455c4eb..664ab4cd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -157,13 +157,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -183,13 +182,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -212,13 +210,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -238,13 +236,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -267,12 +265,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -292,12 +289,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -814,13 +810,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -840,13 +835,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -866,13 +860,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -891,13 +884,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -912,13 +904,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -940,13 +931,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -966,13 +957,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -992,13 +983,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1017,13 +1008,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1038,13 +1029,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1066,12 +1057,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1091,12 +1081,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1116,12 +1105,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1140,12 +1128,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1160,12 +1147,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 7a07b923..47308d33 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetAddonsConfigRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetAddonsConfigRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetAddonsConfigRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetAddonsConfigRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetAddonsConfigRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetAddonsConfigRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index cd6434ad..98fe25b7 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -180,13 +180,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -206,13 +205,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -235,13 +233,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -261,13 +259,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -290,12 +288,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -315,12 +312,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -973,13 +969,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -999,13 +994,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -1025,13 +1019,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -1050,13 +1043,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -1071,13 +1063,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -1099,13 +1090,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -1125,13 +1116,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1151,13 +1142,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1176,13 +1167,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1197,13 +1188,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1225,12 +1216,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1250,12 +1240,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1275,12 +1264,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1299,12 +1287,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1319,12 +1306,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 29aabfaa..1eb151ab 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetLabelsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetLabelsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetLabelsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetLabelsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetLabelsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetLabelsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 5f20642c..0393e2a5 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -147,13 +147,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -173,13 +172,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -202,13 +200,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -228,13 +226,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -257,12 +255,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -282,12 +279,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -755,13 +751,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -781,13 +776,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -807,13 +801,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -832,13 +825,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -853,13 +845,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -881,13 +872,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -907,13 +898,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -933,13 +924,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -958,13 +949,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -979,13 +970,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1007,12 +998,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1032,12 +1022,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1057,12 +1046,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1081,12 +1069,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1101,12 +1088,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 96f5e58f..9fe1a181 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetLegacyAbacRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index a81b06bc..c107bc1d 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -156,13 +156,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -182,13 +181,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -211,13 +209,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -237,13 +235,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -266,12 +264,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -291,12 +288,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -848,13 +844,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -874,13 +869,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -900,13 +894,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -925,13 +918,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -946,13 +938,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -974,13 +965,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -1000,13 +991,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1026,13 +1017,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1051,13 +1042,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1072,13 +1063,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1100,12 +1091,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1125,12 +1115,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1150,12 +1139,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1174,12 +1162,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1194,12 +1181,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index 4dac08ea..64cd8d5a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetLocationsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetLocationsRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetLocationsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetLocationsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetLocationsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetLocationsRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index cbea5a96..54ac55c9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -149,13 +149,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -175,13 +174,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -204,16 +202,17 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { @@ -229,16 +228,17 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ + @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { @@ -257,12 +257,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -282,12 +281,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -792,13 +790,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -818,13 +815,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -844,13 +840,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -869,13 +864,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -890,13 +884,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -918,16 +911,17 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { @@ -943,16 +937,17 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ + @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { @@ -968,17 +963,18 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setZone(java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -992,16 +988,17 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearZone() { zone_ = getDefaultInstance().getZone(); @@ -1012,17 +1009,18 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -1039,12 +1037,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1064,12 +1061,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1089,12 +1085,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1113,12 +1108,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1133,12 +1127,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index 9199f910..929929dd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetLoggingServiceRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetLoggingServiceRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,43 +58,44 @@ public interface SetLoggingServiceRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ + @java.lang.Deprecated java.lang.String getZone(); /** * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ + @java.lang.Deprecated com.google.protobuf.ByteString getZoneBytes(); /** * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -106,12 +105,11 @@ public interface SetLoggingServiceRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index 1c5c8a47..13b2ad5f 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -345,13 +345,12 @@ private Action(int value) { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -371,13 +370,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -400,13 +398,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -426,13 +424,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -455,12 +453,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -480,12 +477,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1049,13 +1045,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -1075,13 +1070,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -1101,13 +1095,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -1126,13 +1119,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -1147,13 +1139,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -1175,13 +1166,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -1201,13 +1192,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1227,13 +1218,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1252,13 +1243,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1273,13 +1264,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1301,12 +1292,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1326,12 +1316,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1351,12 +1340,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1375,12 +1363,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1395,12 +1382,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index 5fe6df24..58473858 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetMasterAuthRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetMasterAuthRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetMasterAuthRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetMasterAuthRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetMasterAuthRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetMasterAuthRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index de6c6e6c..ad9fadc1 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -149,13 +149,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -175,13 +174,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -204,13 +202,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -230,13 +228,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -259,12 +257,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -284,12 +281,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -799,13 +795,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -825,13 +820,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -851,13 +845,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -876,13 +869,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -897,13 +889,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -925,13 +916,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -951,13 +942,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -977,13 +968,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1002,13 +993,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1023,13 +1014,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1051,12 +1042,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1076,12 +1066,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1101,12 +1090,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1125,12 +1113,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1145,12 +1132,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index b3bfe65a..47db6046 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetMonitoringServiceRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetMonitoringServiceRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetMonitoringServiceRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetMonitoringServiceRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetMonitoringServiceRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetMonitoringServiceRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index ea282173..22e46b99 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -157,13 +157,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -183,13 +182,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -212,13 +210,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -238,13 +236,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -267,12 +265,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -292,12 +289,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -812,13 +808,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -838,13 +833,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -864,13 +858,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -889,13 +882,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -910,13 +902,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -938,13 +929,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -964,13 +955,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -990,13 +981,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1015,13 +1006,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1036,13 +1027,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1064,12 +1055,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1089,12 +1079,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1114,12 +1103,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1138,12 +1126,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1158,12 +1145,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index f334824e..f59ca027 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetNetworkPolicyRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 2bee00fd..5d55a104 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -165,13 +165,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -191,13 +190,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -220,13 +218,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -246,13 +244,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -275,12 +273,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -300,12 +297,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -328,12 +324,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -353,12 +348,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -893,13 +887,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -919,13 +912,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -945,13 +937,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -970,13 +961,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -991,13 +981,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -1019,13 +1008,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -1045,13 +1034,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1071,13 +1060,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1096,13 +1085,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1117,13 +1106,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1145,12 +1134,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1170,12 +1158,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1195,12 +1182,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1219,12 +1205,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1239,12 +1224,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1266,12 +1250,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1291,12 +1274,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1316,12 +1298,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1340,12 +1321,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1360,12 +1340,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index 592f8bb5..61b491d8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index e6fa0b4b..4472fb82 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -166,13 +166,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -192,13 +191,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -221,13 +219,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -247,13 +245,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -276,12 +274,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -301,12 +298,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -329,12 +325,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -354,12 +349,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -894,13 +888,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -920,13 +913,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -946,13 +938,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -971,13 +962,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -992,13 +982,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -1020,13 +1009,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -1046,13 +1035,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1072,13 +1061,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1097,13 +1086,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1118,13 +1107,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1146,12 +1135,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1171,12 +1159,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1196,12 +1183,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1220,12 +1206,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1240,12 +1225,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1267,12 +1251,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1292,12 +1275,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1317,12 +1299,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1341,12 +1322,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1361,12 +1341,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index 80199699..5ac37027 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface SetNodePoolManagementRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index 8a5a2af4..8bc7eeda 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -155,13 +155,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -181,13 +180,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -210,13 +208,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -236,13 +234,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -265,12 +263,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -290,12 +287,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -318,12 +314,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -343,12 +338,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -834,13 +828,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -860,13 +853,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -886,13 +878,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -911,13 +902,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -932,13 +922,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -960,13 +949,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -986,13 +975,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1012,13 +1001,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1037,13 +1026,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1058,13 +1047,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1086,12 +1075,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1111,12 +1099,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1136,12 +1123,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1160,12 +1146,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1180,12 +1165,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to update.
+     * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1207,12 +1191,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1232,12 +1215,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1257,12 +1239,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1281,12 +1262,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1301,12 +1281,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to update.
+     * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index 213e1feb..3af6bbe9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to update.
+   * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface SetNodePoolSizeRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to update.
+   * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index b5e83ee3..6222d018 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -147,13 +147,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -173,13 +172,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -202,13 +200,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -228,13 +226,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -257,12 +255,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -282,12 +279,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -755,13 +751,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -781,13 +776,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -807,13 +801,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -832,13 +825,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -853,13 +845,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -881,13 +872,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -907,13 +898,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -933,13 +924,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -958,13 +949,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -979,13 +970,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1007,12 +998,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1032,12 +1022,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1057,12 +1046,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1081,12 +1069,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1101,12 +1088,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster.
+     * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index e27c4064..2463cfbd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface StartIPRotationRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster.
+   * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 779955ba..17fd3fa9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -157,13 +157,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -183,13 +182,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -212,13 +210,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -238,13 +236,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -267,12 +265,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -292,12 +289,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -806,13 +802,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -832,13 +827,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -858,13 +852,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -883,13 +876,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -904,13 +896,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -932,13 +923,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -958,13 +949,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -984,13 +975,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1009,13 +1000,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1030,13 +1021,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1058,12 +1049,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1083,12 +1073,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1108,12 +1097,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1132,12 +1120,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1152,12 +1139,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index ac8090b6..c5bb9ac6 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface UpdateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface UpdateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface UpdateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface UpdateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface UpdateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface UpdateClusterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index f2224837..eb5bba3a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -149,13 +149,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -175,13 +174,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -204,13 +202,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -230,13 +228,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -259,12 +257,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -284,12 +281,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -801,13 +797,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -827,13 +822,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -853,13 +847,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -878,13 +871,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -899,13 +891,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -927,13 +918,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -953,13 +944,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -979,13 +970,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1004,13 +995,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1025,13 +1016,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1053,12 +1044,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1078,12 +1068,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1103,12 +1092,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1127,12 +1115,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1147,12 +1134,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index a85fcf61..88bd97de 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface UpdateMasterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface UpdateMasterRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface UpdateMasterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface UpdateMasterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface UpdateMasterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface UpdateMasterRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 5da47dcb..3bad127a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -165,13 +165,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -191,13 +190,12 @@ public java.lang.String getProjectId() { * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -220,13 +218,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -246,13 +244,13 @@ public java.lang.String getZone() { * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -275,12 +273,11 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -300,12 +297,11 @@ public java.lang.String getClusterId() { * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -328,12 +324,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -353,12 +348,11 @@ public java.lang.String getNodePoolId() { * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -953,13 +947,12 @@ public Builder mergeFrom( * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -979,13 +972,12 @@ public java.lang.String getProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -1005,13 +997,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The projectId to set. * @return This builder for chaining. @@ -1030,13 +1021,12 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return This builder for chaining. */ @@ -1051,13 +1041,12 @@ public Builder clearProjectId() { * * *
-     * Required. Deprecated. The Google Developers Console [project ID or project
+     * 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.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @param value The bytes for projectId to set. * @return This builder for chaining. @@ -1079,13 +1068,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -1105,13 +1094,13 @@ public java.lang.String getZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -1131,13 +1120,13 @@ public com.google.protobuf.ByteString getZoneBytes() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The zone to set. * @return This builder for chaining. @@ -1156,13 +1145,13 @@ public Builder setZone(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return This builder for chaining. */ @@ -1177,13 +1166,13 @@ public Builder clearZone() { * * *
-     * Required. Deprecated. The name of the Google Compute Engine
+     * Deprecated. The name of the Google Compute Engine
      * [zone](/compute/docs/zones#available) in which the cluster
      * resides.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @param value The bytes for zone to set. * @return This builder for chaining. @@ -1205,12 +1194,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -1230,12 +1218,11 @@ public java.lang.String getClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -1255,12 +1242,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The clusterId to set. * @return This builder for chaining. @@ -1279,12 +1265,11 @@ public Builder setClusterId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return This builder for chaining. */ @@ -1299,12 +1284,11 @@ public Builder clearClusterId() { * * *
-     * Required. Deprecated. The name of the cluster to upgrade.
+     * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @param value The bytes for clusterId to set. * @return This builder for chaining. @@ -1326,12 +1310,11 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -1351,12 +1334,11 @@ public java.lang.String getNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ @@ -1376,12 +1358,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The nodePoolId to set. * @return This builder for chaining. @@ -1400,12 +1381,11 @@ public Builder setNodePoolId(java.lang.String value) { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return This builder for chaining. */ @@ -1420,12 +1400,11 @@ public Builder clearNodePoolId() { * * *
-     * Required. Deprecated. The name of the node pool to upgrade.
+     * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java index 7389a93a..ad4e1bc8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java @@ -27,13 +27,12 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The projectId. */ @@ -43,13 +42,12 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The Google Developers Console [project ID or project
+   * 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.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string project_id = 1 [deprecated = true]; * * @return The bytes for projectId. */ @@ -60,13 +58,13 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The zone. */ @@ -76,13 +74,13 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the Google Compute Engine
+   * Deprecated. The name of the Google Compute Engine
    * [zone](/compute/docs/zones#available) in which the cluster
    * resides.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string zone = 2 [deprecated = true]; * * @return The bytes for zone. */ @@ -93,12 +91,11 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The clusterId. */ @@ -108,12 +105,11 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the cluster to upgrade.
+   * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string cluster_id = 3 [deprecated = true]; * * @return The bytes for clusterId. */ @@ -124,12 +120,11 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The nodePoolId. */ @@ -139,12 +134,11 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. Deprecated. The name of the node pool to upgrade.
+   * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * + * string node_pool_id = 4 [deprecated = true]; * * @return The bytes for nodePoolId. */ diff --git a/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index 86475baa..6330645a 100644 --- a/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -45,6 +45,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone"; + option (google.api.method_signature) = "parent"; } // Gets the details of a specific cluster. @@ -56,6 +57,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Creates a cluster, consisting of the specified number and type of Google @@ -81,6 +83,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster"; + option (google.api.method_signature) = "parent,cluster"; } // Updates the settings of a specific cluster. @@ -94,6 +97,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,update"; + option (google.api.method_signature) = "name,update"; } // Updates the version and/or image type for the specified node pool. @@ -131,6 +135,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,logging_service"; + option (google.api.method_signature) = "name,logging_service"; } // Sets the monitoring service for a specific cluster. @@ -144,6 +149,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,monitoring_service"; + option (google.api.method_signature) = "name,monitoring_service"; } // Sets the addons for a specific cluster. @@ -157,6 +163,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,addons_config"; + option (google.api.method_signature) = "name,addons_config"; } // Sets the locations for a specific cluster. @@ -170,6 +177,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,locations"; + option (google.api.method_signature) = "name,locations"; } // Updates the master for a specific cluster. @@ -183,6 +191,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,master_version"; + option (google.api.method_signature) = "name,master_version"; } // Sets master auth materials. Currently supports changing the admin password @@ -216,6 +225,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Lists all operations in a project in a specific zone or all zones. @@ -251,6 +261,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,operation_id"; + option (google.api.method_signature) = "name"; } // Returns configuration info about the Google Kubernetes Engine service. @@ -262,6 +273,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone"; + option (google.api.method_signature) = "name"; } // Lists the node pools for a cluster. @@ -273,6 +285,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "parent"; } // Retrieves the requested node pool. @@ -284,6 +297,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; + option (google.api.method_signature) = "name"; } // Creates a node pool for a cluster. @@ -297,6 +311,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool"; + option (google.api.method_signature) = "parent,node_pool"; } // Deletes a node pool from a cluster. @@ -308,6 +323,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; + option (google.api.method_signature) = "name"; } // Rolls back a previously Aborted or Failed NodePool upgrade. @@ -322,6 +338,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,node_pool_id"; + option (google.api.method_signature) = "name"; } // Sets the NodeManagement options for a node pool. @@ -359,6 +376,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,enabled"; + option (google.api.method_signature) = "name,enabled"; } // Starts master IP rotation. @@ -372,6 +390,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Completes master IP rotation. @@ -385,6 +404,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id"; + option (google.api.method_signature) = "name"; } // Sets the size for a specific node pool. @@ -410,6 +430,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,network_policy"; + option (google.api.method_signature) = "name,network_policy"; } // Sets the maintenance policy for a cluster. @@ -423,6 +444,7 @@ service ClusterManager { } }; option (google.api.method_signature) = "project_id,zone,cluster_id,maintenance_policy"; + option (google.api.method_signature) = "name,maintenance_policy"; } // Lists subnetworks that are usable for creating clusters in a project. @@ -1422,22 +1444,16 @@ message Operation { // CreateClusterRequest creates a cluster. message CreateClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // Required. A [cluster // resource](/container-engine/reference/rest/v1/projects.zones.clusters) @@ -1450,29 +1466,20 @@ message CreateClusterRequest { // GetClusterRequest gets the settings of a cluster. message GetClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to retrieve. + // Deprecated. The name of the cluster to retrieve. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster) of the cluster to retrieve. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1481,29 +1488,20 @@ message GetClusterRequest { // UpdateClusterRequest updates the settings of a cluster. message UpdateClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. A description of the update. ClusterUpdate update = 4 [(google.api.field_behavior) = REQUIRED]; @@ -1515,36 +1513,24 @@ message UpdateClusterRequest { // UpdateNodePoolRequests update a node pool's image and/or version. message UpdateNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to upgrade. + // Deprecated. The name of the node pool to upgrade. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. The Kubernetes version to change the nodes to (typically an // upgrade). @@ -1570,36 +1556,24 @@ message UpdateNodePoolRequest { // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. message SetNodePoolAutoscalingRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to upgrade. + // Deprecated. The name of the node pool to upgrade. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. Autoscaling configuration for the node pool. NodePoolAutoscaling autoscaling = 5 [(google.api.field_behavior) = REQUIRED]; @@ -1612,26 +1586,20 @@ message SetNodePoolAutoscalingRequest { // SetLoggingServiceRequest sets the logging service of a cluster. message SetLoggingServiceRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [(google.api.field_behavior) = REQUIRED]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The logging service the cluster should use to write metrics. // Currently available options: @@ -1647,29 +1615,20 @@ message SetLoggingServiceRequest { // SetMonitoringServiceRequest sets the monitoring service of a cluster. message SetMonitoringServiceRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The monitoring service the cluster should use to write metrics. // Currently available options: @@ -1687,29 +1646,20 @@ message SetMonitoringServiceRequest { // SetAddonsConfigRequest sets the addons associated with the cluster. message SetAddonsConfigRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The desired configurations for the various addons available to run in the // cluster. @@ -1722,29 +1672,20 @@ message SetAddonsConfigRequest { // SetLocationsRequest sets the locations of the cluster. message SetLocationsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The desired list of Google Compute Engine // [zones](/compute/docs/zones#available) in which the cluster's nodes @@ -1762,29 +1703,20 @@ message SetLocationsRequest { // UpdateMasterRequest updates the master of the cluster. message UpdateMasterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The Kubernetes version to change the master to. // @@ -1823,29 +1755,20 @@ message SetMasterAuthRequest { SET_USERNAME = 3; } - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to upgrade. + // Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The exact form of action to be taken on the master auth. Action action = 4 [(google.api.field_behavior) = REQUIRED]; @@ -1860,29 +1783,20 @@ message SetMasterAuthRequest { // DeleteClusterRequest deletes a cluster. message DeleteClusterRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to delete. + // Deprecated. The name of the cluster to delete. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster) of the cluster to delete. // Specified in the format 'projects/*/locations/*/clusters/*'. @@ -1891,22 +1805,16 @@ message DeleteClusterRequest { // ListClustersRequest lists clusters. message ListClustersRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides, or "-" for all zones. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // The parent (project and location) where the clusters will be listed. // Specified in the format 'projects/*/locations/*'. @@ -1927,29 +1835,20 @@ message ListClustersResponse { // GetOperationRequest gets a single operation. message GetOperationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The server-assigned `name` of the operation. + // Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. - string operation_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string operation_id = 3 [deprecated = true]; // The name (project, location, operation id) of the operation to get. // Specified in the format 'projects/*/locations/*/operations/*'. @@ -1958,21 +1857,15 @@ message GetOperationRequest { // ListOperationsRequest lists operations. message ListOperationsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) to return operations for, or `-` for // all zones. This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // The parent (project and location) where the operations will be listed. // Specified in the format 'projects/*/locations/*'. @@ -1982,28 +1875,19 @@ message ListOperationsRequest { // CancelOperationRequest cancels a single operation. message CancelOperationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The server-assigned `name` of the operation. + // Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. - string operation_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string operation_id = 3 [deprecated = true]; // The name (project, location, operation id) of the operation to cancel. // Specified in the format 'projects/*/locations/*/operations/*'. @@ -2022,21 +1906,15 @@ message ListOperationsResponse { // Gets the current Kubernetes Engine service configuration. message GetServerConfigRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) to return operations for. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; // The name (project and location) of the server config to get, // specified in the format 'projects/*/locations/*'. @@ -2063,29 +1941,20 @@ message ServerConfig { // CreateNodePoolRequest creates a node pool for a cluster. message CreateNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The node pool to create. NodePool node_pool = 4 [(google.api.field_behavior) = REQUIRED]; @@ -2098,36 +1967,24 @@ message CreateNodePoolRequest { // DeleteNodePoolRequest deletes a node pool for a cluster. message DeleteNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to delete. + // Deprecated. The name of the node pool to delete. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // The name (project, location, cluster, node pool id) of the node pool to // delete. Specified in the format @@ -2137,29 +1994,20 @@ message DeleteNodePoolRequest { // ListNodePoolsRequest lists the node pool(s) for a cluster. message ListNodePoolsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the parent field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The parent (project, location, cluster id) where the node pools will be // listed. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2168,36 +2016,24 @@ message ListNodePoolsRequest { // GetNodePoolRequest retrieves a node pool for a cluster. message GetNodePoolRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool. + // Deprecated. The name of the node pool. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // The name (project, location, cluster, node pool id) of the node pool to // get. Specified in the format @@ -2414,36 +2250,24 @@ message DailyMaintenanceWindow { // SetNodePoolManagementRequest sets the node management properties of a node // pool. message SetNodePoolManagementRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to update. + // Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to update. + // Deprecated. The name of the node pool to update. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. NodeManagement configuration for the node pool. NodeManagement management = 5 [(google.api.field_behavior) = REQUIRED]; @@ -2457,36 +2281,24 @@ message SetNodePoolManagementRequest { // SetNodePoolSizeRequest sets the size a node // pool. message SetNodePoolSizeRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to update. + // Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to update. + // Deprecated. The name of the node pool to update. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // Required. The desired node count for the pool. int32 node_count = 5 [(google.api.field_behavior) = REQUIRED]; @@ -2501,36 +2313,24 @@ message SetNodePoolSizeRequest { // 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 + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to rollback. + // Deprecated. The name of the cluster to rollback. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; - // Required. Deprecated. The name of the node pool to rollback. + // Deprecated. The name of the node pool to rollback. // This field has been deprecated and replaced by the name field. - string node_pool_id = 4 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string node_pool_id = 4 [deprecated = true]; // The name (project, location, cluster, node pool id) of the node poll to // rollback upgrade. @@ -2612,29 +2412,20 @@ message NodePoolAutoscaling { // Engine cluster, which will in turn set them for Google Compute Engine // resources used by that cluster message SetLabelsRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. The labels to set for that cluster. map resource_labels = 4 [(google.api.field_behavior) = REQUIRED]; @@ -2655,29 +2446,20 @@ message SetLabelsRequest { // SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for // a cluster. message SetLegacyAbacRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster to update. + // Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. Whether ABAC authorization will be enabled in the cluster. bool enabled = 4 [(google.api.field_behavior) = REQUIRED]; @@ -2690,29 +2472,20 @@ message SetLegacyAbacRequest { // StartIPRotationRequest creates a new IP for the cluster and then performs // 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 + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster id) of the cluster to start IP // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2724,29 +2497,20 @@ message StartIPRotationRequest { // CompleteIPRotationRequest moves the cluster master back into single-IP mode. message CompleteIPRotationRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // The name (project, location, cluster id) of the cluster to complete IP // rotation. Specified in the format 'projects/*/locations/*/clusters/*'. @@ -2765,29 +2529,20 @@ message AcceleratorConfig { // SetNetworkPolicyRequest enables/disables network policy for a cluster. message SetNetworkPolicyRequest { - // Required. Deprecated. The Google Developers Console [project ID or project + // 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. - string project_id = 1 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string project_id = 1 [deprecated = true]; - // Required. Deprecated. The name of the Google Compute Engine + // Deprecated. The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field has been deprecated and replaced by the name field. - string zone = 2 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string zone = 2 [deprecated = true]; - // Required. Deprecated. The name of the cluster. + // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. - string cluster_id = 3 [ - deprecated = true, - (google.api.field_behavior) = REQUIRED - ]; + string cluster_id = 3 [deprecated = true]; // Required. Configuration options for the NetworkPolicy feature. NetworkPolicy network_policy = 4 [(google.api.field_behavior) = REQUIRED]; diff --git a/synth.metadata b/synth.metadata index f94bdc68..c98c5833 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-08T09:44:34.451005Z", + "updateTime": "2020-02-11T10:32:50.490923Z", "sources": [ { "generator": { @@ -12,9 +12,9 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e7d8a694f4559201e6913f6610069cb08b39274e", - "internalRef": "293903652", - "log": "e7d8a694f4559201e6913f6610069cb08b39274e\nDepend on the latest gapic-generator and resource names plugin.\n\nThis fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087\n\nPiperOrigin-RevId: 293903652\n\n806b2854a966d55374ee26bb0cef4e30eda17b58\nfix: correct capitalization of Ruby namespaces in SecurityCenter V1p1beta1\n\nPiperOrigin-RevId: 293903613\n\n1b83c92462b14d67a7644e2980f723112472e03a\nPublish annotations and grpc service config for Logging API.\n\nPiperOrigin-RevId: 293893514\n\ne46f761cd6ec15a9e3d5ed4ff321a4bcba8e8585\nGenerate the Bazel build file for recommendengine public api\n\nPiperOrigin-RevId: 293710856\n\n68477017c4173c98addac0373950c6aa9d7b375f\nMake `language_code` optional for UpdateIntentRequest and BatchUpdateIntentsRequest.\n\nThe comments and proto annotations describe this parameter as optional.\n\nPiperOrigin-RevId: 293703548\n\n16f823f578bca4e845a19b88bb9bc5870ea71ab2\nAdd BUILD.bazel files for managedidentities API\n\nPiperOrigin-RevId: 293698246\n\n2f53fd8178c9a9de4ad10fae8dd17a7ba36133f2\nAdd v1p1beta1 config file\n\nPiperOrigin-RevId: 293696729\n\n052b274138fce2be80f97b6dcb83ab343c7c8812\nAdd source field for user event and add field behavior annotations\n\nPiperOrigin-RevId: 293693115\n\n1e89732b2d69151b1b3418fff3d4cc0434f0dded\ndatacatalog: v1beta1 add three new RPCs to gapic v1beta1 config\n\nPiperOrigin-RevId: 293692823\n\n9c8bd09bbdc7c4160a44f1fbab279b73cd7a2337\nchange the name of AccessApproval service to AccessApprovalAdmin\n\nPiperOrigin-RevId: 293690934\n\n" + "sha": "5006247aa157e59118833658084345ee59af7c09", + "internalRef": "294383128", + "log": "5006247aa157e59118833658084345ee59af7c09\nFix: Make deprecated fields optional\nFix: Deprecate SetLoggingServiceRequest.zone in line with the comments\nFeature: Add resource name method signatures where appropriate\n\nPiperOrigin-RevId: 294383128\n\neabba40dac05c5cbe0fca3a35761b17e372036c4\nFix: C# and PHP package/namespace capitalization for BigQuery Storage v1.\n\nPiperOrigin-RevId: 294382444\n\nf8d9a858a7a55eba8009a23aa3f5cc5fe5e88dde\nfix: artman configuration file for bigtable-admin\n\nPiperOrigin-RevId: 294322616\n\n0f29555d1cfcf96add5c0b16b089235afbe9b1a9\nAPI definition for (not-yet-launched) GCS gRPC.\n\nPiperOrigin-RevId: 294321472\n\nfcc86bee0e84dc11e9abbff8d7c3529c0626f390\nfix: Bigtable Admin v2\n\nChange LRO metadata from PartialUpdateInstanceMetadata\nto UpdateInstanceMetadata. (Otherwise, it will not build.)\n\nPiperOrigin-RevId: 294264582\n\n6d9361eae2ebb3f42d8c7ce5baf4bab966fee7c0\nrefactor: Add annotations to Bigtable Admin v2.\n\nPiperOrigin-RevId: 294243406\n\nad7616f3fc8e123451c8b3a7987bc91cea9e6913\nFix: Resource type in CreateLogMetricRequest should use logging.googleapis.com.\nFix: ListLogEntries should have a method signature for convenience of calling it.\n\nPiperOrigin-RevId: 294222165\n\n63796fcbb08712676069e20a3e455c9f7aa21026\nFix: Remove extraneous resource definition for cloudkms.googleapis.com/CryptoKey.\n\nPiperOrigin-RevId: 294176658\n\n" } }, {