From 77cbff7b2cce13372b2d21f544fdb0425630a418 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 6 Feb 2020 15:40:46 -0800 Subject: [PATCH 01/18] chore: update libraries-bom to 4.0.0 --- README.md | 2 +- synth.metadata | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 85b0adc5..e202cddb 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 3.5.0 + 4.0.0 pom import diff --git a/synth.metadata b/synth.metadata index 44d7abe6..62ad48dc 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-03T22:25:32.136125Z", + "updateTime": "2020-02-06T22:44:25.116501Z", "sources": [ { "generator": { @@ -12,16 +12,16 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "29d40b78e3dc1579b0b209463fbcb76e5767f72a", - "internalRef": "292979741", - "log": "29d40b78e3dc1579b0b209463fbcb76e5767f72a\nExpose managedidentities/v1beta1/ API for client library usage.\n\nPiperOrigin-RevId: 292979741\n\na22129a1fb6e18056d576dfb7717aef74b63734a\nExpose managedidentities/v1/ API for client library usage.\n\nPiperOrigin-RevId: 292968186\n\n" + "sha": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760", + "internalRef": "293666452", + "log": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n781aadb932e64a12fb6ead7cd842698d99588433\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293443396\n\ne2602608c9138c2fca24162720e67f9307c30b95\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293442964\n\nc8aef82028d06b7992278fa9294c18570dc86c3d\nAdd cc_proto_library and cc_grpc_library targets for Bigtable protos.\n\nAlso fix indentation of cc_grpc_library targets in Spanner and IAM protos.\n\nPiperOrigin-RevId: 293440538\n\ne2faab04f4cb7f9755072330866689b1943a16e9\ncloudtasks: v2 replace non-standard retry params in gapic config v2\n\nPiperOrigin-RevId: 293424055\n\ndfb4097ea628a8470292c6590a4313aee0c675bd\nerrorreporting: v1beta1 add legacy artman config for php\n\nPiperOrigin-RevId: 293423790\n\nb18aed55b45bfe5b62476292c72759e6c3e573c6\nasset: v1p1beta1 updated comment for `page_size` limit.\n\nPiperOrigin-RevId: 293421386\n\nc9ef36b7956d9859a2fc86ad35fcaa16958ab44f\nbazel: Refactor CI build scripts\n\nPiperOrigin-RevId: 293387911\n\na8ed9d921fdddc61d8467bfd7c1668f0ad90435c\nfix: set Ruby module name for OrgPolicy\n\nPiperOrigin-RevId: 293257997\n\n6c7d28509bd8315de8af0889688ee20099594269\nredis: v1beta1 add UpgradeInstance and connect_mode field to Instance\n\nPiperOrigin-RevId: 293242878\n\nae0abed4fcb4c21f5cb67a82349a049524c4ef68\nredis: v1 add connect_mode field to Instance\n\nPiperOrigin-RevId: 293241914\n\n3f7a0d29b28ee9365771da2b66edf7fa2b4e9c56\nAdds service config definition for bigqueryreservation v1beta1\n\nPiperOrigin-RevId: 293234418\n\n0c88168d5ed6fe353a8cf8cbdc6bf084f6bb66a5\naddition of BUILD & configuration for accessapproval v1\n\nPiperOrigin-RevId: 293219198\n\n39bedc2e30f4778ce81193f6ba1fec56107bcfc4\naccessapproval: v1 publish protos\n\nPiperOrigin-RevId: 293167048\n\n69d9945330a5721cd679f17331a78850e2618226\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080182\n\nf6a1a6b417f39694275ca286110bc3c1ca4db0dc\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080178\n\n" } }, { "template": { "name": "java_library", "origin": "synthtool.gcp", - "version": "2019.10.17" + "version": "2020.2.4" } } ], From 584d428034a5dc509e04806a0e0353c7ac717e05 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 10 Feb 2020 09:07:04 -0800 Subject: [PATCH 02/18] docs(regen): update sample code to set total timeout, add API client header test --- .../container/v1/ClusterManagerSettings.java | 8 +- .../v1/stub/ClusterManagerStubSettings.java | 8 +- .../v1/ClusterManagerClientTest.java | 588 ++++++++++++++++++ synth.metadata | 12 +- 4 files changed, 606 insertions(+), 10 deletions(-) diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index 26cb04cb..de7f713a 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -94,8 +94,12 @@ * * ClusterManagerSettings.Builder clusterManagerSettingsBuilder = * ClusterManagerSettings.newBuilder(); - * clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)); + * clusterManagerSettingsBuilder + * .listClustersSettings() + * .setRetrySettings( + * clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder() + * .setTotalTimeout(Duration.ofSeconds(30)) + * .build()); * ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); * * diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java index 7ef1ec72..358e92fa 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java @@ -110,8 +110,12 @@ * * ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder = * ClusterManagerStubSettings.newBuilder(); - * clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)); + * clusterManagerSettingsBuilder + * .listClustersSettings() + * .setRetrySettings( + * clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder() + * .setTotalTimeout(Duration.ofSeconds(30)) + * .build()); * ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); * * 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 c3cf4c38..320752d5 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 @@ -15,6 +15,8 @@ */ package com.google.cloud.container.v1; +import static com.google.cloud.container.v1.ClusterManagerClient.ListUsableSubnetworksPagedResponse; + import com.google.api.gax.core.NoCredentialsProvider; import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.testing.LocalChannelProvider; @@ -22,6 +24,7 @@ import com.google.api.gax.grpc.testing.MockServiceHelper; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.common.collect.Lists; import com.google.container.v1.AddonsConfig; import com.google.container.v1.CancelOperationRequest; import com.google.container.v1.Cluster; @@ -41,22 +44,34 @@ import com.google.container.v1.ListNodePoolsResponse; import com.google.container.v1.ListOperationsRequest; import com.google.container.v1.ListOperationsResponse; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.ListUsableSubnetworksResponse; import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.MasterAuth; import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.NodeManagement; import com.google.container.v1.NodePool; +import com.google.container.v1.NodePoolAutoscaling; import com.google.container.v1.Operation; import com.google.container.v1.RollbackNodePoolUpgradeRequest; import com.google.container.v1.ServerConfig; import com.google.container.v1.SetAddonsConfigRequest; +import com.google.container.v1.SetLabelsRequest; import com.google.container.v1.SetLegacyAbacRequest; import com.google.container.v1.SetLocationsRequest; import com.google.container.v1.SetLoggingServiceRequest; import com.google.container.v1.SetMaintenancePolicyRequest; +import com.google.container.v1.SetMasterAuthRequest; import com.google.container.v1.SetMonitoringServiceRequest; import com.google.container.v1.SetNetworkPolicyRequest; +import com.google.container.v1.SetNodePoolAutoscalingRequest; +import com.google.container.v1.SetNodePoolManagementRequest; +import com.google.container.v1.SetNodePoolSizeRequest; import com.google.container.v1.StartIPRotationRequest; import com.google.container.v1.UpdateClusterRequest; import com.google.container.v1.UpdateMasterRequest; +import com.google.container.v1.UpdateNodePoolRequest; +import com.google.container.v1.UsableSubnetwork; import com.google.protobuf.AbstractMessage; import com.google.protobuf.Empty; import io.grpc.Status; @@ -64,7 +79,9 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.UUID; import org.junit.After; import org.junit.AfterClass; @@ -379,6 +396,184 @@ public void updateClusterExceptionTest() throws Exception { } } + @Test + @SuppressWarnings("all") + public void updateNodePoolTest() { + 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"; + String nodeVersion = "nodeVersion1790136219"; + String imageType = "imageType-1442758754"; + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .setNodeVersion(nodeVersion) + .setImageType(imageType) + .build(); + + Operation actualResponse = client.updateNodePool(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateNodePoolRequest actualRequest = (UpdateNodePoolRequest) 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.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + 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 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(); + + client.updateNodePool(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void setNodePoolAutoscalingTest() { + 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"; + NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build(); + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .setAutoscaling(autoscaling) + .build(); + + Operation actualResponse = client.setNodePoolAutoscaling(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetNodePoolAutoscalingRequest actualRequest = + (SetNodePoolAutoscalingRequest) 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.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + 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"; + String nodePoolId = "nodePoolId1043384033"; + NodePoolAutoscaling autoscaling = NodePoolAutoscaling.newBuilder().build(); + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .setAutoscaling(autoscaling) + .build(); + + client.setNodePoolAutoscaling(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void setLoggingServiceTest() { @@ -715,6 +910,92 @@ public void updateMasterExceptionTest() throws Exception { } } + @Test + @SuppressWarnings("all") + public void setMasterAuthTest() { + 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"; + 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(); + + 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(projectId, actualRequest.getProjectId()); + Assert.assertEquals(zone, actualRequest.getZone()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + 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 { + 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(); + + client.setMasterAuth(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void deleteClusterTest() { @@ -1282,6 +1563,179 @@ public void rollbackNodePoolUpgradeExceptionTest() throws Exception { } } + @Test + @SuppressWarnings("all") + public void setNodePoolManagementTest() { + 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"; + 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); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetNodePoolManagementRequest actualRequest = + (SetNodePoolManagementRequest) 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(), + 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"; + 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); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + + @Test + @SuppressWarnings("all") + public void setLabelsTest() { + 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"; + 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); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetLabelsRequest actualRequest = (SetLabelsRequest) 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(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + 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"; + 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); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void setLegacyAbacTest() { @@ -1477,6 +1931,92 @@ public void completeIPRotationExceptionTest() throws Exception { } } + @Test + @SuppressWarnings("all") + public void setNodePoolSizeTest() { + 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"; + int nodeCount = 1539922066; + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .setNodeCount(nodeCount) + .build(); + + Operation actualResponse = client.setNodePoolSize(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetNodePoolSizeRequest actualRequest = (SetNodePoolSizeRequest) 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.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + 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"; + String nodePoolId = "nodePoolId1043384033"; + int nodeCount = 1539922066; + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .setNodeCount(nodeCount) + .build(); + + client.setNodePoolSize(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void setNetworkPolicyTest() { @@ -1611,4 +2151,52 @@ public void setMaintenancePolicyExceptionTest() throws Exception { // Expected exception } } + + @Test + @SuppressWarnings("all") + public void listUsableSubnetworksTest() { + String nextPageToken = ""; + UsableSubnetwork subnetworksElement = UsableSubnetwork.newBuilder().build(); + List subnetworks = Arrays.asList(subnetworksElement); + ListUsableSubnetworksResponse expectedResponse = + ListUsableSubnetworksResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllSubnetworks(subnetworks) + .build(); + mockClusterManager.addResponse(expectedResponse); + + ListUsableSubnetworksRequest request = ListUsableSubnetworksRequest.newBuilder().build(); + + ListUsableSubnetworksPagedResponse pagedListResponse = client.listUsableSubnetworks(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSubnetworksList().get(0), resources.get(0)); + + List actualRequests = mockClusterManager.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListUsableSubnetworksRequest actualRequest = + (ListUsableSubnetworksRequest) actualRequests.get(0); + + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + @SuppressWarnings("all") + public void listUsableSubnetworksExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); + mockClusterManager.addException(exception); + + try { + ListUsableSubnetworksRequest request = ListUsableSubnetworksRequest.newBuilder().build(); + + client.listUsableSubnetworks(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } } diff --git a/synth.metadata b/synth.metadata index 62ad48dc..f94bdc68 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-02-06T22:44:25.116501Z", + "updateTime": "2020-02-08T09:44:34.451005Z", "sources": [ { "generator": { "name": "artman", - "version": "0.44.4", - "dockerImage": "googleapis/artman@sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8" + "version": "0.45.0", + "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760", - "internalRef": "293666452", - "log": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n781aadb932e64a12fb6ead7cd842698d99588433\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293443396\n\ne2602608c9138c2fca24162720e67f9307c30b95\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293442964\n\nc8aef82028d06b7992278fa9294c18570dc86c3d\nAdd cc_proto_library and cc_grpc_library targets for Bigtable protos.\n\nAlso fix indentation of cc_grpc_library targets in Spanner and IAM protos.\n\nPiperOrigin-RevId: 293440538\n\ne2faab04f4cb7f9755072330866689b1943a16e9\ncloudtasks: v2 replace non-standard retry params in gapic config v2\n\nPiperOrigin-RevId: 293424055\n\ndfb4097ea628a8470292c6590a4313aee0c675bd\nerrorreporting: v1beta1 add legacy artman config for php\n\nPiperOrigin-RevId: 293423790\n\nb18aed55b45bfe5b62476292c72759e6c3e573c6\nasset: v1p1beta1 updated comment for `page_size` limit.\n\nPiperOrigin-RevId: 293421386\n\nc9ef36b7956d9859a2fc86ad35fcaa16958ab44f\nbazel: Refactor CI build scripts\n\nPiperOrigin-RevId: 293387911\n\na8ed9d921fdddc61d8467bfd7c1668f0ad90435c\nfix: set Ruby module name for OrgPolicy\n\nPiperOrigin-RevId: 293257997\n\n6c7d28509bd8315de8af0889688ee20099594269\nredis: v1beta1 add UpgradeInstance and connect_mode field to Instance\n\nPiperOrigin-RevId: 293242878\n\nae0abed4fcb4c21f5cb67a82349a049524c4ef68\nredis: v1 add connect_mode field to Instance\n\nPiperOrigin-RevId: 293241914\n\n3f7a0d29b28ee9365771da2b66edf7fa2b4e9c56\nAdds service config definition for bigqueryreservation v1beta1\n\nPiperOrigin-RevId: 293234418\n\n0c88168d5ed6fe353a8cf8cbdc6bf084f6bb66a5\naddition of BUILD & configuration for accessapproval v1\n\nPiperOrigin-RevId: 293219198\n\n39bedc2e30f4778ce81193f6ba1fec56107bcfc4\naccessapproval: v1 publish protos\n\nPiperOrigin-RevId: 293167048\n\n69d9945330a5721cd679f17331a78850e2618226\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080182\n\nf6a1a6b417f39694275ca286110bc3c1ca4db0dc\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080178\n\n" + "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" } }, { From 24627f181cf3d38857fb47b05a8898b5b29b7e5c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 11 Feb 2020 18:07:55 +0100 Subject: [PATCH 03/18] deps: update dependency com.google.cloud:google-cloud-core to v1.92.5 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fde36682..dcb9f6cf 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ UTF-8 github google-cloud-container-parent - 1.92.4 + 1.92.5 1.8.1 1.17.0 1.53.1 From 12cae5726861af6527963e3b1a2d616dc6749e69 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 11 Feb 2020 11:49:30 -0800 Subject: [PATCH 04/18] chore: only allow renovate-bot for trusted-contribution auto-labeling --- .github/trusted-contribution.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/trusted-contribution.yml diff --git a/.github/trusted-contribution.yml b/.github/trusted-contribution.yml new file mode 100644 index 00000000..f247d5c7 --- /dev/null +++ b/.github/trusted-contribution.yml @@ -0,0 +1,2 @@ +trustedContributors: +- renovate-bot \ No newline at end of file From 92d3d87fcb308c409175650726c32fd962863266 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 12 Feb 2020 14:03:46 -0800 Subject: [PATCH 05/18] fix(regen): make deprecated fields optional (#64) --- .../container/v1/ClusterManagerClient.java | 1196 ++++++---- .../v1/ClusterManagerClientTest.java | 2080 +++++++++++++---- .../container/v1/CancelOperationRequest.java | 98 +- .../v1/CancelOperationRequestOrBuilder.java | 28 +- .../container/v1/ClusterServiceProto.java | 871 +++---- .../v1/CompleteIPRotationRequest.java | 98 +- .../CompleteIPRotationRequestOrBuilder.java | 28 +- .../container/v1/CreateClusterRequest.java | 63 +- .../v1/CreateClusterRequestOrBuilder.java | 18 +- .../container/v1/CreateNodePoolRequest.java | 98 +- .../v1/CreateNodePoolRequestOrBuilder.java | 28 +- .../container/v1/DeleteClusterRequest.java | 98 +- .../v1/DeleteClusterRequestOrBuilder.java | 28 +- .../container/v1/DeleteNodePoolRequest.java | 133 +- .../v1/DeleteNodePoolRequestOrBuilder.java | 38 +- .../container/v1/GetClusterRequest.java | 98 +- .../v1/GetClusterRequestOrBuilder.java | 28 +- .../container/v1/GetNodePoolRequest.java | 133 +- .../v1/GetNodePoolRequestOrBuilder.java | 38 +- .../container/v1/GetOperationRequest.java | 98 +- .../v1/GetOperationRequestOrBuilder.java | 28 +- .../container/v1/GetServerConfigRequest.java | 63 +- .../v1/GetServerConfigRequestOrBuilder.java | 18 +- .../container/v1/ListClustersRequest.java | 63 +- .../v1/ListClustersRequestOrBuilder.java | 18 +- .../container/v1/ListNodePoolsRequest.java | 98 +- .../v1/ListNodePoolsRequestOrBuilder.java | 28 +- .../container/v1/ListOperationsRequest.java | 63 +- .../v1/ListOperationsRequestOrBuilder.java | 18 +- .../v1/RollbackNodePoolUpgradeRequest.java | 133 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 38 +- .../container/v1/SetAddonsConfigRequest.java | 98 +- .../v1/SetAddonsConfigRequestOrBuilder.java | 28 +- .../google/container/v1/SetLabelsRequest.java | 98 +- .../v1/SetLabelsRequestOrBuilder.java | 28 +- .../container/v1/SetLegacyAbacRequest.java | 98 +- .../v1/SetLegacyAbacRequestOrBuilder.java | 28 +- .../container/v1/SetLocationsRequest.java | 98 +- .../v1/SetLocationsRequestOrBuilder.java | 28 +- .../v1/SetLoggingServiceRequest.java | 105 +- .../v1/SetLoggingServiceRequestOrBuilder.java | 30 +- .../container/v1/SetMasterAuthRequest.java | 98 +- .../v1/SetMasterAuthRequestOrBuilder.java | 28 +- .../v1/SetMonitoringServiceRequest.java | 98 +- .../SetMonitoringServiceRequestOrBuilder.java | 28 +- .../container/v1/SetNetworkPolicyRequest.java | 98 +- .../v1/SetNetworkPolicyRequestOrBuilder.java | 28 +- .../v1/SetNodePoolAutoscalingRequest.java | 133 +- ...etNodePoolAutoscalingRequestOrBuilder.java | 38 +- .../v1/SetNodePoolManagementRequest.java | 133 +- ...SetNodePoolManagementRequestOrBuilder.java | 38 +- .../container/v1/SetNodePoolSizeRequest.java | 133 +- .../v1/SetNodePoolSizeRequestOrBuilder.java | 38 +- .../container/v1/StartIPRotationRequest.java | 98 +- .../v1/StartIPRotationRequestOrBuilder.java | 28 +- .../container/v1/UpdateClusterRequest.java | 98 +- .../v1/UpdateClusterRequestOrBuilder.java | 28 +- .../container/v1/UpdateMasterRequest.java | 98 +- .../v1/UpdateMasterRequestOrBuilder.java | 28 +- .../container/v1/UpdateNodePoolRequest.java | 133 +- .../v1/UpdateNodePoolRequestOrBuilder.java | 38 +- .../google/container/v1/cluster_service.proto | 649 ++--- synth.metadata | 8 +- 63 files changed, 4634 insertions(+), 3968 deletions(-) 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" } }, { From 7de8a79c9d169280680048a8f78f1b5e127f2bf7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2020 14:03:59 -0800 Subject: [PATCH 06/18] chore: release 0.119.2-SNAPSHOT (#62) * updated versions.txt [ci skip] * updated google-cloud-container-bom/pom.xml [ci skip] * updated google-cloud-container/pom.xml [ci skip] * updated grpc-google-cloud-container-v1/pom.xml [ci skip] * updated pom.xml [ci skip] * updated proto-google-cloud-container-v1/pom.xml [ci skip] Co-authored-by: Jeff Ching --- google-cloud-container-bom/pom.xml | 8 ++++---- google-cloud-container/pom.xml | 4 ++-- grpc-google-cloud-container-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-container-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index 11b34a8e..03c0d8c2 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container-bom - 0.119.1-beta + 0.119.2-beta-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.api.grpc grpc-google-cloud-container-v1 - 0.84.1 + 0.84.2-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 0.84.1 + 0.84.2-SNAPSHOT com.google.cloud google-cloud-container - 0.119.1-beta + 0.119.2-beta-SNAPSHOT diff --git a/google-cloud-container/pom.xml b/google-cloud-container/pom.xml index 47ec0458..cc6951d7 100644 --- a/google-cloud-container/pom.xml +++ b/google-cloud-container/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container - 0.119.1-beta + 0.119.2-beta-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/java-container @@ -11,7 +11,7 @@ com.google.cloud google-cloud-container-parent - 0.119.1-beta + 0.119.2-beta-SNAPSHOT google-cloud-container diff --git a/grpc-google-cloud-container-v1/pom.xml b/grpc-google-cloud-container-v1/pom.xml index 02fd745c..c83bde0c 100644 --- a/grpc-google-cloud-container-v1/pom.xml +++ b/grpc-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.84.1 + 0.84.2-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 0.119.1-beta + 0.119.2-beta-SNAPSHOT diff --git a/pom.xml b/pom.xml index dcb9f6cf..aa2b97af 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-container-parent pom - 0.119.1-beta + 0.119.2-beta-SNAPSHOT Google Cloud Container Parent https://github.com/googleapis/java-container @@ -81,17 +81,17 @@ com.google.api.grpc proto-google-cloud-container-v1 - 0.84.1 + 0.84.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 0.84.1 + 0.84.2-SNAPSHOT com.google.cloud google-cloud-container - 0.119.1-beta + 0.119.2-beta-SNAPSHOT diff --git a/proto-google-cloud-container-v1/pom.xml b/proto-google-cloud-container-v1/pom.xml index d2a10cb9..886b304b 100644 --- a/proto-google-cloud-container-v1/pom.xml +++ b/proto-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.84.1 + 0.84.2-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 0.119.1-beta + 0.119.2-beta-SNAPSHOT diff --git a/versions.txt b/versions.txt index 0edbf486..2a1c4c79 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-container-v1:0.84.1:0.84.1 -grpc-google-cloud-container-v1:0.84.1:0.84.1 -google-cloud-container:0.119.1-beta:0.119.1-beta +proto-google-cloud-container-v1:0.84.1:0.84.2-SNAPSHOT +grpc-google-cloud-container-v1:0.84.1:0.84.2-SNAPSHOT +google-cloud-container:0.119.1-beta:0.119.2-beta-SNAPSHOT From f16dfcb41ab5b926e0cbd3636d7b6fa493ab8b7a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 13 Feb 2020 10:12:21 -0800 Subject: [PATCH 07/18] chore: update libraries-bom version to 4.0.1 in README --- README.md | 2 +- synth.metadata | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e202cddb..daa4721e 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.0.0 + 4.0.1 pom import diff --git a/synth.metadata b/synth.metadata index c98c5833..d7b6ea61 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,6 +1,20 @@ { - "updateTime": "2020-02-11T10:32:50.490923Z", + "updateTime": "2020-02-13T09:43:52.049154Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-container.git", + "sha": "7de8a79c9d169280680048a8f78f1b5e127f2bf7" + } + }, + { + "git": { + "name": "synthtool", + "remote": "rpc://devrel/cloud/libraries/tools/autosynth", + "sha": "dd7cd93888cbeb1d4c56a1ca814491c7813160e8" + } + }, { "generator": { "name": "artman", @@ -12,9 +26,9 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "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" + "sha": "0646bc775203077226c2c34d3e4d50cc4ec53660", + "internalRef": "294809380", + "log": "0646bc775203077226c2c34d3e4d50cc4ec53660\nRemove unnecessary languages from bigquery-related artman configuration files.\n\nPiperOrigin-RevId: 294809380\n\n8b78aa04382e3d4147112ad6d344666771bb1909\nUpdate backend.proto for schemes and protocol\n\nPiperOrigin-RevId: 294788800\n\n80b8f8b3de2359831295e24e5238641a38d8488f\nAdds artman config files for bigquerystorage endpoints v1beta2, v1alpha2, v1\n\nPiperOrigin-RevId: 294763931\n\n2c17ac33b226194041155bb5340c3f34733f1b3a\nAdd parameter to sample generated for UpdateInstance. Related to https://github.com/googleapis/python-redis/issues/4\n\nPiperOrigin-RevId: 294734008\n\nd5e8a8953f2acdfe96fb15e85eb2f33739623957\nMove bigquery datatransfer to gapic v2.\n\nPiperOrigin-RevId: 294703703\n\nefd36705972cfcd7d00ab4c6dfa1135bafacd4ae\nfix: Add two annotations that we missed.\n\nPiperOrigin-RevId: 294664231\n\n8a36b928873ff9c05b43859b9d4ea14cd205df57\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1beta2).\n\nPiperOrigin-RevId: 294459768\n\nc7a3caa2c40c49f034a3c11079dd90eb24987047\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1).\n\nPiperOrigin-RevId: 294456889\n\n" } }, { From 1d8b199f2e48ea2a22ce3a00fccd405363a4d16b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 14 Feb 2020 15:38:25 -0800 Subject: [PATCH 08/18] chore: update libraries-bom to 4.1.0 This PR was generated using Autosynth. :rainbow: Commits in this repo since last synth:
Log from Synthtool ``` synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. On branch autosynth nothing to commit, working tree clean HEAD detached at FETCH_HEAD nothing to commit, working tree clean synthtool > Ensuring dependencies. synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b Status: Image is up to date for googleapis/artman:latest synthtool > Cloning googleapis. synthtool > Running generator for google/container/artman_container_v1.yaml. synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java. synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java. synthtool > No replacements made in [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/**/*Name.java'), PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-container-v1/src/**/*Names.java')] for pattern /\* \* Copyright \d{4} Google LLC \* \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except \* in compliance with the License. You may obtain a copy of the License at \* \* http://www.apache.org/licenses/LICENSE-2.0 \* \* Unless required by applicable law or agreed to in writing, software distributed under the License \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express \* or implied. See the License for the specific language governing permissions and limitations under \* the License. \*/ , maybe replacement is not longer needed? synthtool > Replaced 'package com.google.container.v1;' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java. synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-container-v1/samples/src')] were copied. Does the source contain files? synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-container-v1/samples/resources')] were copied. Does the source contain files? synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-container-v1/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? synthtool > Running java formatter on 13 files synthtool > Running java formatter on 1 files synthtool > Running java formatter on 159 files synthtool > Running java formatter on 0 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/propose_release.sh .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/bump_snapshot.sh .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json synthtool > Wrote metadata to synth.metadata. ```
--- README.md | 2 +- synth.metadata | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index daa4721e..540b26af 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.0.1 + 4.1.0 pom import diff --git a/synth.metadata b/synth.metadata index d7b6ea61..1a0e9db5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,11 +1,11 @@ { - "updateTime": "2020-02-13T09:43:52.049154Z", + "updateTime": "2020-02-14T22:42:54.577862Z", "sources": [ { "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "7de8a79c9d169280680048a8f78f1b5e127f2bf7" + "sha": "f16dfcb41ab5b926e0cbd3636d7b6fa493ab8b7a" } }, { @@ -26,9 +26,9 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0646bc775203077226c2c34d3e4d50cc4ec53660", - "internalRef": "294809380", - "log": "0646bc775203077226c2c34d3e4d50cc4ec53660\nRemove unnecessary languages from bigquery-related artman configuration files.\n\nPiperOrigin-RevId: 294809380\n\n8b78aa04382e3d4147112ad6d344666771bb1909\nUpdate backend.proto for schemes and protocol\n\nPiperOrigin-RevId: 294788800\n\n80b8f8b3de2359831295e24e5238641a38d8488f\nAdds artman config files for bigquerystorage endpoints v1beta2, v1alpha2, v1\n\nPiperOrigin-RevId: 294763931\n\n2c17ac33b226194041155bb5340c3f34733f1b3a\nAdd parameter to sample generated for UpdateInstance. Related to https://github.com/googleapis/python-redis/issues/4\n\nPiperOrigin-RevId: 294734008\n\nd5e8a8953f2acdfe96fb15e85eb2f33739623957\nMove bigquery datatransfer to gapic v2.\n\nPiperOrigin-RevId: 294703703\n\nefd36705972cfcd7d00ab4c6dfa1135bafacd4ae\nfix: Add two annotations that we missed.\n\nPiperOrigin-RevId: 294664231\n\n8a36b928873ff9c05b43859b9d4ea14cd205df57\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1beta2).\n\nPiperOrigin-RevId: 294459768\n\nc7a3caa2c40c49f034a3c11079dd90eb24987047\nFix: Define the \"bigquery.googleapis.com/Table\" resource in the BigQuery Storage API (v1).\n\nPiperOrigin-RevId: 294456889\n\n" + "sha": "d9835e922ea79eed8497db270d2f9f85099a519c", + "internalRef": "295185610", + "log": "d9835e922ea79eed8497db270d2f9f85099a519c\nUpdate some minor docs changes about user event proto\n\nPiperOrigin-RevId: 295185610\n\n5f311e416e69c170243de722023b22f3df89ec1c\nfix: use correct PHP package name in gapic configuration\n\nPiperOrigin-RevId: 295161330\n\n6cdd74dcdb071694da6a6b5a206e3a320b62dd11\npubsub: v1 add client config annotations and retry config\n\nPiperOrigin-RevId: 295158776\n\n5169f46d9f792e2934d9fa25c36d0515b4fd0024\nAdded cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295026522\n\n56b55aa8818cd0a532a7d779f6ef337ba809ccbd\nFix: Resource annotations for CreateTimeSeriesRequest and ListTimeSeriesRequest should refer to valid resources. TimeSeries is not a named resource.\n\nPiperOrigin-RevId: 294931650\n\n" } }, { From e5f3ab9c112cf9f2d05fa3a70eeaf58246e0166c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 21 Feb 2020 17:36:47 +0100 Subject: [PATCH 09/18] deps: update dependency com.google.protobuf:protobuf-bom to v3.11.4 This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | patch | `3.11.3` -> `3.11.4` | --- ### Release Notes
protocolbuffers/protobuf ### [`v3.11.4`](https://togithub.com/protocolbuffers/protobuf/releases/v3.11.4) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.11.3...v3.11.4) # C# - Fix latest ArgumentException for C# extensions ([#​7188](https://togithub.com/protocolbuffers/protobuf/issues/7188)) - Enforce recursion depth checking for unknown fields ([#​7210](https://togithub.com/protocolbuffers/protobuf/issues/7210)) # Ruby - Fix wrappers with a zero value ([#​7195](https://togithub.com/protocolbuffers/protobuf/issues/7195)) - Fix JSON serialization of 0/empty-valued wrapper types ([#​7198](https://togithub.com/protocolbuffers/protobuf/issues/7198))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index aa2b97af..3b6a50d2 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ 1.17.0 1.53.1 1.27.0 - 3.11.3 + 3.11.4 4.13 28.2-android 1.4.1 From 42c9bac676770edfd402230a2af3905a2a806ca1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 21 Feb 2020 19:31:25 +0100 Subject: [PATCH 10/18] deps: update dependency io.grpc:grpc-bom to v1.27.1 This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | patch | `1.27.0` -> `1.27.1` | --- ### Release Notes
grpc/grpc-java ### [`v1.27.1`](https://togithub.com/grpc/grpc-java/releases/v1.27.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.27.0...v1.27.1) #### Bug Fixes - alts: Fix using the wrong way of checking if Conscrypt is available ([#​6672](https://togithub.com/grpc/grpc-java/issues/6672))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3b6a50d2..df461617 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 1.8.1 1.17.0 1.53.1 - 1.27.0 + 1.27.1 3.11.4 4.13 28.2-android From f25f772a19e0d39a33d25450fd0a854d55a315e4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 21 Feb 2020 15:39:56 -0800 Subject: [PATCH 11/18] chore: update common templates --- .kokoro/build.sh | 23 +++++++++++++++-------- README.md | 6 ++++-- renovate.json | 7 +++++++ synth.metadata | 34 +++++++++++++++++----------------- 4 files changed, 43 insertions(+), 27 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index f1ae5840..d11958c5 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -62,14 +62,21 @@ integration) bash .kokoro/coerce_logs.sh ;; samples) - mvn -B \ - -Penable-samples \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - bash .kokoro/coerce_logs.sh + if [[ -f samples/pom.xml ]] + then + pushd samples + mvn -B \ + -Penable-samples \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + bash .kokoro/coerce_logs.sh + popd + else + echo "no sample pom.xml found - skipping sample tests" + fi ;; clirr) mvn -B -Denforcer.skip=true clirr:check diff --git a/README.md b/README.md index 540b26af..1c3706ea 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
- com.google.cloud @@ -87,6 +86,8 @@ use this Kubernetes Engine Client Library. + + ## Troubleshooting To get help, follow the instructions in the [shared Troubleshooting document][troubleshooting]. @@ -158,4 +159,5 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] [license]: https://github.com/googleapis/java-container/blob/master/LICENSE [enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=container.googleapis.com -[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM \ No newline at end of file +[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM +[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png diff --git a/renovate.json b/renovate.json index 268a4669..fc641270 100644 --- a/renovate.json +++ b/renovate.json @@ -54,6 +54,13 @@ "semanticCommitType": "build", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^com.google.cloud:libraries-bom" + ], + "semanticCommitType": "chore", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" diff --git a/synth.metadata b/synth.metadata index 1a0e9db5..46152e5f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,34 +1,34 @@ { - "updateTime": "2020-02-14T22:42:54.577862Z", + "updateTime": "2020-02-21T22:44:04.098664Z", "sources": [ { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-container.git", - "sha": "f16dfcb41ab5b926e0cbd3636d7b6fa493ab8b7a" + "generator": { + "name": "artman", + "version": "0.45.0", + "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" } }, { "git": { - "name": "synthtool", - "remote": "rpc://devrel/cloud/libraries/tools/autosynth", - "sha": "dd7cd93888cbeb1d4c56a1ca814491c7813160e8" + "name": ".", + "remote": "https://github.com/googleapis/java-container.git", + "sha": "42c9bac676770edfd402230a2af3905a2a806ca1" } }, { - "generator": { - "name": "artman", - "version": "0.45.0", - "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" + "git": { + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2", + "internalRef": "296451205", + "log": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2\nUpdate Dataproc v1beta2 client.\n\nPiperOrigin-RevId: 296451205\n\nde287524405a3dce124d301634731584fc0432d7\nFix: Reinstate method signatures that had been missed off some RPCs\nFix: Correct resource types for two fields\n\nPiperOrigin-RevId: 296435091\n\ne5bc9566ae057fb4c92f8b7e047f1c8958235b53\nDeprecate the endpoint_uris field, as it is unused.\n\nPiperOrigin-RevId: 296357191\n\n8c12e2b4dca94e12bff9f538bdac29524ff7ef7a\nUpdate Dataproc v1 client.\n\nPiperOrigin-RevId: 296336662\n\n17567c4a1ef0a9b50faa87024d66f8acbb561089\nRemoving erroneous comment, a la https://github.com/googleapis/java-speech/pull/103\n\nPiperOrigin-RevId: 296332968\n\n3eaaaf8626ce5b0c0bc7eee05e143beffa373b01\nAdd BUILD.bazel for v1 secretmanager.googleapis.com\n\nPiperOrigin-RevId: 296274723\n\ne76149c3d992337f85eeb45643106aacae7ede82\nMove securitycenter v1 to use generate from annotations.\n\nPiperOrigin-RevId: 296266862\n\n203740c78ac69ee07c3bf6be7408048751f618f8\nAdd StackdriverLoggingConfig field to Cloud Tasks v2 API.\n\nPiperOrigin-RevId: 296256388\n\ne4117d5e9ed8bbca28da4a60a94947ca51cb2083\nCreate a Bazel BUILD file for the google.actions.type export.\n\nPiperOrigin-RevId: 296212567\n\na9639a0a9854fd6e1be08bba1ac3897f4f16cb2f\nAdd secretmanager.googleapis.com v1 protos\n\nPiperOrigin-RevId: 295983266\n\nce4f4c21d9dd2bfab18873a80449b9d9851efde8\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295861722\n\ncb61d6c2d070b589980c779b68ffca617f789116\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295855449\n\nab2685d8d3a0e191dc8aef83df36773c07cb3d06\nfix: Dataproc v1 - AutoscalingPolicy annotation\n\nThis adds the second resource name pattern to the\nAutoscalingPolicy resource.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 295738415\n\n8a1020bf6828f6e3c84c3014f2c51cb62b739140\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295286165\n\n5cfa105206e77670369e4b2225597386aba32985\nAdd service control related proto build rule.\n\nPiperOrigin-RevId: 295262088\n\nee4dddf805072004ab19ac94df2ce669046eec26\nmonitoring v3: Add prefix \"https://cloud.google.com/\" into the link for global access\ncl 295167522, get ride of synth.py hacks\n\nPiperOrigin-RevId: 295238095\n\n" } }, { "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d9835e922ea79eed8497db270d2f9f85099a519c", - "internalRef": "295185610", - "log": "d9835e922ea79eed8497db270d2f9f85099a519c\nUpdate some minor docs changes about user event proto\n\nPiperOrigin-RevId: 295185610\n\n5f311e416e69c170243de722023b22f3df89ec1c\nfix: use correct PHP package name in gapic configuration\n\nPiperOrigin-RevId: 295161330\n\n6cdd74dcdb071694da6a6b5a206e3a320b62dd11\npubsub: v1 add client config annotations and retry config\n\nPiperOrigin-RevId: 295158776\n\n5169f46d9f792e2934d9fa25c36d0515b4fd0024\nAdded cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295026522\n\n56b55aa8818cd0a532a7d779f6ef337ba809ccbd\nFix: Resource annotations for CreateTimeSeriesRequest and ListTimeSeriesRequest should refer to valid resources. TimeSeries is not a named resource.\n\nPiperOrigin-RevId: 294931650\n\n" + "name": "synthtool", + "remote": "rpc://devrel/cloud/libraries/tools/autosynth", + "sha": "706a38c26db42299845396cdae55db635c38794a" } }, { From c51c469175f3582f4cb0a67071f1c1defbdabe8c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 24 Feb 2020 10:36:51 -0800 Subject: [PATCH 12/18] chore: update common templates --- .kokoro/build.sh | 24 +++++++++++++++++++++--- synth.metadata | 11 +++++------ 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index d11958c5..a4b8a263 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -37,19 +37,24 @@ if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTI export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) fi +RETURN_CODE=0 +set +e + case ${JOB_TYPE} in test) mvn test -B -Dclirr.skip=true -Denforcer.skip=true + RETURN_CODE=$? bash ${KOKORO_GFILE_DIR}/codecov.sh - bash .kokoro/coerce_logs.sh ;; lint) mvn \ -Penable-samples \ com.coveo:fmt-maven-plugin:check + RETURN_CODE=$? ;; javadoc) mvn javadoc:javadoc javadoc:test-javadoc + RETURN_CODE=$? ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ @@ -59,7 +64,7 @@ integration) -Denforcer.skip=true \ -fae \ verify - bash .kokoro/coerce_logs.sh + RETURN_CODE=$? ;; samples) if [[ -f samples/pom.xml ]] @@ -72,7 +77,7 @@ samples) -Denforcer.skip=true \ -fae \ verify - bash .kokoro/coerce_logs.sh + RETURN_CODE=$? popd else echo "no sample pom.xml found - skipping sample tests" @@ -80,7 +85,20 @@ samples) ;; clirr) mvn -B -Denforcer.skip=true clirr:check + RETURN_CODE=$? ;; *) ;; esac + +# fix output location of logs +bash .kokoro/coerce_logs.sh + +if [[ "${ENABLE_BUILD_COP}" == "true" ]] +then + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop + ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-container +fi + +echo "exiting with ${RETURN_CODE}" +exit ${RETURN_CODE} \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 46152e5f..42fe9359 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2020-02-21T22:44:04.098664Z", + "updateTime": "2020-02-22T09:45:18.284735Z", "sources": [ { "generator": { "name": "artman", - "version": "0.45.0", - "dockerImage": "googleapis/artman@sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b" + "version": "0.45.1", + "dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738" } }, { "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "42c9bac676770edfd402230a2af3905a2a806ca1" + "sha": "f25f772a19e0d39a33d25450fd0a854d55a315e4" } }, { @@ -20,8 +20,7 @@ "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", "sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2", - "internalRef": "296451205", - "log": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2\nUpdate Dataproc v1beta2 client.\n\nPiperOrigin-RevId: 296451205\n\nde287524405a3dce124d301634731584fc0432d7\nFix: Reinstate method signatures that had been missed off some RPCs\nFix: Correct resource types for two fields\n\nPiperOrigin-RevId: 296435091\n\ne5bc9566ae057fb4c92f8b7e047f1c8958235b53\nDeprecate the endpoint_uris field, as it is unused.\n\nPiperOrigin-RevId: 296357191\n\n8c12e2b4dca94e12bff9f538bdac29524ff7ef7a\nUpdate Dataproc v1 client.\n\nPiperOrigin-RevId: 296336662\n\n17567c4a1ef0a9b50faa87024d66f8acbb561089\nRemoving erroneous comment, a la https://github.com/googleapis/java-speech/pull/103\n\nPiperOrigin-RevId: 296332968\n\n3eaaaf8626ce5b0c0bc7eee05e143beffa373b01\nAdd BUILD.bazel for v1 secretmanager.googleapis.com\n\nPiperOrigin-RevId: 296274723\n\ne76149c3d992337f85eeb45643106aacae7ede82\nMove securitycenter v1 to use generate from annotations.\n\nPiperOrigin-RevId: 296266862\n\n203740c78ac69ee07c3bf6be7408048751f618f8\nAdd StackdriverLoggingConfig field to Cloud Tasks v2 API.\n\nPiperOrigin-RevId: 296256388\n\ne4117d5e9ed8bbca28da4a60a94947ca51cb2083\nCreate a Bazel BUILD file for the google.actions.type export.\n\nPiperOrigin-RevId: 296212567\n\na9639a0a9854fd6e1be08bba1ac3897f4f16cb2f\nAdd secretmanager.googleapis.com v1 protos\n\nPiperOrigin-RevId: 295983266\n\nce4f4c21d9dd2bfab18873a80449b9d9851efde8\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295861722\n\ncb61d6c2d070b589980c779b68ffca617f789116\nasset: v1p1beta1 remove SearchResources and SearchIamPolicies\n\nPiperOrigin-RevId: 295855449\n\nab2685d8d3a0e191dc8aef83df36773c07cb3d06\nfix: Dataproc v1 - AutoscalingPolicy annotation\n\nThis adds the second resource name pattern to the\nAutoscalingPolicy resource.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 295738415\n\n8a1020bf6828f6e3c84c3014f2c51cb62b739140\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 295286165\n\n5cfa105206e77670369e4b2225597386aba32985\nAdd service control related proto build rule.\n\nPiperOrigin-RevId: 295262088\n\nee4dddf805072004ab19ac94df2ce669046eec26\nmonitoring v3: Add prefix \"https://cloud.google.com/\" into the link for global access\ncl 295167522, get ride of synth.py hacks\n\nPiperOrigin-RevId: 295238095\n\n" + "internalRef": "296451205" } }, { From 57854479ed0da43870a18c5622abf69c072dc265 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 25 Feb 2020 09:44:24 -0800 Subject: [PATCH 13/18] chore: update common templates --- .kokoro/build.sh | 8 ++++++-- .kokoro/continuous/java8.cfg | 5 +++++ .kokoro/nightly/integration.cfg | 14 ++++++++++++++ .kokoro/nightly/java8.cfg | 5 +++++ .kokoro/nightly/samples.cfg | 21 +++++++++++++-------- .kokoro/presubmit/java8.cfg | 5 +++++ README.md | 2 +- synth.metadata | 21 ++++----------------- 8 files changed, 53 insertions(+), 28 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index a4b8a263..ac4504f7 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -44,7 +44,6 @@ case ${JOB_TYPE} in test) mvn test -B -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? - bash ${KOKORO_GFILE_DIR}/codecov.sh ;; lint) mvn \ @@ -91,6 +90,11 @@ clirr) ;; esac +if [ "${REPORT_COVERAGE}" == "true" ] +then + bash ${KOKORO_GFILE_DIR}/codecov.sh +fi + # fix output location of logs bash .kokoro/coerce_logs.sh @@ -101,4 +105,4 @@ then fi echo "exiting with ${RETURN_CODE}" -exit ${RETURN_CODE} \ No newline at end of file +exit ${RETURN_CODE} diff --git a/.kokoro/continuous/java8.cfg b/.kokoro/continuous/java8.cfg index 3b017fc8..495cc7ba 100644 --- a/.kokoro/continuous/java8.cfg +++ b/.kokoro/continuous/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 3b017fc8..8bf59c02 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -5,3 +5,17 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/.kokoro/nightly/java8.cfg b/.kokoro/nightly/java8.cfg index 3b017fc8..495cc7ba 100644 --- a/.kokoro/nightly/java8.cfg +++ b/.kokoro/nightly/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg index 9a910249..b4b051cd 100644 --- a/.kokoro/nightly/samples.cfg +++ b/.kokoro/nightly/samples.cfg @@ -2,23 +2,28 @@ # Configure the docker image for kokoro-trampoline. env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" } env_vars: { - key: "JOB_TYPE" - value: "samples" + key: "JOB_TYPE" + value: "samples" } env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "gcloud-devel" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } before_action { diff --git a/.kokoro/presubmit/java8.cfg b/.kokoro/presubmit/java8.cfg index 3b017fc8..495cc7ba 100644 --- a/.kokoro/presubmit/java8.cfg +++ b/.kokoro/presubmit/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/README.md b/README.md index 1c3706ea..a369906b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.1.0 + 4.1.1 pom import diff --git a/synth.metadata b/synth.metadata index 42fe9359..dd0c30ea 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-22T09:45:18.284735Z", + "updateTime": "2020-02-24T22:45:09.866168Z", "sources": [ { "generator": { @@ -8,26 +8,13 @@ "dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738" } }, - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-container.git", - "sha": "f25f772a19e0d39a33d25450fd0a854d55a315e4" - } - }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2", - "internalRef": "296451205" - } - }, - { - "git": { - "name": "synthtool", - "remote": "rpc://devrel/cloud/libraries/tools/autosynth", - "sha": "706a38c26db42299845396cdae55db635c38794a" + "sha": "1e47e676cddbbd8d93f19ba0665af15b5532417e", + "internalRef": "296901854", + "log": "1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n" } }, { From f3fe5b48d9aec62bdf57431dca41e333f252791f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 27 Feb 2020 18:26:31 +0100 Subject: [PATCH 14/18] deps: update dependency io.grpc:grpc-bom to v1.27.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index df461617..db00df03 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 1.8.1 1.17.0 1.53.1 - 1.27.1 + 1.27.2 3.11.4 4.13 28.2-android From e3c268d80506403ce754fbda9cbd4009975a4e2f Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 27 Feb 2020 13:23:36 -0800 Subject: [PATCH 15/18] feat: promote to GA (#77) Release-As: 1.0.0 --- .repo-metadata.json | 2 +- README.md | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 1da6be50..3bf48005 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -4,7 +4,7 @@ "product_documentation": "https://cloud.google.com/kubernetes-engine/", "client_documentation": "https://googleapis.dev/java/google-cloud-container/latest/", "issue_tracker": "https://issuetracker.google.com/savedsearches/559777", - "release_level": "beta", + "release_level": "ga", "language": "java", "repo": "googleapis/java-container", "repo_short": "java-container", diff --git a/README.md b/README.md index a369906b..36f19bb7 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ Java idiomatic client for [Kubernetes Engine][product-docs]. - [Product Documentation][product-docs] - [Client Library Documentation][javadocs] -> Note: This client is a work-in-progress, and may occasionally -> make backwards-incompatible changes. - ## Quickstart If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file @@ -105,9 +102,6 @@ Java 7 or above is required for using this client. This library follows [Semantic Versioning](http://semver.org/). -It is currently in major version zero (``0.y.z``), which means that anything may change at any time -and the public API should not be considered stable. - ## Contributing @@ -146,7 +140,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] [kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-container/java8-win.html [kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-container/java11.svg [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-container/java11.html -[stability-image]: https://img.shields.io/badge/stability-beta-yellow +[stability-image]: https://img.shields.io/badge/stability-ga-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-container&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication From 61eef082c24eed97d3d27cf70638df704e1d2286 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Feb 2020 06:39:40 +0100 Subject: [PATCH 16/18] deps: update core dependencies (#76) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | minor | `1.53.1` -> `1.54.0` | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | minor | `1.53.1` -> `1.54.0` | | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | minor | `1.92.5` -> `1.93.0` | --- ### Release Notes
googleapis/gax-java ### [`v1.54.0`](https://togithub.com/googleapis/gax-java/releases/v1.54.0) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.53.1...v1.54.0) 02-27-2020 09:07 PST ##### New Features - Scale number of threads to scale with number of cpus ([#​878](https://togithub.com/googleapis/gax-java/pull/878)) - Do not shut down executor when WatchDog is shut down ([#​871](https://togithub.com/googleapis/gax-java/pull/871)) ##### Dependencies - Update google-http-client to 1.34.2 ([#​886](https://togithub.com/googleapis/gax-java/pull/886)) - Update gRPC to 1.27.2 ([#​885](https://togithub.com/googleapis/gax-java/pull/885)) - Update protobuf to 3.11.4 and gRPC to 1.27.1 ([#​882](https://togithub.com/googleapis/gax-java/pull/882)) ##### Documentation - Add javadoc about being called within single thread ([#​856](https://togithub.com/googleapis/gax-java/pull/856)) ##### Internal / Testing Changes - Update jacoco to 0.8.5 ([#​883](https://togithub.com/googleapis/gax-java/pull/883)) - Update google format plugin ([#​868](https://togithub.com/googleapis/gax-java/pull/868)) - Set up linkage monitor Kokoro build config for gax-java ([#​864](https://togithub.com/googleapis/gax-java/pull/864))
googleapis/java-core ### [`v1.93.0`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1930httpswwwgithubcomgoogleapisjava-corecomparev1926v1930-2020-02-27) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.92.5...v1.93.0) ##### Features - support conditional policies ([#​110](https://www.github.com/googleapis/java-core/issues/110)) ([61e2d19](https://www.github.com/googleapis/java-core/commit/61e2d19bb4400978681aa018a8dc200214203830)) ##### Bug Fixes - fix conversion for pre-epoch timestamps ([#​160](https://www.github.com/googleapis/java-core/issues/160)) ([1f8b6b4](https://www.github.com/googleapis/java-core/commit/1f8b6b4835aaa702ec94bbbde89ed90f519c935a)) ##### Dependencies - update dependency com.google.api:gax-bom to v1.54.0 ([#​168](https://www.github.com/googleapis/java-core/issues/168)) ([5b52f9e](https://www.github.com/googleapis/java-core/commit/5b52f9e8d8cdc82b56114d3d1e857d137ae7ca98)) - update dependency io.grpc:grpc-bom to v1.27.2 ([#​166](https://www.github.com/googleapis/java-core/issues/166)) ([28c9859](https://www.github.com/googleapis/java-core/commit/28c98595c9ee96760a063085bd85024177bd6dd2)) ##### [1.92.5](https://www.github.com/googleapis/java-core/compare/v1.92.4...v1.92.5) (2020-02-10) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.30.8 ([#​146](https://www.github.com/googleapis/java-core/issues/146)) ([1d9c7db](https://www.github.com/googleapis/java-core/commit/1d9c7db40502eff9723f27c24be31ecc2fac9c5d)) - update dependency com.google.protobuf:protobuf-bom to v3.11.3 ([#​148](https://www.github.com/googleapis/java-core/issues/148)) ([092c69b](https://www.github.com/googleapis/java-core/commit/092c69bef5b10cf27ef6770e90ae8e50ea205dcd)) ##### [1.92.4](https://www.github.com/googleapis/java-core/compare/v1.92.3...v1.92.4) (2020-01-31) ##### Dependencies - update core dependencies ([#​143](https://www.github.com/googleapis/java-core/issues/143)) ([454ce1d](https://www.github.com/googleapis/java-core/commit/454ce1dc5a6a41f3333a2a5303315cd9eb66f442)) ##### [1.92.3](https://www.github.com/googleapis/java-core/compare/v1.92.2...v1.92.3) (2020-01-28) ##### Dependencies - update dependency com.google.api:gax-bom to v1.53.0 ([#​126](https://www.github.com/googleapis/java-core/issues/126)) ([bdb1bce](https://www.github.com/googleapis/java-core/commit/bdb1bceb63502c828a37dd50fdb3e0e2204fc0aa)) - update dependency com.google.auth:google-auth-library-bom to v0.20.0 ([#​135](https://www.github.com/googleapis/java-core/issues/135)) ([f40c636](https://www.github.com/googleapis/java-core/commit/f40c6365b1b19bc3360b0094599311bc3271f0e5)) - update dependency com.google.http-client:google-http-client-bom to v1.34.1 ([#​137](https://www.github.com/googleapis/java-core/issues/137)) ([9216702](https://www.github.com/googleapis/java-core/commit/92167026d8e4178ebb952490a3322bd685441a60)) - update dependency org.threeten:threetenbp to v1.4.1 ([82cac64](https://www.github.com/googleapis/java-core/commit/82cac64486352e46ddc6044a72fff6141d9b10ce)) ##### [1.92.2](https://www.github.com/googleapis/java-core/compare/v1.92.1...v1.92.2) (2020-01-09) ##### Bug Fixes - cast to proper interface ([#​124](https://www.github.com/googleapis/java-core/issues/124)) ([cd6eabf](https://www.github.com/googleapis/java-core/commit/cd6eabffcdeed485aba088336fa473a6b85c752d)), closes [#​123](https://www.github.com/googleapis/java-core/issues/123) ##### [1.92.1](https://www.github.com/googleapis/java-core/compare/v1.92.0...v1.92.1) (2020-01-02) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.3.4 ([#​105](https://www.github.com/googleapis/java-core/issues/105)) ([52f47c5](https://www.github.com/googleapis/java-core/commit/52f47c5ed84742b4b41417c486bfbb3c817b4a23)) - update dependency com.google.guava:guava-bom to v28.2-android ([#​113](https://www.github.com/googleapis/java-core/issues/113)) ([8b11b1a](https://www.github.com/googleapis/java-core/commit/8b11b1a8d452ab823f35509ae42263c4a69f2a5a)) - update dependency com.google.http-client:google-http-client-bom to v1.34.0 ([#​98](https://www.github.com/googleapis/java-core/issues/98)) ([d8e946d](https://www.github.com/googleapis/java-core/commit/d8e946dfd3866380406b02ad908925c4250cc34a)) - update dependency com.google.protobuf:protobuf-bom to v3.11.1 ([#​106](https://www.github.com/googleapis/java-core/issues/106)) ([6d36434](https://www.github.com/googleapis/java-core/commit/6d364341bc5552e98590f9344b0e2d8cf4e68f0c)) - update dependency io.grpc:grpc-bom to v1.26.0 ([#​107](https://www.github.com/googleapis/java-core/issues/107)) ([fca41a7](https://www.github.com/googleapis/java-core/commit/fca41a73fb6ca42eb4014d3cec6b32cc8e97ded9))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index db00df03..e17232e4 100644 --- a/pom.xml +++ b/pom.xml @@ -63,10 +63,10 @@ UTF-8 github google-cloud-container-parent - 1.92.5 + 1.93.0 1.8.1 1.17.0 - 1.53.1 + 1.54.0 1.27.2 3.11.4 4.13 From 11c8fe23f461c47864445cf3beaf4e4ba126868f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 2 Mar 2020 09:24:09 -0800 Subject: [PATCH 17/18] chore: update libraries-bom to 4.2.0 (#79) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/badf69d0-35e6-44bc-af51-7c1c8f83a086/targets --- README.md | 2 +- synth.metadata | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 36f19bb7..c7a32830 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.1.1 + 4.2.0 pom import diff --git a/synth.metadata b/synth.metadata index dd0c30ea..9ac7c7fd 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-02-24T22:45:09.866168Z", + "updateTime": "2020-02-28T20:02:46.787627Z", "sources": [ { "generator": { "name": "artman", - "version": "0.45.1", - "dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738" + "version": "0.46.0", + "dockerImage": "googleapis/artman@sha256:6248a21fba8f0d618c3b032669cec2618e684b66922bb70391fe08c41b05f6ee" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1e47e676cddbbd8d93f19ba0665af15b5532417e", - "internalRef": "296901854", - "log": "1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n" + "sha": "e9e90a787703ec5d388902e2cb796aaed3a385b4", + "internalRef": "297671458", + "log": "e9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n0aba1900ffef672ec5f0da677cf590ee5686e13b\ncluster: use square brace for cross-reference\n\nPiperOrigin-RevId: 297204568\n\n5dac2da18f6325cbaed54603c43f0667ecd50247\nRestore retry params in gapic config because securitycenter has non-standard default retry params.\nRestore a few retry codes for some idempotent methods.\n\nPiperOrigin-RevId: 297196720\n\n1eb61455530252bba8b2c8d4bc9832960e5a56f6\npubsub: v1 replace IAM HTTP rules\n\nPiperOrigin-RevId: 297188590\n\n80b2d25f8d43d9d47024ff06ead7f7166548a7ba\nDialogflow weekly v2/v2beta1 library update:\n - updates to mega agent api\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297187629\n\n0b1876b35e98f560f9c9ca9797955f020238a092\nUse an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.\n\nprotoc-docs-plugin >=0.4.0 (see commit https://github.com/googleapis/protoc-docs-plugin/commit/979f03ede6678c487337f3d7e88bae58df5207af) is incompatible with protobuf 3.9.1.\n\nPiperOrigin-RevId: 296986742\n\n" } }, { From 4a0f7579f552aef6d2efbc9fb78f82858ffd115c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2020 11:27:35 -0800 Subject: [PATCH 18/18] chore: release 1.0.0 (#78) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated google-cloud-container-bom/pom.xml [ci skip] * updated google-cloud-container/pom.xml [ci skip] * updated grpc-google-cloud-container-v1/pom.xml [ci skip] * updated proto-google-cloud-container-v1/pom.xml [ci skip] * updated pom.xml [ci skip] * chore: fix 1.0.0 version * chore: fix 1.0.0 version Co-authored-by: Jeff Ching --- CHANGELOG.md | 25 +++++++++++++++++++++++++ README.md | 6 +++--- google-cloud-container-bom/pom.xml | 8 ++++---- google-cloud-container/pom.xml | 4 ++-- grpc-google-cloud-container-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-container-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 8 files changed, 45 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21112752..a9bee8e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [1.0.0](https://www.github.com/googleapis/java-container/compare/v0.119.1...v1.0.0) (2020-02-27) + + +### Features + +* promote to GA ([#77](https://www.github.com/googleapis/java-container/issues/77)) ([e3c268d](https://www.github.com/googleapis/java-container/commit/e3c268d80506403ce754fbda9cbd4009975a4e2f)) + + +### Bug Fixes + +* **regen:** make deprecated fields optional ([#64](https://www.github.com/googleapis/java-container/issues/64)) ([92d3d87](https://www.github.com/googleapis/java-container/commit/92d3d87fcb308c409175650726c32fd962863266)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-core to v1.92.5 ([24627f1](https://www.github.com/googleapis/java-container/commit/24627f181cf3d38857fb47b05a8898b5b29b7e5c)) +* update dependency com.google.protobuf:protobuf-bom to v3.11.4 ([e5f3ab9](https://www.github.com/googleapis/java-container/commit/e5f3ab9c112cf9f2d05fa3a70eeaf58246e0166c)) +* update dependency io.grpc:grpc-bom to v1.27.1 ([42c9bac](https://www.github.com/googleapis/java-container/commit/42c9bac676770edfd402230a2af3905a2a806ca1)) +* update dependency io.grpc:grpc-bom to v1.27.2 ([f3fe5b4](https://www.github.com/googleapis/java-container/commit/f3fe5b48d9aec62bdf57431dca41e333f252791f)) + + +### Documentation + +* **regen:** update sample code to set total timeout, add API client header test ([584d428](https://www.github.com/googleapis/java-container/commit/584d428034a5dc509e04806a0e0353c7ac717e05)) + ### [0.119.1](https://www.github.com/googleapis/java-container/compare/v0.119.0...v0.119.1) (2020-02-04) diff --git a/README.md b/README.md index c7a32830..1abd89e7 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,17 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-container - 0.119.1-beta + 1.0.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-container:0.119.1-beta' +compile 'com.google.cloud:google-cloud-container:1.0.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "0.119.1-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "1.0.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index 03c0d8c2..957c7808 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container-bom - 0.119.2-beta-SNAPSHOT + 1.0.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.api.grpc grpc-google-cloud-container-v1 - 0.84.2-SNAPSHOT + 1.0.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.84.2-SNAPSHOT + 1.0.0 com.google.cloud google-cloud-container - 0.119.2-beta-SNAPSHOT + 1.0.0
diff --git a/google-cloud-container/pom.xml b/google-cloud-container/pom.xml index cc6951d7..32591af3 100644 --- a/google-cloud-container/pom.xml +++ b/google-cloud-container/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container - 0.119.2-beta-SNAPSHOT + 1.0.0 jar Google Cloud Container https://github.com/googleapis/java-container @@ -11,7 +11,7 @@ com.google.cloud google-cloud-container-parent - 0.119.2-beta-SNAPSHOT + 1.0.0 google-cloud-container diff --git a/grpc-google-cloud-container-v1/pom.xml b/grpc-google-cloud-container-v1/pom.xml index c83bde0c..0d76ea7b 100644 --- a/grpc-google-cloud-container-v1/pom.xml +++ b/grpc-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.84.2-SNAPSHOT + 1.0.0 grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 0.119.2-beta-SNAPSHOT + 1.0.0 diff --git a/pom.xml b/pom.xml index e17232e4..dc0bd133 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-container-parent pom - 0.119.2-beta-SNAPSHOT + 1.0.0 Google Cloud Container Parent https://github.com/googleapis/java-container @@ -81,17 +81,17 @@ com.google.api.grpc proto-google-cloud-container-v1 - 0.84.2-SNAPSHOT + 1.0.0 com.google.api.grpc grpc-google-cloud-container-v1 - 0.84.2-SNAPSHOT + 1.0.0 com.google.cloud google-cloud-container - 0.119.2-beta-SNAPSHOT + 1.0.0 diff --git a/proto-google-cloud-container-v1/pom.xml b/proto-google-cloud-container-v1/pom.xml index 886b304b..c6140e3f 100644 --- a/proto-google-cloud-container-v1/pom.xml +++ b/proto-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-container-v1 - 0.84.2-SNAPSHOT + 1.0.0 proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 0.119.2-beta-SNAPSHOT + 1.0.0 diff --git a/versions.txt b/versions.txt index 2a1c4c79..fd024ae1 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-container-v1:0.84.1:0.84.2-SNAPSHOT -grpc-google-cloud-container-v1:0.84.1:0.84.2-SNAPSHOT -google-cloud-container:0.119.1-beta:0.119.2-beta-SNAPSHOT +proto-google-cloud-container-v1:1.0.0:1.0.0 +grpc-google-cloud-container-v1:1.0.0:1.0.0 +google-cloud-container:1.0.0:1.0.0