From 55e4de106b8f6fc41a706248ad3817d564367777 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 10:56:37 -0500 Subject: [PATCH] docs: [container] clarified wording around the NodePoolUpdateStrategy default behavior (#9046) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: clarified wording around the NodePoolUpdateStrategy default behavior docs: add references for available node image types PiperOrigin-RevId: 505182579 Source-Link: https://github.com/googleapis/googleapis/commit/c062caf559720759356214d6aa6b9504e91eef99 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ea6906f11af5243d6b4105af0af854e878b0a1e7 Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6ImVhNjkwNmYxMWFmNTI0M2Q2YjQxMDVhZjBhZjg1NGU4NzhiMGExZTcifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: clarified wording around the NodePoolUpdateStrategy default behavior docs: add references for available node image types PiperOrigin-RevId: 505186848 Source-Link: https://github.com/googleapis/googleapis/commit/d6e9adbf6646748cb41ca6aa61a78a70a1d83ff5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/fa221b6a3c945ca7ec063b72ae9eca940ed3dfdd Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6ImZhMjIxYjZhM2M5NDVjYTdlYzA2M2I3MmFlOWVjYTk0MGVkM2RmZGQifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- java-container/README.md | 6 +- .../com/google/container/v1/AddonsConfig.java | 8 +- .../container/v1/AddonsConfigOrBuilder.java | 4 +- .../v1/AutoprovisioningNodePoolDefaults.java | 42 ++++--- ...provisioningNodePoolDefaultsOrBuilder.java | 12 +- .../container/v1/BinaryAuthorization.java | 8 +- .../v1/BinaryAuthorizationOrBuilder.java | 2 +- .../container/v1/CancelOperationRequest.java | 42 +++---- .../v1/CancelOperationRequestOrBuilder.java | 12 +- .../java/com/google/container/v1/Cluster.java | 92 +++++++------- .../google/container/v1/ClusterOrBuilder.java | 28 ++--- .../v1/CompleteIPRotationRequest.java | 42 +++---- .../CompleteIPRotationRequestOrBuilder.java | 12 +- .../container/v1/CreateClusterRequest.java | 28 ++--- .../v1/CreateClusterRequestOrBuilder.java | 8 +- .../container/v1/CreateNodePoolRequest.java | 42 +++---- .../v1/CreateNodePoolRequestOrBuilder.java | 12 +- .../container/v1/DeleteClusterRequest.java | 42 +++---- .../v1/DeleteClusterRequestOrBuilder.java | 12 +- .../container/v1/DeleteNodePoolRequest.java | 56 ++++----- .../v1/DeleteNodePoolRequestOrBuilder.java | 16 +-- .../container/v1/GetClusterRequest.java | 42 +++---- .../v1/GetClusterRequestOrBuilder.java | 12 +- .../container/v1/GetNodePoolRequest.java | 56 ++++----- .../v1/GetNodePoolRequestOrBuilder.java | 16 +-- .../container/v1/GetOperationRequest.java | 42 +++---- .../v1/GetOperationRequestOrBuilder.java | 12 +- .../container/v1/GetServerConfigRequest.java | 28 ++--- .../v1/GetServerConfigRequestOrBuilder.java | 8 +- .../container/v1/IPAllocationPolicy.java | 42 +++---- .../v1/IPAllocationPolicyOrBuilder.java | 12 +- .../container/v1/ListClustersRequest.java | 28 ++--- .../v1/ListClustersRequestOrBuilder.java | 8 +- .../container/v1/ListNodePoolsRequest.java | 42 +++---- .../v1/ListNodePoolsRequestOrBuilder.java | 12 +- .../container/v1/ListOperationsRequest.java | 28 ++--- .../v1/ListOperationsRequestOrBuilder.java | 8 +- .../com/google/container/v1/MasterAuth.java | 28 ++--- .../container/v1/MasterAuthOrBuilder.java | 8 +- .../com/google/container/v1/NodeConfig.java | 28 +++-- .../container/v1/NodeConfigOrBuilder.java | 8 +- .../com/google/container/v1/NodePool.java | 14 +-- .../container/v1/NodePoolOrBuilder.java | 4 +- .../container/v1/NodePoolUpdateStrategy.java | 6 +- .../com/google/container/v1/Operation.java | 28 ++--- .../container/v1/OperationOrBuilder.java | 8 +- .../v1/RollbackNodePoolUpgradeRequest.java | 56 ++++----- ...llbackNodePoolUpgradeRequestOrBuilder.java | 16 +-- .../container/v1/SetAddonsConfigRequest.java | 42 +++---- .../v1/SetAddonsConfigRequestOrBuilder.java | 12 +- .../google/container/v1/SetLabelsRequest.java | 42 +++---- .../v1/SetLabelsRequestOrBuilder.java | 12 +- .../container/v1/SetLegacyAbacRequest.java | 42 +++---- .../v1/SetLegacyAbacRequestOrBuilder.java | 12 +- .../container/v1/SetLocationsRequest.java | 42 +++---- .../v1/SetLocationsRequestOrBuilder.java | 12 +- .../v1/SetLoggingServiceRequest.java | 42 +++---- .../v1/SetLoggingServiceRequestOrBuilder.java | 12 +- .../container/v1/SetMasterAuthRequest.java | 42 +++---- .../v1/SetMasterAuthRequestOrBuilder.java | 12 +- .../v1/SetMonitoringServiceRequest.java | 42 +++---- .../SetMonitoringServiceRequestOrBuilder.java | 12 +- .../container/v1/SetNetworkPolicyRequest.java | 42 +++---- .../v1/SetNetworkPolicyRequestOrBuilder.java | 12 +- .../v1/SetNodePoolAutoscalingRequest.java | 56 ++++----- ...etNodePoolAutoscalingRequestOrBuilder.java | 16 +-- .../v1/SetNodePoolManagementRequest.java | 56 ++++----- ...SetNodePoolManagementRequestOrBuilder.java | 16 +-- .../container/v1/SetNodePoolSizeRequest.java | 56 ++++----- .../v1/SetNodePoolSizeRequestOrBuilder.java | 16 +-- .../container/v1/StartIPRotationRequest.java | 42 +++---- .../v1/StartIPRotationRequestOrBuilder.java | 12 +- .../google/container/v1/StatusCondition.java | 14 +-- .../v1/StatusConditionOrBuilder.java | 4 +- .../container/v1/UpdateClusterRequest.java | 42 +++---- .../v1/UpdateClusterRequestOrBuilder.java | 12 +- .../container/v1/UpdateMasterRequest.java | 42 +++---- .../v1/UpdateMasterRequestOrBuilder.java | 12 +- .../container/v1/UpdateNodePoolRequest.java | 84 +++++++------ .../v1/UpdateNodePoolRequestOrBuilder.java | 24 ++-- .../google/container/v1/cluster_service.proto | 15 ++- .../container/v1beta1/AcceleratorConfig.java | 8 +- .../v1beta1/AcceleratorConfigOrBuilder.java | 2 +- .../container/v1beta1/AddonsConfig.java | 24 ++-- .../v1beta1/AddonsConfigOrBuilder.java | 12 +- .../AutoprovisioningNodePoolDefaults.java | 42 ++++--- ...provisioningNodePoolDefaultsOrBuilder.java | 12 +- .../v1beta1/BinaryAuthorization.java | 8 +- .../v1beta1/BinaryAuthorizationOrBuilder.java | 2 +- .../v1beta1/CancelOperationRequest.java | 42 +++---- .../CancelOperationRequestOrBuilder.java | 12 +- .../com/google/container/v1beta1/Cluster.java | 114 +++++++++--------- .../container/v1beta1/ClusterOrBuilder.java | 34 +++--- .../v1beta1/CompleteIPRotationRequest.java | 42 +++---- .../CompleteIPRotationRequestOrBuilder.java | 12 +- .../v1beta1/CreateClusterRequest.java | 28 ++--- .../CreateClusterRequestOrBuilder.java | 8 +- .../v1beta1/CreateNodePoolRequest.java | 42 +++---- .../CreateNodePoolRequestOrBuilder.java | 12 +- .../v1beta1/DeleteClusterRequest.java | 42 +++---- .../DeleteClusterRequestOrBuilder.java | 12 +- .../v1beta1/DeleteNodePoolRequest.java | 56 ++++----- .../DeleteNodePoolRequestOrBuilder.java | 16 +-- .../container/v1beta1/GetClusterRequest.java | 42 +++---- .../v1beta1/GetClusterRequestOrBuilder.java | 12 +- .../container/v1beta1/GetNodePoolRequest.java | 56 ++++----- .../v1beta1/GetNodePoolRequestOrBuilder.java | 16 +-- .../v1beta1/GetOperationRequest.java | 42 +++---- .../v1beta1/GetOperationRequestOrBuilder.java | 12 +- .../v1beta1/GetServerConfigRequest.java | 28 ++--- .../GetServerConfigRequestOrBuilder.java | 8 +- .../container/v1beta1/IPAllocationPolicy.java | 42 +++---- .../v1beta1/IPAllocationPolicyOrBuilder.java | 12 +- .../google/container/v1beta1/IstioConfig.java | 22 ++-- .../v1beta1/IstioConfigOrBuilder.java | 6 +- .../google/container/v1beta1/KalmConfig.java | 8 +- .../v1beta1/KalmConfigOrBuilder.java | 2 +- .../v1beta1/ListClustersRequest.java | 28 ++--- .../v1beta1/ListClustersRequestOrBuilder.java | 8 +- .../v1beta1/ListNodePoolsRequest.java | 42 +++---- .../ListNodePoolsRequestOrBuilder.java | 12 +- .../v1beta1/ListOperationsRequest.java | 28 ++--- .../ListOperationsRequestOrBuilder.java | 8 +- .../google/container/v1beta1/MasterAuth.java | 28 ++--- .../v1beta1/MasterAuthOrBuilder.java | 8 +- .../google/container/v1beta1/NodeConfig.java | 28 +++-- .../v1beta1/NodeConfigOrBuilder.java | 8 +- .../google/container/v1beta1/NodePool.java | 14 +-- .../container/v1beta1/NodePoolOrBuilder.java | 4 +- .../v1beta1/NodePoolUpdateStrategy.java | 6 +- .../google/container/v1beta1/Operation.java | 28 ++--- .../container/v1beta1/OperationOrBuilder.java | 8 +- .../RollbackNodePoolUpgradeRequest.java | 56 ++++----- ...llbackNodePoolUpgradeRequestOrBuilder.java | 16 +-- .../container/v1beta1/SandboxConfig.java | 14 +-- .../v1beta1/SandboxConfigOrBuilder.java | 4 +- .../v1beta1/SetAddonsConfigRequest.java | 42 +++---- .../SetAddonsConfigRequestOrBuilder.java | 12 +- .../container/v1beta1/SetLabelsRequest.java | 42 +++---- .../v1beta1/SetLabelsRequestOrBuilder.java | 12 +- .../v1beta1/SetLegacyAbacRequest.java | 42 +++---- .../SetLegacyAbacRequestOrBuilder.java | 12 +- .../v1beta1/SetLocationsRequest.java | 42 +++---- .../v1beta1/SetLocationsRequestOrBuilder.java | 12 +- .../v1beta1/SetLoggingServiceRequest.java | 42 +++---- .../SetLoggingServiceRequestOrBuilder.java | 12 +- .../v1beta1/SetMasterAuthRequest.java | 42 +++---- .../SetMasterAuthRequestOrBuilder.java | 12 +- .../v1beta1/SetMonitoringServiceRequest.java | 42 +++---- .../SetMonitoringServiceRequestOrBuilder.java | 12 +- .../v1beta1/SetNetworkPolicyRequest.java | 42 +++---- .../SetNetworkPolicyRequestOrBuilder.java | 12 +- .../SetNodePoolAutoscalingRequest.java | 56 ++++----- ...etNodePoolAutoscalingRequestOrBuilder.java | 16 +-- .../v1beta1/SetNodePoolManagementRequest.java | 56 ++++----- ...SetNodePoolManagementRequestOrBuilder.java | 16 +-- .../v1beta1/SetNodePoolSizeRequest.java | 56 ++++----- .../SetNodePoolSizeRequestOrBuilder.java | 16 +-- .../v1beta1/StartIPRotationRequest.java | 42 +++---- .../StartIPRotationRequestOrBuilder.java | 12 +- .../container/v1beta1/StatusCondition.java | 14 +-- .../v1beta1/StatusConditionOrBuilder.java | 4 +- .../v1beta1/UpdateClusterRequest.java | 42 +++---- .../UpdateClusterRequestOrBuilder.java | 12 +- .../v1beta1/UpdateMasterRequest.java | 42 +++---- .../v1beta1/UpdateMasterRequestOrBuilder.java | 12 +- .../v1beta1/UpdateNodePoolRequest.java | 84 +++++++------ .../UpdateNodePoolRequestOrBuilder.java | 24 ++-- .../v1beta1/WorkloadIdentityConfig.java | 14 +-- .../WorkloadIdentityConfigOrBuilder.java | 4 +- .../v1beta1/WorkloadMetadataConfig.java | 14 +-- .../WorkloadMetadataConfigOrBuilder.java | 4 +- .../container/v1beta1/cluster_service.proto | 15 ++- .../canceloperation/AsyncCancelOperation.java | 51 ++++++++ .../canceloperation/SyncCancelOperation.java | 48 ++++++++ .../SyncCancelOperationString.java | 41 +++++++ ...SyncCancelOperationStringStringString.java | 43 +++++++ .../AsyncCompleteIPRotation.java | 52 ++++++++ .../SyncCompleteIPRotation.java | 48 ++++++++ .../SyncCompleteIPRotationString.java | 41 +++++++ ...cCompleteIPRotationStringStringString.java | 43 +++++++ .../AsyncCompleteNodePoolUpgrade.java | 47 ++++++++ .../SyncCompleteNodePoolUpgrade.java | 43 +++++++ .../SyncCreateSetCredentialsProvider.java | 44 +++++++ .../create/SyncCreateSetEndpoint.java | 41 +++++++ .../createcluster/AsyncCreateCluster.java | 53 ++++++++ .../createcluster/SyncCreateCluster.java | 49 ++++++++ .../SyncCreateClusterStringCluster.java | 43 +++++++ .../SyncCreateClusterStringStringCluster.java | 44 +++++++ .../createnodepool/AsyncCreateNodePool.java | 54 +++++++++ .../createnodepool/SyncCreateNodePool.java | 50 ++++++++ .../SyncCreateNodePoolStringNodepool.java | 43 +++++++ ...ateNodePoolStringStringStringNodepool.java | 46 +++++++ .../deletecluster/AsyncDeleteCluster.java | 52 ++++++++ .../deletecluster/SyncDeleteCluster.java | 48 ++++++++ .../SyncDeleteClusterString.java | 41 +++++++ .../SyncDeleteClusterStringStringString.java | 43 +++++++ .../deletenodepool/AsyncDeleteNodePool.java | 53 ++++++++ .../deletenodepool/SyncDeleteNodePool.java | 49 ++++++++ .../SyncDeleteNodePoolString.java | 41 +++++++ ...eleteNodePoolStringStringStringString.java | 45 +++++++ .../getcluster/AsyncGetCluster.java | 51 ++++++++ .../getcluster/SyncGetCluster.java | 48 ++++++++ .../getcluster/SyncGetClusterString.java | 41 +++++++ .../SyncGetClusterStringStringString.java | 43 +++++++ .../getjsonwebkeys/AsyncGetJSONWebKeys.java | 47 ++++++++ .../getjsonwebkeys/SyncGetJSONWebKeys.java | 43 +++++++ .../getnodepool/AsyncGetNodePool.java | 52 ++++++++ .../getnodepool/SyncGetNodePool.java | 49 ++++++++ .../getnodepool/SyncGetNodePoolString.java | 41 +++++++ ...ncGetNodePoolStringStringStringString.java | 44 +++++++ .../getoperation/AsyncGetOperation.java | 51 ++++++++ .../getoperation/SyncGetOperation.java | 48 ++++++++ .../getoperation/SyncGetOperationString.java | 41 +++++++ .../SyncGetOperationStringStringString.java | 43 +++++++ .../getserverconfig/AsyncGetServerConfig.java | 51 ++++++++ .../getserverconfig/SyncGetServerConfig.java | 47 ++++++++ .../SyncGetServerConfigString.java | 41 +++++++ .../SyncGetServerConfigStringString.java | 42 +++++++ .../listclusters/AsyncListClusters.java | 51 ++++++++ .../listclusters/SyncListClusters.java | 47 ++++++++ .../listclusters/SyncListClustersString.java | 41 +++++++ .../SyncListClustersStringString.java | 42 +++++++ .../listnodepools/AsyncListNodePools.java | 52 ++++++++ .../listnodepools/SyncListNodePools.java | 48 ++++++++ .../SyncListNodePoolsString.java | 41 +++++++ .../SyncListNodePoolsStringStringString.java | 44 +++++++ .../listoperations/AsyncListOperations.java | 51 ++++++++ .../listoperations/SyncListOperations.java | 47 ++++++++ .../SyncListOperationsStringString.java | 42 +++++++ .../AsyncListUsableSubnetworks.java | 54 +++++++++ .../AsyncListUsableSubnetworksPaged.java | 62 ++++++++++ .../SyncListUsableSubnetworks.java | 51 ++++++++ .../AsyncRollbackNodePoolUpgrade.java | 54 +++++++++ .../SyncRollbackNodePoolUpgrade.java | 50 ++++++++ .../SyncRollbackNodePoolUpgradeString.java | 41 +++++++ ...dePoolUpgradeStringStringStringString.java | 45 +++++++ .../setaddonsconfig/AsyncSetAddonsConfig.java | 54 +++++++++ .../setaddonsconfig/SyncSetAddonsConfig.java | 50 ++++++++ ...SyncSetAddonsConfigStringAddonsconfig.java | 43 +++++++ ...sConfigStringStringStringAddonsconfig.java | 46 +++++++ .../setlabels/AsyncSetLabels.java | 54 +++++++++ .../setlabels/SyncSetLabels.java | 51 ++++++++ .../setlegacyabac/AsyncSetLegacyAbac.java | 53 ++++++++ .../setlegacyabac/SyncSetLegacyAbac.java | 49 ++++++++ .../SyncSetLegacyAbacStringBoolean.java | 42 +++++++ ...etLegacyAbacStringStringStringBoolean.java | 44 +++++++ .../setlocations/AsyncSetLocations.java | 53 ++++++++ .../setlocations/SyncSetLocations.java | 50 ++++++++ .../SyncSetLocationsStringListstring.java | 44 +++++++ ...LocationsStringStringStringListstring.java | 46 +++++++ .../AsyncSetLoggingService.java | 53 ++++++++ .../SyncSetLoggingService.java | 49 ++++++++ .../SyncSetLoggingServiceStringString.java | 42 +++++++ ...oggingServiceStringStringStringString.java | 45 +++++++ .../AsyncSetMaintenancePolicy.java | 54 +++++++++ .../SyncSetMaintenancePolicy.java | 50 ++++++++ ...ntenancePolicyStringMaintenancepolicy.java | 43 +++++++ ...cyStringStringStringMaintenancepolicy.java | 47 ++++++++ .../setmasterauth/AsyncSetMasterAuth.java | 54 +++++++++ .../setmasterauth/SyncSetMasterAuth.java | 50 ++++++++ .../AsyncSetMonitoringService.java | 53 ++++++++ .../SyncSetMonitoringService.java | 49 ++++++++ .../SyncSetMonitoringServiceStringString.java | 42 +++++++ ...toringServiceStringStringStringString.java | 45 +++++++ .../AsyncSetNetworkPolicy.java | 54 +++++++++ .../SyncSetNetworkPolicy.java | 50 ++++++++ ...ncSetNetworkPolicyStringNetworkpolicy.java | 43 +++++++ ...PolicyStringStringStringNetworkpolicy.java | 46 +++++++ .../AsyncSetNodePoolAutoscaling.java | 55 +++++++++ .../SyncSetNodePoolAutoscaling.java | 51 ++++++++ .../AsyncSetNodePoolManagement.java | 55 +++++++++ .../SyncSetNodePoolManagement.java | 51 ++++++++ .../setnodepoolsize/AsyncSetNodePoolSize.java | 54 +++++++++ .../setnodepoolsize/SyncSetNodePoolSize.java | 50 ++++++++ .../startiprotation/AsyncStartIPRotation.java | 53 ++++++++ .../startiprotation/SyncStartIPRotation.java | 49 ++++++++ .../SyncStartIPRotationString.java | 41 +++++++ ...SyncStartIPRotationStringStringString.java | 43 +++++++ .../updatecluster/AsyncUpdateCluster.java | 54 +++++++++ .../updatecluster/SyncUpdateCluster.java | 50 ++++++++ .../SyncUpdateClusterStringClusterupdate.java | 43 +++++++ ...lusterStringStringStringClusterupdate.java | 45 +++++++ .../updatemaster/AsyncUpdateMaster.java | 52 ++++++++ .../updatemaster/SyncUpdateMaster.java | 49 ++++++++ .../SyncUpdateMasterStringString.java | 42 +++++++ ...cUpdateMasterStringStringStringString.java | 45 +++++++ .../updatenodepool/AsyncUpdateNodePool.java | 88 ++++++++++++++ .../updatenodepool/SyncUpdateNodePool.java | 84 +++++++++++++ .../listclusters/SyncListClusters.java | 49 ++++++++ .../listclusters/SyncListClusters.java | 49 ++++++++ .../canceloperation/AsyncCancelOperation.java | 51 ++++++++ .../canceloperation/SyncCancelOperation.java | 48 ++++++++ ...SyncCancelOperationStringStringString.java | 43 +++++++ .../AsyncCompleteIPRotation.java | 52 ++++++++ .../SyncCompleteIPRotation.java | 48 ++++++++ ...cCompleteIPRotationStringStringString.java | 43 +++++++ .../AsyncCompleteNodePoolUpgrade.java | 47 ++++++++ .../SyncCompleteNodePoolUpgrade.java | 43 +++++++ .../SyncCreateSetCredentialsProvider.java | 44 +++++++ .../create/SyncCreateSetEndpoint.java | 41 +++++++ .../createcluster/AsyncCreateCluster.java | 53 ++++++++ .../createcluster/SyncCreateCluster.java | 49 ++++++++ .../SyncCreateClusterStringStringCluster.java | 44 +++++++ .../createnodepool/AsyncCreateNodePool.java | 54 +++++++++ .../createnodepool/SyncCreateNodePool.java | 50 ++++++++ ...ateNodePoolStringStringStringNodepool.java | 46 +++++++ .../deletecluster/AsyncDeleteCluster.java | 52 ++++++++ .../deletecluster/SyncDeleteCluster.java | 48 ++++++++ .../SyncDeleteClusterStringStringString.java | 43 +++++++ .../deletenodepool/AsyncDeleteNodePool.java | 53 ++++++++ .../deletenodepool/SyncDeleteNodePool.java | 49 ++++++++ ...eleteNodePoolStringStringStringString.java | 45 +++++++ .../getcluster/AsyncGetCluster.java | 51 ++++++++ .../getcluster/SyncGetCluster.java | 48 ++++++++ .../SyncGetClusterStringStringString.java | 43 +++++++ .../getjsonwebkeys/AsyncGetJSONWebKeys.java | 47 ++++++++ .../getjsonwebkeys/SyncGetJSONWebKeys.java | 43 +++++++ .../getnodepool/AsyncGetNodePool.java | 52 ++++++++ .../getnodepool/SyncGetNodePool.java | 49 ++++++++ ...ncGetNodePoolStringStringStringString.java | 44 +++++++ .../getoperation/AsyncGetOperation.java | 51 ++++++++ .../getoperation/SyncGetOperation.java | 48 ++++++++ .../SyncGetOperationStringStringString.java | 43 +++++++ .../getserverconfig/AsyncGetServerConfig.java | 51 ++++++++ .../getserverconfig/SyncGetServerConfig.java | 47 ++++++++ .../SyncGetServerConfigStringString.java | 42 +++++++ .../listclusters/AsyncListClusters.java | 51 ++++++++ .../listclusters/SyncListClusters.java | 47 ++++++++ .../SyncListClustersStringString.java | 42 +++++++ .../listlocations/AsyncListLocations.java | 47 ++++++++ .../listlocations/SyncListLocations.java | 43 +++++++ .../SyncListLocationsString.java | 41 +++++++ .../listnodepools/AsyncListNodePools.java | 52 ++++++++ .../listnodepools/SyncListNodePools.java | 48 ++++++++ .../SyncListNodePoolsStringStringString.java | 44 +++++++ .../listoperations/AsyncListOperations.java | 51 ++++++++ .../listoperations/SyncListOperations.java | 47 ++++++++ .../SyncListOperationsStringString.java | 42 +++++++ .../AsyncListUsableSubnetworks.java | 54 +++++++++ .../AsyncListUsableSubnetworksPaged.java | 62 ++++++++++ .../SyncListUsableSubnetworks.java | 51 ++++++++ .../SyncListUsableSubnetworksString.java | 44 +++++++ .../AsyncRollbackNodePoolUpgrade.java | 54 +++++++++ .../SyncRollbackNodePoolUpgrade.java | 50 ++++++++ ...dePoolUpgradeStringStringStringString.java | 45 +++++++ .../setaddonsconfig/AsyncSetAddonsConfig.java | 54 +++++++++ .../setaddonsconfig/SyncSetAddonsConfig.java | 50 ++++++++ ...sConfigStringStringStringAddonsconfig.java | 46 +++++++ .../setlabels/AsyncSetLabels.java | 54 +++++++++ .../setlabels/SyncSetLabels.java | 51 ++++++++ ...ringStringStringMapstringstringString.java | 49 ++++++++ .../setlegacyabac/AsyncSetLegacyAbac.java | 53 ++++++++ .../setlegacyabac/SyncSetLegacyAbac.java | 49 ++++++++ ...etLegacyAbacStringStringStringBoolean.java | 44 +++++++ .../setlocations/AsyncSetLocations.java | 53 ++++++++ .../setlocations/SyncSetLocations.java | 50 ++++++++ ...LocationsStringStringStringListstring.java | 46 +++++++ .../AsyncSetLoggingService.java | 53 ++++++++ .../SyncSetLoggingService.java | 49 ++++++++ ...oggingServiceStringStringStringString.java | 45 +++++++ .../AsyncSetMaintenancePolicy.java | 54 +++++++++ .../SyncSetMaintenancePolicy.java | 50 ++++++++ ...cyStringStringStringMaintenancepolicy.java | 47 ++++++++ .../setmasterauth/AsyncSetMasterAuth.java | 54 +++++++++ .../setmasterauth/SyncSetMasterAuth.java | 50 ++++++++ .../AsyncSetMonitoringService.java | 53 ++++++++ .../SyncSetMonitoringService.java | 49 ++++++++ ...toringServiceStringStringStringString.java | 45 +++++++ .../AsyncSetNetworkPolicy.java | 54 +++++++++ .../SyncSetNetworkPolicy.java | 50 ++++++++ ...PolicyStringStringStringNetworkpolicy.java | 46 +++++++ .../AsyncSetNodePoolAutoscaling.java | 55 +++++++++ .../SyncSetNodePoolAutoscaling.java | 51 ++++++++ .../AsyncSetNodePoolManagement.java | 55 +++++++++ .../SyncSetNodePoolManagement.java | 51 ++++++++ ...tringStringStringStringNodemanagement.java | 49 ++++++++ .../setnodepoolsize/AsyncSetNodePoolSize.java | 54 +++++++++ .../setnodepoolsize/SyncSetNodePoolSize.java | 50 ++++++++ .../startiprotation/AsyncStartIPRotation.java | 53 ++++++++ .../startiprotation/SyncStartIPRotation.java | 49 ++++++++ ...SyncStartIPRotationStringStringString.java | 43 +++++++ .../updatecluster/AsyncUpdateCluster.java | 54 +++++++++ .../updatecluster/SyncUpdateCluster.java | 50 ++++++++ ...lusterStringStringStringClusterupdate.java | 45 +++++++ .../updatemaster/AsyncUpdateMaster.java | 52 ++++++++ .../updatemaster/SyncUpdateMaster.java | 49 ++++++++ ...cUpdateMasterStringStringStringString.java | 45 +++++++ .../updatenodepool/AsyncUpdateNodePool.java | 88 ++++++++++++++ .../updatenodepool/SyncUpdateNodePool.java | 84 +++++++++++++ .../listclusters/SyncListClusters.java | 49 ++++++++ .../listclusters/SyncListClusters.java | 49 ++++++++ 392 files changed, 12889 insertions(+), 2088 deletions(-) create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java create mode 100644 java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java diff --git a/java-container/README.md b/java-container/README.md index 47eee3f91df2..eb57294f231d 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-container - 2.11.0 + 2.12.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-container:2.11.0' +implementation 'com.google.cloud:google-cloud-container:2.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.12.0" ``` ## Authentication diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index 70e12ac1b090..5ceedb569ef1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -193,7 +193,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1092 + * google/container/v1/cluster_service.proto;l=1094 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -216,7 +216,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1092 + * google/container/v1/cluster_service.proto;l=1094 * @return The kubernetesDashboard. */ @java.lang.Override @@ -1717,7 +1717,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1092 + * google/container/v1/cluster_service.proto;l=1094 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -1739,7 +1739,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1092 + * google/container/v1/cluster_service.proto;l=1094 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java index 376d5cf6f7bd..f0aa6d9a80a9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java @@ -117,7 +117,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1092 + * google/container/v1/cluster_service.proto;l=1094 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -137,7 +137,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1092 + * google/container/v1/cluster_service.proto;l=1094 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index cd566be70f4f..b560b60ad678 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java @@ -313,7 +313,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return The minCpuPlatform. */ @java.lang.Override @@ -350,7 +350,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -562,7 +562,9 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -585,7 +587,9 @@ public java.lang.String getImageType() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -1875,7 +1879,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -1911,7 +1915,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -1947,7 +1951,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -1982,7 +1986,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2013,7 +2017,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ @@ -2528,7 +2532,9 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2550,7 +2556,9 @@ public java.lang.String getImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2572,7 +2580,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2593,7 +2603,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2610,7 +2622,9 @@ public Builder clearImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index d16f8fcf64b5..d12cb86183f9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -190,7 +190,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -216,7 +216,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3508 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -340,7 +340,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -352,7 +354,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 59b12745c0d1..0de3663829e0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -242,7 +242,7 @@ private EvaluationMode(int value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return The enabled. */ @java.lang.Override @@ -668,7 +668,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return The enabled. */ @java.lang.Override @@ -688,7 +688,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @param value The enabled to set. * @return This builder for chaining. */ @@ -712,7 +712,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index 6da0abc5e2fd..f0ea6cede91d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java @@ -35,7 +35,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index 148d4abca8ac..4a91bfd1e482 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The operationId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The bytes for operationId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The operationId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index 7c211f9adbf6..265d05be1ac2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The operationId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index 7633570a7fdb..c1d99b314456 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -491,7 +491,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return The initialNodeCount. */ @java.lang.Override @@ -521,7 +521,7 @@ public int getInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -548,7 +548,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return The nodeConfig. */ @java.lang.Override @@ -2555,7 +2555,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The zone. */ @java.lang.Override @@ -2583,7 +2583,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The bytes for zone. */ @java.lang.Override @@ -2799,7 +2799,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The currentNodeVersion. */ @java.lang.Override @@ -2829,7 +2829,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -2950,7 +2950,7 @@ public com.google.container.v1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The statusMessage. */ @java.lang.Override @@ -2978,7 +2978,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3089,7 +3089,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3106,7 +3106,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3123,7 +3123,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3141,7 +3141,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3163,7 +3163,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return The currentNodeCount. */ @java.lang.Override @@ -6367,7 +6367,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return The initialNodeCount. */ @java.lang.Override @@ -6393,7 +6393,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -6423,7 +6423,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6459,7 +6459,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -6485,7 +6485,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return The nodeConfig. */ @java.lang.Deprecated @@ -13015,7 +13015,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The zone. */ @java.lang.Deprecated @@ -13042,7 +13042,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The bytes for zone. */ @java.lang.Deprecated @@ -13069,7 +13069,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @param value The zone to set. * @return This builder for chaining. */ @@ -13095,7 +13095,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13117,7 +13117,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -13536,7 +13536,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -13565,7 +13565,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -13594,7 +13594,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -13622,7 +13622,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13646,7 +13646,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -13876,7 +13876,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The statusMessage. */ @java.lang.Deprecated @@ -13903,7 +13903,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -13930,7 +13930,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -13956,7 +13956,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13978,7 +13978,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -14201,7 +14201,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -14218,7 +14218,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -14235,7 +14235,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -14253,7 +14253,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -14271,7 +14271,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -14296,7 +14296,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14320,7 +14320,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14341,7 +14341,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14361,7 +14361,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14389,7 +14389,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return The currentNodeCount. */ @java.lang.Override @@ -14408,7 +14408,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -14431,7 +14431,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index a5fc53c35577..0be39f303846 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java @@ -101,7 +101,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1515,7 +1515,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The zone. */ @java.lang.Deprecated @@ -1532,7 +1532,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1655,7 +1655,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1674,7 +1674,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1744,7 +1744,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The statusMessage. */ @java.lang.Deprecated @@ -1761,7 +1761,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -1826,7 +1826,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -1841,7 +1841,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -1856,7 +1856,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -1872,7 +1872,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -1890,7 +1890,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return The currentNodeCount. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index be1e893d2732..4a4788b17190 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return The bytes for clusterId. */ @java.lang.Override @@ -733,7 +733,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return The projectId. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -787,7 +787,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @param value The projectId to set. * @return This builder for chaining. */ @@ -813,7 +813,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return This builder for chaining. */ @java.lang.Deprecated @@ -835,7 +835,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return The zone. */ @java.lang.Deprecated @@ -893,7 +893,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return The bytes for zone. */ @java.lang.Deprecated @@ -921,7 +921,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @param value The zone to set. * @return This builder for chaining. */ @@ -948,7 +948,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return This builder for chaining. */ @java.lang.Deprecated @@ -971,7 +971,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return The clusterId. */ @java.lang.Deprecated @@ -1025,7 +1025,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1051,7 +1051,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1076,7 +1076,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1097,7 +1097,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index 98bc0830294e..e480b56cef87 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3692 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3698 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3702 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index 70a613b89d80..1ea7e06d20f4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The bytes for zone. */ @java.lang.Override @@ -731,7 +731,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The projectId. */ @java.lang.Deprecated @@ -758,7 +758,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -785,7 +785,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @param value The projectId to set. * @return This builder for chaining. */ @@ -811,7 +811,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return This builder for chaining. */ @java.lang.Deprecated @@ -833,7 +833,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The zone. */ @java.lang.Deprecated @@ -891,7 +891,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The bytes for zone. */ @java.lang.Deprecated @@ -919,7 +919,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @param value The zone to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return This builder for chaining. */ @java.lang.Deprecated @@ -969,7 +969,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 576798f30bcf..a7c4dd00d470 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 1fb69498e5b4..147add9b9bb8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The bytes for clusterId. */ @java.lang.Override @@ -814,7 +814,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The projectId. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -868,7 +868,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @param value The projectId to set. * @return This builder for chaining. */ @@ -894,7 +894,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return This builder for chaining. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The zone. */ @java.lang.Deprecated @@ -974,7 +974,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1002,7 +1002,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @param value The zone to set. * @return This builder for chaining. */ @@ -1029,7 +1029,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1052,7 +1052,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1080,7 +1080,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The clusterId. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1132,7 +1132,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1157,7 +1157,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index 33724baa15df..6cf274af396e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 748977f06d54..0bbaa07675a0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for clusterId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The clusterId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index 1db26e0e2429..bd7a82e5a0a9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 03af19419197..34bc338aaa53 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -818,7 +818,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The projectId. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @param value The projectId to set. * @return This builder for chaining. */ @@ -898,7 +898,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return This builder for chaining. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The zone. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1006,7 +1006,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @param value The zone to set. * @return This builder for chaining. */ @@ -1033,7 +1033,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1056,7 +1056,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The clusterId. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1136,7 +1136,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1161,7 +1161,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1182,7 +1182,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1210,7 +1210,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1287,7 +1287,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index 9b56bcab6cae..9f6dfd17481a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index bb8b6fc19220..44c871969470 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The bytes for clusterId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The clusterId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 1dfea127af19..81f75a38485d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index 50d0b047b218..0adb8228ee53 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -818,7 +818,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The projectId. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @param value The projectId to set. * @return This builder for chaining. */ @@ -898,7 +898,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return This builder for chaining. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The zone. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1006,7 +1006,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @param value The zone to set. * @return This builder for chaining. */ @@ -1033,7 +1033,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1056,7 +1056,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The clusterId. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1136,7 +1136,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1161,7 +1161,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1182,7 +1182,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1210,7 +1210,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1287,7 +1287,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index d72f59fe2411..4939bb99932a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index b9692f096e86..0e773d430d77 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The operationId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The bytes for operationId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The operationId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index 14adc2875e3c..014c6aabf1ec 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The operationId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 966809f8368a..a372427a0529 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The bytes for zone. */ @java.lang.Override @@ -648,7 +648,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The projectId. */ @java.lang.Deprecated @@ -675,7 +675,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -702,7 +702,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @param value The projectId to set. * @return This builder for chaining. */ @@ -728,7 +728,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return This builder for chaining. */ @java.lang.Deprecated @@ -750,7 +750,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -780,7 +780,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The zone. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The bytes for zone. */ @java.lang.Deprecated @@ -836,7 +836,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @param value The zone to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return This builder for chaining. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index 8707a3b5abad..943d0b4416a3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index 2a6b5bbdef5f..0c8db7edd2d0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -189,7 +189,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -215,7 +215,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -246,7 +246,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -272,7 +272,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -303,7 +303,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -329,7 +329,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -1910,7 +1910,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1935,7 +1935,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1960,7 +1960,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -1984,7 +1984,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2004,7 +2004,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2031,7 +2031,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2056,7 +2056,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2081,7 +2081,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2105,7 +2105,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2125,7 +2125,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2152,7 +2152,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2177,7 +2177,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2202,7 +2202,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2226,7 +2226,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2246,7 +2246,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index 9905ebca6f9f..b6987cf27598 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java @@ -92,7 +92,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -154,7 +154,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index e80c138797aa..2f954bd3dd48 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The bytes for zone. */ @java.lang.Override @@ -650,7 +650,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -677,7 +677,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -704,7 +704,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @param value The projectId to set. * @return This builder for chaining. */ @@ -730,7 +730,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return This builder for chaining. */ @java.lang.Deprecated @@ -752,7 +752,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -782,7 +782,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The zone. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The bytes for zone. */ @java.lang.Deprecated @@ -838,7 +838,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @param value The zone to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return This builder for chaining. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index 4454a1f6ff65..e10f87b1511c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index b39e60a04e2a..7f1f80d1278b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The bytes for clusterId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The clusterId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 53a2ac5acc4f..b627f2163e26 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index b9117b465632..9091676eb003 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for zone. */ @java.lang.Override @@ -650,7 +650,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The projectId. */ @java.lang.Deprecated @@ -677,7 +677,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -704,7 +704,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @param value The projectId to set. * @return This builder for chaining. */ @@ -730,7 +730,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return This builder for chaining. */ @java.lang.Deprecated @@ -752,7 +752,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -782,7 +782,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The zone. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for zone. */ @java.lang.Deprecated @@ -838,7 +838,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @param value The zone to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return This builder for chaining. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index a880c32218f8..00da000e2592 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index 2dd97fcb86a3..1bfef77f33bf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -93,7 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The username. */ @java.lang.Override @@ -125,7 +125,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The bytes for username. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The password. */ @java.lang.Override @@ -196,7 +196,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The bytes for password. */ @java.lang.Override @@ -918,7 +918,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The username. */ @java.lang.Deprecated @@ -949,7 +949,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The bytes for username. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @param value The username to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1070,7 +1070,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The password. */ @java.lang.Deprecated @@ -1102,7 +1102,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The bytes for password. */ @java.lang.Deprecated @@ -1134,7 +1134,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @param value The password to set. * @return This builder for chaining. */ @@ -1165,7 +1165,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1192,7 +1192,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index 64708787816b..3ef9035bea95 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java @@ -39,7 +39,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The username. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The bytes for username. */ @java.lang.Deprecated @@ -83,7 +83,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The password. */ @java.lang.Deprecated @@ -105,7 +105,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index 3bf3f3df5894..107019733683 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java @@ -553,7 +553,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -577,7 +579,9 @@ public java.lang.String getImageType() { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -4537,7 +4541,9 @@ public Builder putAllMetadata(java.util.Map * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4560,7 +4566,9 @@ public java.lang.String getImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4583,7 +4591,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4605,7 +4615,9 @@ public Builder setImageType(java.lang.String value) { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4623,7 +4635,9 @@ public Builder clearImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java index 267d8f2543c9..243c5c9eac60 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java @@ -389,7 +389,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -402,7 +404,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index d02bc2e4ac27..b838c60c1775 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -5666,7 +5666,7 @@ public com.google.container.v1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return The statusMessage. */ @java.lang.Override @@ -5694,7 +5694,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return The bytes for statusMessage. */ @java.lang.Override @@ -8372,7 +8372,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return The statusMessage. */ @java.lang.Deprecated @@ -8399,7 +8399,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -8426,7 +8426,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -8452,7 +8452,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8474,7 +8474,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 830ad22ea1d7..a3c8bc4db1b7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -370,7 +370,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return The statusMessage. */ @java.lang.Deprecated @@ -387,7 +387,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3145 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java index 390a302c4ab3..b245e0ba6756 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java @@ -32,7 +32,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; @@ -66,7 +67,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 157d6fbb4f2a..054f1a165f63 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java @@ -813,7 +813,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The zone. */ @java.lang.Override @@ -841,7 +841,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for zone. */ @java.lang.Override @@ -996,7 +996,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The statusMessage. */ @java.lang.Override @@ -1025,7 +1025,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2490,7 +2490,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The zone. */ @java.lang.Deprecated @@ -2517,7 +2517,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2544,7 +2544,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @param value The zone to set. * @return This builder for chaining. */ @@ -2570,7 +2570,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2592,7 +2592,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2908,7 +2908,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The statusMessage. */ @java.lang.Deprecated @@ -2936,7 +2936,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2964,7 +2964,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -2991,7 +2991,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3014,7 +3014,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index b6a6a2e88136..8e27d3f346fc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java @@ -60,7 +60,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The zone. */ @java.lang.Deprecated @@ -77,7 +77,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for zone. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The statusMessage. */ @java.lang.Deprecated @@ -189,7 +189,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index 0784f78d3301..1079a4fa8a8e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -90,7 +90,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return The projectId. */ @java.lang.Override @@ -118,7 +118,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return The bytes for projectId. */ @java.lang.Override @@ -152,7 +152,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return The bytes for clusterId. */ @java.lang.Override @@ -272,7 +272,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3426 * @return The nodePoolId. */ @java.lang.Override @@ -299,7 +299,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3426 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -866,7 +866,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return The projectId. */ @java.lang.Deprecated @@ -893,7 +893,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @param value The projectId to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return This builder for chaining. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return The zone. */ @java.lang.Deprecated @@ -1026,7 +1026,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1054,7 +1054,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @param value The zone to set. * @return This builder for chaining. */ @@ -1081,7 +1081,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1104,7 +1104,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1132,7 +1132,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return The clusterId. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1184,7 +1184,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1209,7 +1209,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1230,7 +1230,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1258,7 +1258,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3426 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1284,7 +1284,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3426 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1310,7 +1310,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3426 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1335,7 +1335,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3426 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1356,7 +1356,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3426 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index 50ca7b67097c..34b7dbed767b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3412 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3418 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3422 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3426 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3426 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index b05b9ce3e560..30f372c0e324 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The bytes for clusterId. */ @java.lang.Override @@ -823,7 +823,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The projectId. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -877,7 +877,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @param value The projectId to set. * @return This builder for chaining. */ @@ -903,7 +903,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return This builder for chaining. */ @java.lang.Deprecated @@ -925,7 +925,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The zone. */ @java.lang.Deprecated @@ -983,7 +983,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1011,7 +1011,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @param value The zone to set. * @return This builder for chaining. */ @@ -1038,7 +1038,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1061,7 +1061,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The clusterId. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1141,7 +1141,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1166,7 +1166,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1187,7 +1187,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 401332d5713b..c1ebe55e0f3e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index 0380361419d2..28f849674b82 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -100,7 +100,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return The projectId. */ @java.lang.Override @@ -128,7 +128,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return The bytes for projectId. */ @java.lang.Override @@ -162,7 +162,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return The zone. */ @java.lang.Override @@ -191,7 +191,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return The bytes for zone. */ @java.lang.Override @@ -223,7 +223,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return The clusterId. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return The bytes for clusterId. */ @java.lang.Override @@ -996,7 +996,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return The projectId. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1076,7 +1076,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1098,7 +1098,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1128,7 +1128,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return The zone. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1184,7 +1184,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @param value The zone to set. * @return This builder for chaining. */ @@ -1211,7 +1211,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1234,7 +1234,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1262,7 +1262,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return The clusterId. */ @java.lang.Deprecated @@ -1288,7 +1288,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1314,7 +1314,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1339,7 +1339,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1360,7 +1360,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 9bec2bb7c223..6b60be507444 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3606 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3612 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3616 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 4514d400222c..02493d7e7829 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return The bytes for clusterId. */ @java.lang.Override @@ -774,7 +774,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return The projectId. */ @java.lang.Deprecated @@ -801,7 +801,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -828,7 +828,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @param value The projectId to set. * @return This builder for chaining. */ @@ -854,7 +854,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return This builder for chaining. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -906,7 +906,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return The zone. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return The bytes for zone. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @param value The zone to set. * @return This builder for chaining. */ @@ -989,7 +989,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1012,7 +1012,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return The clusterId. */ @java.lang.Deprecated @@ -1066,7 +1066,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1117,7 +1117,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1138,7 +1138,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 2efdd19c52c1..4dc88339e731 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3641 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3647 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3651 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index de677a31eb67..f7b24d7fa531 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The bytes for clusterId. */ @java.lang.Override @@ -860,7 +860,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -914,7 +914,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @param value The projectId to set. * @return This builder for chaining. */ @@ -940,7 +940,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return This builder for chaining. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -992,7 +992,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1048,7 +1048,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @param value The zone to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1098,7 +1098,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1126,7 +1126,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The clusterId. */ @java.lang.Deprecated @@ -1152,7 +1152,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1203,7 +1203,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1224,7 +1224,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index 8682acd548de..8c4334d13e5e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index e54f7d41b062..5834d0fb4bf0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The projectId. */ @java.lang.Deprecated @@ -852,7 +852,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index 2e873d3a9f15..384ef1125498 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index d3a1119833eb..ea7575ca6ab1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -272,7 +272,7 @@ private Action(int value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Override @@ -300,7 +300,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Override @@ -334,7 +334,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Override @@ -363,7 +363,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Override @@ -395,7 +395,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Override @@ -422,7 +422,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Override @@ -1061,7 +1061,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Deprecated @@ -1088,7 +1088,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1141,7 +1141,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1163,7 +1163,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1193,7 +1193,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Deprecated @@ -1221,7 +1221,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1249,7 +1249,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @param value The zone to set. * @return This builder for chaining. */ @@ -1276,7 +1276,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1299,7 +1299,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1327,7 +1327,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Deprecated @@ -1353,7 +1353,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1379,7 +1379,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1404,7 +1404,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1425,7 +1425,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index 44f18cee3a6d..a1bcf1a1af6c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index 8bf1f4cc9a92..39eccd76aae3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The projectId. */ @java.lang.Deprecated @@ -852,7 +852,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index 7819427ccc68..f5f3e54d2e11 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index b2b3ebd9c680..b394183ce678 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return The bytes for clusterId. */ @java.lang.Override @@ -821,7 +821,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return The projectId. */ @java.lang.Deprecated @@ -848,7 +848,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -875,7 +875,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @param value The projectId to set. * @return This builder for chaining. */ @@ -901,7 +901,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return This builder for chaining. */ @java.lang.Deprecated @@ -923,7 +923,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return The zone. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1009,7 +1009,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @param value The zone to set. * @return This builder for chaining. */ @@ -1036,7 +1036,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1087,7 +1087,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return The clusterId. */ @java.lang.Deprecated @@ -1113,7 +1113,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1139,7 +1139,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1164,7 +1164,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1185,7 +1185,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index db5055406c7e..8cd9e66a44ae 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3776 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3782 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3786 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 7271fe0115d2..9ba0380be02f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -908,7 +908,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The projectId. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @param value The projectId to set. * @return This builder for chaining. */ @@ -988,7 +988,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The zone. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @param value The zone to set. * @return This builder for chaining. */ @@ -1123,7 +1123,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1174,7 +1174,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The clusterId. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1226,7 +1226,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1251,7 +1251,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1272,7 +1272,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1300,7 +1300,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1352,7 +1352,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1377,7 +1377,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1398,7 +1398,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index 785da6344545..35798d9e1b31 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index c0f2fb648cff..5f64e8553e5a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return The clusterId. */ @java.lang.Override @@ -238,7 +238,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return The bytes for clusterId. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return The nodePoolId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -908,7 +908,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return The projectId. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @param value The projectId to set. * @return This builder for chaining. */ @@ -988,7 +988,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return The zone. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @param value The zone to set. * @return This builder for chaining. */ @@ -1123,7 +1123,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1174,7 +1174,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return The clusterId. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1226,7 +1226,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1251,7 +1251,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1272,7 +1272,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1300,7 +1300,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1352,7 +1352,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1377,7 +1377,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1398,7 +1398,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index ed7af4723661..a4e1ca1bd8fe 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3341 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3347 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3351 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3355 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index ec9e9054862e..918d7281942e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -858,7 +858,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return The projectId. */ @java.lang.Deprecated @@ -885,7 +885,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -912,7 +912,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @param value The projectId to set. * @return This builder for chaining. */ @@ -938,7 +938,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return This builder for chaining. */ @java.lang.Deprecated @@ -960,7 +960,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -990,7 +990,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return The zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @param value The zone to set. * @return This builder for chaining. */ @@ -1073,7 +1073,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1124,7 +1124,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return The clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1176,7 +1176,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1201,7 +1201,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1222,7 +1222,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1250,7 +1250,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1276,7 +1276,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1302,7 +1302,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1327,7 +1327,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1348,7 +1348,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index ba840427e2b2..102845f17c6e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3371 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3377 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3381 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3385 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index efa302243dcd..003241da11b5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Override @@ -774,7 +774,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return The projectId. */ @java.lang.Deprecated @@ -801,7 +801,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -828,7 +828,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @param value The projectId to set. * @return This builder for chaining. */ @@ -854,7 +854,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return This builder for chaining. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -906,7 +906,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @param value The zone to set. * @return This builder for chaining. */ @@ -989,7 +989,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1012,7 +1012,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Deprecated @@ -1066,7 +1066,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1117,7 +1117,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1138,7 +1138,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index 602bf67af220..1ee23be9a668 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3667 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index b45f675120db..e56e0afad035 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -334,7 +334,7 @@ private Code(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -353,7 +353,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return The code. */ @java.lang.Override @@ -846,7 +846,7 @@ public Builder mergeFrom( * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -865,7 +865,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -887,7 +887,7 @@ public Builder setCodeValue(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return The code. */ @java.lang.Override @@ -908,7 +908,7 @@ public com.google.container.v1.StatusCondition.Code getCode() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @param value The code to set. * @return This builder for chaining. */ @@ -933,7 +933,7 @@ public Builder setCode(com.google.container.v1.StatusCondition.Code value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index fec3367b8816..9f992157370d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java @@ -34,7 +34,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3853 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 01b219a3efce..a37501b89830 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The bytes for clusterId. */ @java.lang.Override @@ -812,7 +812,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The projectId. */ @java.lang.Deprecated @@ -839,7 +839,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -866,7 +866,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @param value The projectId to set. * @return This builder for chaining. */ @@ -892,7 +892,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return This builder for chaining. */ @java.lang.Deprecated @@ -914,7 +914,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -944,7 +944,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The zone. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1000,7 +1000,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @param value The zone to set. * @return This builder for chaining. */ @@ -1027,7 +1027,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1078,7 +1078,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The clusterId. */ @java.lang.Deprecated @@ -1104,7 +1104,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1130,7 +1130,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1155,7 +1155,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1176,7 +1176,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index 3cb18da277e8..63d279042245 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index 71f59212a486..27f966fbbc8f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Override @@ -822,7 +822,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Deprecated @@ -849,7 +849,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @param value The projectId to set. * @return This builder for chaining. */ @@ -902,7 +902,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return This builder for chaining. */ @java.lang.Deprecated @@ -924,7 +924,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Deprecated @@ -982,7 +982,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @param value The zone to set. * @return This builder for chaining. */ @@ -1037,7 +1037,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1088,7 +1088,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1140,7 +1140,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1165,7 +1165,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1186,7 +1186,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index 16983eeaceb5..713a926f3f02 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 6fb397b998dd..34dbf4639a59 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The projectId. */ @java.lang.Override @@ -119,7 +119,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The bytes for projectId. */ @java.lang.Override @@ -153,7 +153,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The zone. */ @java.lang.Override @@ -182,7 +182,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The bytes for zone. */ @java.lang.Override @@ -214,7 +214,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for clusterId. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The nodePoolId. */ @java.lang.Override @@ -300,7 +300,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -392,7 +392,9 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -415,7 +417,9 @@ public java.lang.String getImageType() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -2436,7 +2440,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The projectId. */ @java.lang.Deprecated @@ -2463,7 +2467,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2490,7 +2494,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2516,7 +2520,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2538,7 +2542,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -2568,7 +2572,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The zone. */ @java.lang.Deprecated @@ -2596,7 +2600,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2624,7 +2628,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @param value The zone to set. * @return This builder for chaining. */ @@ -2651,7 +2655,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2674,7 +2678,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2702,7 +2706,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The clusterId. */ @java.lang.Deprecated @@ -2728,7 +2732,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -2754,7 +2758,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -2779,7 +2783,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2800,7 +2804,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -2828,7 +2832,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The nodePoolId. */ @java.lang.Deprecated @@ -2854,7 +2858,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -2880,7 +2884,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -2905,7 +2909,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2926,7 +2930,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -3093,7 +3097,9 @@ public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3115,7 +3121,9 @@ public java.lang.String getImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3137,7 +3145,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3158,7 +3168,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3175,7 +3187,9 @@ public Builder clearImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java index 45322ee6836b..48506dc83931 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -206,7 +206,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -218,7 +220,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index 0f410bab4e33..4fb096621a9f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -684,7 +684,9 @@ message NodeConfig { map metadata = 4; // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. + // the latest version of it will be used. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 5; // The map of Kubernetes labels (key/value pairs) to be applied to each node. @@ -2299,7 +2301,9 @@ message UpdateNodePoolRequest { // - "-": picks the Kubernetes master version string node_version = 5 [(google.api.field_behavior) = REQUIRED]; - // Required. The desired image type for the node pool. + // Required. The desired image type for the node pool. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 6 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster, node pool) of the node pool to @@ -3527,7 +3531,9 @@ message AutoprovisioningNodePoolDefaults { // https://cloud.google.com/compute/docs/disks/customer-managed-encryption string boot_disk_kms_key = 9; - // The image type to use for NAP created node. + // The image type to use for NAP created node. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 10; } @@ -4596,7 +4602,8 @@ enum DatapathProvider { // Strategy used for node pool update. enum NodePoolUpdateStrategy { - // Default value. + // Default value if unset. GKE internally defaults the update strategy to + // SURGE for unspecified strategies. NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; // blue-green upgrade. diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index 947367e11932..5f4de2643550 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java @@ -207,7 +207,7 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4081 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1012,7 +1012,7 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4081 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1030,7 +1030,7 @@ public long getMaxTimeSharedClientsPerGpu() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4081 * @param value The maxTimeSharedClientsPerGpu to set. * @return This builder for chaining. */ @@ -1052,7 +1052,7 @@ public Builder setMaxTimeSharedClientsPerGpu(long value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4081 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index dedf36a8a116..9e4ea5fc7dc6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java @@ -102,7 +102,7 @@ public interface AcceleratorConfigOrBuilder * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4081 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index 63e2d8612a4b..6a1eb6863fe3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java @@ -194,7 +194,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -218,7 +218,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return The kubernetesDashboard. */ @java.lang.Override @@ -322,7 +322,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return Whether the istioConfig field is set. */ @java.lang.Override @@ -341,7 +341,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return The istioConfig. */ @java.lang.Override @@ -601,7 +601,7 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return Whether the kalmConfig field is set. */ @java.lang.Override @@ -620,7 +620,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return The kalmConfig. */ @java.lang.Override @@ -1925,7 +1925,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -1948,7 +1948,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -2380,7 +2380,7 @@ public Builder clearNetworkPolicyConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -2398,7 +2398,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return The istioConfig. */ @java.lang.Deprecated @@ -3381,7 +3381,7 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -3399,7 +3399,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index f3576761f2f7..139fe74c9953 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java @@ -119,7 +119,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -215,7 +215,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -231,7 +231,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return The istioConfig. */ @java.lang.Deprecated @@ -417,7 +417,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -433,7 +433,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index 7aeb43b57568..71fea23bf397 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java @@ -362,7 +362,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return The minCpuPlatform. */ @java.lang.Override @@ -399,7 +399,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -611,7 +611,9 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -634,7 +636,9 @@ public java.lang.String getImageType() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -2040,7 +2044,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -2076,7 +2080,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -2112,7 +2116,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -2147,7 +2151,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2178,7 +2182,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ @@ -2694,7 +2698,9 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2716,7 +2722,9 @@ public java.lang.String getImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2738,7 +2746,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2759,7 +2769,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2776,7 +2788,9 @@ public Builder clearImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index ba4206e9072d..c46401112dc7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -238,7 +238,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -264,7 +264,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3856 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -388,7 +388,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -400,7 +402,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index db36392c3bef..3e55e067f6da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java @@ -242,7 +242,7 @@ private EvaluationMode(int value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return The enabled. */ @java.lang.Override @@ -671,7 +671,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return The enabled. */ @java.lang.Override @@ -691,7 +691,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @param value The enabled to set. * @return This builder for chaining. */ @@ -715,7 +715,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index d3806c809cbe..a5a66a4cd876 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java @@ -35,7 +35,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java index c39711388287..8fcab4c3a8da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The operationId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The bytes for operationId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The operationId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index 31cd024e9d44..2d47b5d9d155 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index a9414dc46c93..5d60694e3988 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java @@ -493,7 +493,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return The initialNodeCount. */ @java.lang.Override @@ -523,7 +523,7 @@ public int getInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -550,7 +550,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return The nodeConfig. */ @java.lang.Override @@ -1840,7 +1840,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return The privateCluster. */ @java.lang.Override @@ -1867,7 +1867,7 @@ public boolean getPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -1897,7 +1897,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override @@ -2867,7 +2867,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The zone. */ @java.lang.Override @@ -2895,7 +2895,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The bytes for zone. */ @java.lang.Override @@ -3111,7 +3111,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The currentNodeVersion. */ @java.lang.Override @@ -3141,7 +3141,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3262,7 +3262,7 @@ public com.google.container.v1beta1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The statusMessage. */ @java.lang.Override @@ -3290,7 +3290,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3401,7 +3401,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3418,7 +3418,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3435,7 +3435,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3453,7 +3453,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3475,7 +3475,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return The currentNodeCount. */ @java.lang.Override @@ -7130,7 +7130,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return The initialNodeCount. */ @java.lang.Override @@ -7156,7 +7156,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -7186,7 +7186,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return This builder for chaining. */ @java.lang.Deprecated @@ -7222,7 +7222,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -7248,7 +7248,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return The nodeConfig. */ @java.lang.Deprecated @@ -11225,7 +11225,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return The privateCluster. */ @java.lang.Override @@ -11247,7 +11247,7 @@ public boolean getPrivateCluster() { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @param value The privateCluster to set. * @return This builder for chaining. */ @@ -11273,7 +11273,7 @@ public Builder setPrivateCluster(boolean value) { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11299,7 +11299,7 @@ public Builder clearPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -11328,7 +11328,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -11357,7 +11357,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -11385,7 +11385,7 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11409,7 +11409,7 @@ public Builder clearMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -14805,7 +14805,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The zone. */ @java.lang.Deprecated @@ -14832,7 +14832,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The bytes for zone. */ @java.lang.Deprecated @@ -14859,7 +14859,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @param value The zone to set. * @return This builder for chaining. */ @@ -14885,7 +14885,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14907,7 +14907,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -15326,7 +15326,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -15355,7 +15355,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -15384,7 +15384,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -15412,7 +15412,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15436,7 +15436,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -15666,7 +15666,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The statusMessage. */ @java.lang.Deprecated @@ -15693,7 +15693,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -15720,7 +15720,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -15746,7 +15746,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15768,7 +15768,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -15991,7 +15991,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -16008,7 +16008,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -16025,7 +16025,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -16043,7 +16043,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -16061,7 +16061,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -16086,7 +16086,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16110,7 +16110,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16131,7 +16131,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16151,7 +16151,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16179,7 +16179,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return The currentNodeCount. */ @java.lang.Override @@ -16198,7 +16198,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -16221,7 +16221,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index 7cf2e9df84c9..4a4ef7e6b8d4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java @@ -101,7 +101,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ java.lang.String getResourceLabelsOrDefault( * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return The privateCluster. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1729,7 +1729,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The zone. */ @java.lang.Deprecated @@ -1746,7 +1746,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1869,7 +1869,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1888,7 +1888,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1958,7 +1958,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The statusMessage. */ @java.lang.Deprecated @@ -1975,7 +1975,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2040,7 +2040,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -2055,7 +2055,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -2070,7 +2070,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2086,7 +2086,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2104,7 +2104,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return The currentNodeCount. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index 5519e0250d7f..178555eb0870 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -795,7 +795,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @param value The projectId to set. * @return This builder for chaining. */ @@ -822,7 +822,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -875,7 +875,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return The zone. */ @java.lang.Deprecated @@ -903,7 +903,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return The bytes for zone. */ @java.lang.Deprecated @@ -931,7 +931,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @param value The zone to set. * @return This builder for chaining. */ @@ -958,7 +958,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return This builder for chaining. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The clusterId. */ @java.lang.Deprecated @@ -1037,7 +1037,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1064,7 +1064,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1090,7 +1090,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1112,7 +1112,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index dc48b41c6a09..16d48f6c97da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4047 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4054 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4058 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index 10ca8f5fecbb..7b03df057ab2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The bytes for zone. */ @java.lang.Override @@ -735,7 +735,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Deprecated @@ -763,7 +763,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -791,7 +791,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @param value The projectId to set. * @return This builder for chaining. */ @@ -818,7 +818,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return This builder for chaining. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -871,7 +871,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The zone. */ @java.lang.Deprecated @@ -899,7 +899,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The bytes for zone. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @param value The zone to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return This builder for chaining. */ @java.lang.Deprecated @@ -977,7 +977,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index c461601f31fe..b01e8b1c7cff 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index ddd4ebd5602f..c6ed6b55f89a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The bytes for clusterId. */ @java.lang.Override @@ -827,7 +827,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The projectId. */ @java.lang.Deprecated @@ -855,7 +855,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @param value The projectId to set. * @return This builder for chaining. */ @@ -910,7 +910,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return This builder for chaining. */ @java.lang.Deprecated @@ -933,7 +933,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The zone. */ @java.lang.Deprecated @@ -991,7 +991,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1019,7 +1019,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @param value The zone to set. * @return This builder for chaining. */ @@ -1046,7 +1046,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1069,7 +1069,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1098,7 +1098,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The clusterId. */ @java.lang.Deprecated @@ -1125,7 +1125,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1152,7 +1152,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1178,7 +1178,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index f1fc3fc79065..18e578fb9eb2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index cd9251f800ff..99195d51d4b2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The bytes for clusterId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The clusterId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index c8007bb93385..1c72c151f2c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index f5fe1bd093a4..49af95f50865 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1177,7 +1177,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1228,7 +1228,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1255,7 +1255,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1282,7 +1282,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1308,7 +1308,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1330,7 +1330,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index 3fd6529bbf94..544b31e3dade 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index 0c66df496f0a..5e9b48011340 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The bytes for clusterId. */ @java.lang.Override @@ -737,7 +737,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The projectId. */ @java.lang.Deprecated @@ -765,7 +765,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -793,7 +793,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @param value The projectId to set. * @return This builder for chaining. */ @@ -820,7 +820,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return This builder for chaining. */ @java.lang.Deprecated @@ -843,7 +843,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -873,7 +873,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The zone. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The bytes for zone. */ @java.lang.Deprecated @@ -929,7 +929,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @param value The zone to set. * @return This builder for chaining. */ @@ -956,7 +956,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return This builder for chaining. */ @java.lang.Deprecated @@ -979,7 +979,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The clusterId. */ @java.lang.Deprecated @@ -1035,7 +1035,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1088,7 +1088,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index c68e768ce700..c02838d3c237 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java index d843c3603f5d..34dd31ca643d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1177,7 +1177,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1228,7 +1228,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1255,7 +1255,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1282,7 +1282,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1308,7 +1308,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1330,7 +1330,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index 101e9f1ade55..48c18a74213c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index ec2a186b5779..3335e723f018 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The operationId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The bytes for operationId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The operationId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index f26a075e96f9..ade420b35d48 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index 0197a933b54d..d4c52cc43f9f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Override @@ -652,7 +652,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The projectId. */ @java.lang.Deprecated @@ -680,7 +680,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -708,7 +708,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @param value The projectId to set. * @return This builder for chaining. */ @@ -735,7 +735,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return This builder for chaining. */ @java.lang.Deprecated @@ -758,7 +758,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -788,7 +788,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Deprecated @@ -816,7 +816,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @param value The zone to set. * @return This builder for chaining. */ @@ -871,7 +871,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return This builder for chaining. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index aecccfe0d678..69d1fdf7e347 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index cd184c6f37e4..e1905b2861c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java @@ -503,7 +503,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -529,7 +529,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -560,7 +560,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -586,7 +586,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -617,7 +617,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -643,7 +643,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -2289,7 +2289,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2314,7 +2314,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2339,7 +2339,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2363,7 +2363,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2383,7 +2383,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2410,7 +2410,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2435,7 +2435,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2460,7 +2460,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2484,7 +2484,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2504,7 +2504,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2531,7 +2531,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2556,7 +2556,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2581,7 +2581,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2605,7 +2605,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2625,7 +2625,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index 7d2c9b95ab60..56fc3b7b46d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java @@ -92,7 +92,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -154,7 +154,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index ccc39c20aa39..c26f485c49df 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java @@ -214,7 +214,7 @@ private IstioAuthMode(int value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return The disabled. */ @java.lang.Override @@ -235,7 +235,7 @@ public boolean getDisabled() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -253,7 +253,7 @@ public int getAuthValue() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The auth. */ @java.lang.Override @@ -637,7 +637,7 @@ public Builder mergeFrom( * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return The disabled. */ @java.lang.Override @@ -655,7 +655,7 @@ public boolean getDisabled() { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @param value The disabled to set. * @return This builder for chaining. */ @@ -677,7 +677,7 @@ public Builder setDisabled(boolean value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -700,7 +700,7 @@ public Builder clearDisabled() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -719,7 +719,7 @@ public int getAuthValue() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ @@ -741,7 +741,7 @@ public Builder setAuthValue(int value) { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The auth. */ @java.lang.Override @@ -764,7 +764,7 @@ public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @param value The auth to set. * @return This builder for chaining. */ @@ -789,7 +789,7 @@ public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode va * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index f94d04e86570..ca27e194e932 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface IstioConfigOrBuilder * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return The disabled. */ @java.lang.Deprecated @@ -49,7 +49,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The enum numeric value on the wire for auth. */ @java.lang.Deprecated @@ -64,7 +64,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The auth. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index 9b6e2a44573b..438deef65fc8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java @@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return The enabled. */ @java.lang.Override @@ -435,7 +435,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return The enabled. */ @java.lang.Override @@ -453,7 +453,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @param value The enabled to set. * @return This builder for chaining. */ @@ -475,7 +475,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java index eb560ae5ee36..de48d78d514a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface KalmConfigOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index c8e4321c3f82..b5a62a18389b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The bytes for zone. */ @java.lang.Override @@ -654,7 +654,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The projectId. */ @java.lang.Deprecated @@ -682,7 +682,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,7 +710,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @param value The projectId to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return This builder for chaining. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -790,7 +790,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The zone. */ @java.lang.Deprecated @@ -818,7 +818,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The bytes for zone. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @param value The zone to set. * @return This builder for chaining. */ @@ -873,7 +873,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return This builder for chaining. */ @java.lang.Deprecated @@ -896,7 +896,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index 9c60a2577d0a..55b49841f2c5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index d3242d08b108..ec9d38b31bc5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for clusterId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The clusterId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 02ff0682faaa..e85e0d9282d6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index 415abb5017e5..a52db4bfc479 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The bytes for zone. */ @java.lang.Override @@ -654,7 +654,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The projectId. */ @java.lang.Deprecated @@ -682,7 +682,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,7 +710,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @param value The projectId to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return This builder for chaining. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -790,7 +790,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The zone. */ @java.lang.Deprecated @@ -818,7 +818,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The bytes for zone. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @param value The zone to set. * @return This builder for chaining. */ @@ -873,7 +873,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return This builder for chaining. */ @java.lang.Deprecated @@ -896,7 +896,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index 6c96c824bb6b..9cbaa37723fc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index fee6c9236158..63a62b1e6b3a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java @@ -93,7 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The username. */ @java.lang.Override @@ -125,7 +125,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The bytes for username. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The password. */ @java.lang.Override @@ -196,7 +196,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The bytes for password. */ @java.lang.Override @@ -906,7 +906,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The username. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The bytes for username. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @param value The username to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The password. */ @java.lang.Deprecated @@ -1090,7 +1090,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The bytes for password. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @param value The password to set. * @return This builder for chaining. */ @@ -1153,7 +1153,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index 53fb8da4f4ad..b1d417a66129 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java @@ -39,7 +39,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The username. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The bytes for username. */ @java.lang.Deprecated @@ -83,7 +83,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The password. */ @java.lang.Deprecated @@ -105,7 +105,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java index 31a3fddfed63..bc2fbee7572b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java @@ -555,7 +555,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -579,7 +581,9 @@ public java.lang.String getImageType() { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -4646,7 +4650,9 @@ public Builder putAllMetadata(java.util.Map * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4669,7 +4675,9 @@ public java.lang.String getImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4692,7 +4700,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4714,7 +4724,9 @@ public Builder setImageType(java.lang.String value) { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4732,7 +4744,9 @@ public Builder clearImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java index aea76f1e745f..d8f051933e46 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java @@ -391,7 +391,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -404,7 +406,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index 8db9ca8c9412..cdff6b8cff9d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java @@ -5678,7 +5678,7 @@ public com.google.container.v1beta1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return The statusMessage. */ @java.lang.Override @@ -5706,7 +5706,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return The bytes for statusMessage. */ @java.lang.Override @@ -8410,7 +8410,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return The statusMessage. */ @java.lang.Deprecated @@ -8437,7 +8437,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -8464,7 +8464,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -8490,7 +8490,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8512,7 +8512,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index 3f3d47818d43..12f30ef528d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java @@ -370,7 +370,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return The statusMessage. */ @java.lang.Deprecated @@ -387,7 +387,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3474 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java index 6e18ed1f12d2..14b60a73472a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java @@ -32,7 +32,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; @@ -66,7 +67,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index 10df5892ba81..4843ca474157 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java @@ -813,7 +813,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The zone. */ @java.lang.Override @@ -841,7 +841,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The bytes for zone. */ @java.lang.Override @@ -996,7 +996,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The statusMessage. */ @java.lang.Override @@ -1025,7 +1025,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2495,7 +2495,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The zone. */ @java.lang.Deprecated @@ -2522,7 +2522,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2549,7 +2549,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @param value The zone to set. * @return This builder for chaining. */ @@ -2575,7 +2575,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2597,7 +2597,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2913,7 +2913,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The statusMessage. */ @java.lang.Deprecated @@ -2941,7 +2941,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2969,7 +2969,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -2996,7 +2996,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3019,7 +3019,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index 091ee0737d25..e605836e1c7e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java @@ -60,7 +60,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The zone. */ @java.lang.Deprecated @@ -77,7 +77,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The bytes for zone. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The statusMessage. */ @java.lang.Deprecated @@ -189,7 +189,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 0ae6c3ae5c7e..b3aba63cb3ea 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return The projectId. */ @java.lang.Override @@ -120,7 +120,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return The bytes for projectId. */ @java.lang.Override @@ -154,7 +154,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The zone. */ @java.lang.Override @@ -183,7 +183,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The bytes for zone. */ @java.lang.Override @@ -216,7 +216,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return The clusterId. */ @java.lang.Override @@ -244,7 +244,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return The bytes for clusterId. */ @java.lang.Override @@ -277,7 +277,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3757 * @return The nodePoolId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3757 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -873,7 +873,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return The projectId. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -929,7 +929,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @param value The projectId to set. * @return This builder for chaining. */ @@ -956,7 +956,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return This builder for chaining. */ @java.lang.Deprecated @@ -979,7 +979,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The zone. */ @java.lang.Deprecated @@ -1037,7 +1037,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1065,7 +1065,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @param value The zone to set. * @return This builder for chaining. */ @@ -1092,7 +1092,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1144,7 +1144,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return The clusterId. */ @java.lang.Deprecated @@ -1171,7 +1171,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1198,7 +1198,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1224,7 +1224,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1246,7 +1246,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1275,7 +1275,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3757 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1302,7 +1302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3757 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1329,7 +1329,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3757 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1355,7 +1355,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3757 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1377,7 +1377,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3757 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index b59c6771f074..2415742bd8a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3741 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3752 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3757 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3757 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index 191c05eb6022..c55af2dfadf9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java @@ -217,7 +217,7 @@ private Type(int value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The sandboxType. */ @java.lang.Override @@ -243,7 +243,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The bytes for sandboxType. */ @java.lang.Override @@ -669,7 +669,7 @@ public Builder mergeFrom( * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The sandboxType. */ @java.lang.Deprecated @@ -694,7 +694,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The bytes for sandboxType. */ @java.lang.Deprecated @@ -719,7 +719,7 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @param value The sandboxType to set. * @return This builder for chaining. */ @@ -743,7 +743,7 @@ public Builder setSandboxType(java.lang.String value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return This builder for chaining. */ @java.lang.Deprecated @@ -763,7 +763,7 @@ public Builder clearSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index 466bbbad53e1..e7a75b411cd4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The sandboxType. */ @java.lang.Deprecated @@ -48,7 +48,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The bytes for sandboxType. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index 51a9ddbc4c67..987c9036c002 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The bytes for clusterId. */ @java.lang.Override @@ -829,7 +829,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The projectId. */ @java.lang.Deprecated @@ -857,7 +857,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -885,7 +885,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @param value The projectId to set. * @return This builder for chaining. */ @@ -912,7 +912,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return This builder for chaining. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -965,7 +965,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The zone. */ @java.lang.Deprecated @@ -993,7 +993,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1021,7 +1021,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @param value The zone to set. * @return This builder for chaining. */ @@ -1048,7 +1048,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1071,7 +1071,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1100,7 +1100,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The clusterId. */ @java.lang.Deprecated @@ -1127,7 +1127,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1154,7 +1154,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1180,7 +1180,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1202,7 +1202,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index e8e1bcf5bbec..d13438be34b3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index 6d4f9691e010..501187de498a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java @@ -101,7 +101,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return The projectId. */ @java.lang.Override @@ -130,7 +130,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return The bytes for projectId. */ @java.lang.Override @@ -164,7 +164,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return The zone. */ @java.lang.Override @@ -193,7 +193,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return The bytes for zone. */ @java.lang.Override @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return The clusterId. */ @java.lang.Override @@ -254,7 +254,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return The bytes for clusterId. */ @java.lang.Override @@ -1002,7 +1002,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return The projectId. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1058,7 +1058,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return The zone. */ @java.lang.Deprecated @@ -1166,7 +1166,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1194,7 +1194,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @param value The zone to set. * @return This builder for chaining. */ @@ -1221,7 +1221,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1244,7 +1244,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1273,7 +1273,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return The clusterId. */ @java.lang.Deprecated @@ -1300,7 +1300,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1327,7 +1327,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1353,7 +1353,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1375,7 +1375,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index 662db04f170d..66fdfc2cfe25 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3955 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3962 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3966 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index 032f91e2804d..a09bda301a2c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The bytes for clusterId. */ @java.lang.Override @@ -780,7 +780,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return The projectId. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -836,7 +836,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @param value The projectId to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return This builder for chaining. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -916,7 +916,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return The zone. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return The bytes for zone. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @param value The zone to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The clusterId. */ @java.lang.Deprecated @@ -1078,7 +1078,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1131,7 +1131,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index 63f74af6a71d..2459d24fbc10 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3992 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=3999 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4003 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index 6f0b5ad5aa49..63d7751f8d99 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Override @@ -867,7 +867,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The projectId. */ @java.lang.Deprecated @@ -895,7 +895,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -923,7 +923,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @param value The projectId to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return This builder for chaining. */ @java.lang.Deprecated @@ -973,7 +973,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1003,7 +1003,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The zone. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @param value The zone to set. * @return This builder for chaining. */ @@ -1086,7 +1086,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1109,7 +1109,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Deprecated @@ -1165,7 +1165,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1192,7 +1192,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1218,7 +1218,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1240,7 +1240,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index 29fc61b83ef5..cc27b1b819a0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index a2137411b47d..a1ae24b12d1b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The clusterId. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1182,7 +1182,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index 4b4bdbf70c3a..027ce031062d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index f0bb31ce3696..16102d402514 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java @@ -275,7 +275,7 @@ private Action(int value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The projectId. */ @java.lang.Override @@ -304,7 +304,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The bytes for projectId. */ @java.lang.Override @@ -338,7 +338,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The zone. */ @java.lang.Override @@ -367,7 +367,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The bytes for zone. */ @java.lang.Override @@ -400,7 +400,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The clusterId. */ @java.lang.Override @@ -428,7 +428,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The bytes for clusterId. */ @java.lang.Override @@ -1072,7 +1072,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The projectId. */ @java.lang.Deprecated @@ -1100,7 +1100,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1128,7 +1128,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1155,7 +1155,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1208,7 +1208,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The zone. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1264,7 +1264,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @param value The zone to set. * @return This builder for chaining. */ @@ -1291,7 +1291,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1314,7 +1314,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1343,7 +1343,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The clusterId. */ @java.lang.Deprecated @@ -1370,7 +1370,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1397,7 +1397,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1423,7 +1423,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1445,7 +1445,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index 8f01af3d0e6c..d03f40466aa5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 7e2b778966dd..8493c185c7d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @return The clusterId. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1182,7 +1182,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index c81761ce8dc7..ba14f1eeb234 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index 3208173a4a16..f0a2c4b253e3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The bytes for clusterId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1177,7 +1177,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index 035da5e769c1..7caec6ef0362 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4174 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4181 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4185 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index a9efe1da963a..c5c95a5bc3ec 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -915,7 +915,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -943,7 +943,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -971,7 +971,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @param value The projectId to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1021,7 +1021,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The zone. */ @java.lang.Deprecated @@ -1079,7 +1079,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @param value The zone to set. * @return This builder for chaining. */ @@ -1134,7 +1134,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1157,7 +1157,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The clusterId. */ @java.lang.Deprecated @@ -1213,7 +1213,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1240,7 +1240,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1266,7 +1266,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1288,7 +1288,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1317,7 +1317,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1344,7 +1344,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1371,7 +1371,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1397,7 +1397,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1419,7 +1419,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index 7be04b77bb36..8e999149cbe9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index f52b19d4b21b..4317dbc37e4a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java @@ -89,7 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3664 * @return The projectId. */ @java.lang.Override @@ -118,7 +118,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3664 * @return The bytes for projectId. */ @java.lang.Override @@ -152,7 +152,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return The bytes for zone. */ @java.lang.Override @@ -214,7 +214,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3675 * @return The clusterId. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3675 * @return The bytes for clusterId. */ @java.lang.Override @@ -275,7 +275,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return The nodePoolId. */ @java.lang.Override @@ -303,7 +303,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -916,7 +916,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3664 * @return The projectId. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3664 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3664 * @param value The projectId to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3664 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3664 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1052,7 +1052,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return The zone. */ @java.lang.Deprecated @@ -1080,7 +1080,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @param value The zone to set. * @return This builder for chaining. */ @@ -1135,7 +1135,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1187,7 +1187,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3675 * @return The clusterId. */ @java.lang.Deprecated @@ -1214,7 +1214,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3675 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1241,7 +1241,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3675 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1267,7 +1267,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3675 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1289,7 +1289,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3675 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1318,7 +1318,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1345,7 +1345,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1372,7 +1372,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1398,7 +1398,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1420,7 +1420,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index 632a705c339c..c3d32bd33d60 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3664 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3664 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3671 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3675 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3675 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3680 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index be38efda6f5d..7efa220ce1f4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -866,7 +866,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return The projectId. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -922,7 +922,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @param value The projectId to set. * @return This builder for chaining. */ @@ -949,7 +949,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return This builder for chaining. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1002,7 +1002,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return The zone. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1058,7 +1058,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @param value The zone to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1137,7 +1137,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return The clusterId. */ @java.lang.Deprecated @@ -1164,7 +1164,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1191,7 +1191,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1217,7 +1217,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1239,7 +1239,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1268,7 +1268,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1295,7 +1295,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1322,7 +1322,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1348,7 +1348,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1370,7 +1370,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 28e4fa942862..fc120768c11d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3697 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3704 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3708 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3713 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index 971af09c5452..c0b24aa4997e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return The bytes for clusterId. */ @java.lang.Override @@ -780,7 +780,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return The projectId. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -836,7 +836,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @param value The projectId to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return This builder for chaining. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -916,7 +916,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return The zone. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return The bytes for zone. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @param value The zone to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return The clusterId. */ @java.lang.Deprecated @@ -1078,7 +1078,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1131,7 +1131,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 20783b2fda3a..31e16a528c05 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4020 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4027 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4031 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 91066df8b377..10e26bd5f33e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java @@ -337,7 +337,7 @@ private Code(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -356,7 +356,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return The code. */ @java.lang.Override @@ -850,7 +850,7 @@ public Builder mergeFrom( * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -869,7 +869,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -891,7 +891,7 @@ public Builder setCodeValue(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return The code. */ @java.lang.Override @@ -914,7 +914,7 @@ public com.google.container.v1beta1.StatusCondition.Code getCode() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @param value The code to set. * @return This builder for chaining. */ @@ -939,7 +939,7 @@ public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index dcae8abe6cc0..960a79451942 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java @@ -34,7 +34,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4303 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index c526b7a7b75d..acb8347219fa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The projectId. */ @java.lang.Deprecated @@ -853,7 +853,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -881,7 +881,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @param value The projectId to set. * @return This builder for chaining. */ @@ -908,7 +908,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return This builder for chaining. */ @java.lang.Deprecated @@ -931,7 +931,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -961,7 +961,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Deprecated @@ -989,7 +989,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1017,7 +1017,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @param value The zone to set. * @return This builder for chaining. */ @@ -1044,7 +1044,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1067,7 +1067,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The clusterId. */ @java.lang.Deprecated @@ -1123,7 +1123,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1176,7 +1176,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1198,7 +1198,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index 34e046c3d46d..a7139f2a45cd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index 8afc8a0d01b1..d6e2b2bff48d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The bytes for clusterId. */ @java.lang.Override @@ -828,7 +828,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The projectId. */ @java.lang.Deprecated @@ -856,7 +856,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @param value The projectId to set. * @return This builder for chaining. */ @@ -911,7 +911,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return This builder for chaining. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The zone. */ @java.lang.Deprecated @@ -992,7 +992,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @param value The zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The clusterId. */ @java.lang.Deprecated @@ -1126,7 +1126,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1179,7 +1179,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1201,7 +1201,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index 046ecf238517..f87ea25de1b1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index d06ebfde15f1..9f6ab9345de2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java @@ -92,7 +92,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The projectId. */ @java.lang.Override @@ -121,7 +121,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The bytes for projectId. */ @java.lang.Override @@ -155,7 +155,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The zone. */ @java.lang.Override @@ -184,7 +184,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The bytes for zone. */ @java.lang.Override @@ -217,7 +217,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The clusterId. */ @java.lang.Override @@ -245,7 +245,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The bytes for clusterId. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The nodePoolId. */ @java.lang.Override @@ -306,7 +306,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -398,7 +398,9 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -421,7 +423,9 @@ public java.lang.String getImageType() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -2446,7 +2450,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The projectId. */ @java.lang.Deprecated @@ -2474,7 +2478,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2502,7 +2506,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2529,7 +2533,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2552,7 +2556,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -2582,7 +2586,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The zone. */ @java.lang.Deprecated @@ -2610,7 +2614,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2638,7 +2642,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @param value The zone to set. * @return This builder for chaining. */ @@ -2665,7 +2669,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2688,7 +2692,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2717,7 +2721,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The clusterId. */ @java.lang.Deprecated @@ -2744,7 +2748,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -2771,7 +2775,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -2797,7 +2801,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2819,7 +2823,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -2848,7 +2852,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The nodePoolId. */ @java.lang.Deprecated @@ -2875,7 +2879,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -2902,7 +2906,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -2928,7 +2932,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2950,7 +2954,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -3117,7 +3121,9 @@ public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3139,7 +3145,9 @@ public java.lang.String getImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3161,7 +3169,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3182,7 +3192,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3199,7 +3211,9 @@ public Builder clearImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java index adc18faa165d..d1a038b86d5d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -212,7 +212,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -224,7 +226,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index 88e795ba29a0..051ec7912740 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return The identityNamespace. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return The bytes for identityNamespace. */ @java.lang.Override @@ -631,7 +631,7 @@ public Builder mergeFrom( * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return The identityNamespace. */ @java.lang.Deprecated @@ -656,7 +656,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return The bytes for identityNamespace. */ @java.lang.Deprecated @@ -681,7 +681,7 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @param value The identityNamespace to set. * @return This builder for chaining. */ @@ -705,7 +705,7 @@ public Builder setIdentityNamespace(java.lang.String value) { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return This builder for chaining. */ @java.lang.Deprecated @@ -725,7 +725,7 @@ public Builder clearIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index 732ee26829bc..90f643aa81fc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return The identityNamespace. */ @java.lang.Deprecated @@ -48,7 +48,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4559 * @return The bytes for identityNamespace. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index a2b498cbde3c..159dc833f50e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java @@ -454,7 +454,7 @@ private Mode(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -475,7 +475,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return The nodeMetadata. */ @java.lang.Override @@ -910,7 +910,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -931,7 +931,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setNodeMetadataValue(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return The nodeMetadata. */ @java.lang.Override @@ -980,7 +980,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeM * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @param value The nodeMetadata to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setNodeMetadata( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index ee7ef85e8431..8621f9a5a3a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java @@ -36,7 +36,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4162 * @return The nodeMetadata. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto index 2bbbd5bcf19d..24922ac0a23a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto @@ -676,7 +676,9 @@ message NodeConfig { map metadata = 4; // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. + // the latest version of it will be used. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 5; // The map of Kubernetes labels (key/value pairs) to be applied to each node. @@ -2558,7 +2560,9 @@ message UpdateNodePoolRequest { // - "-": picks the Kubernetes master version string node_version = 5 [(google.api.field_behavior) = REQUIRED]; - // Required. The desired image type for the node pool. + // Required. The desired image type for the node pool. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 6 [(google.api.field_behavior) = REQUIRED]; // The desired list of Google Compute Engine @@ -3876,7 +3880,9 @@ message AutoprovisioningNodePoolDefaults { // https://cloud.google.com/compute/docs/disks/customer-managed-encryption string boot_disk_kms_key = 9; - // The image type to use for NAP created node. + // The image type to use for NAP created node. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 10; } @@ -4987,7 +4993,8 @@ message IdentityServiceConfig { // Strategy used for node pool update. enum NodePoolUpdateStrategy { - // Default value. + // Default value if unset. GKE internally defaults the update strategy to + // SURGE for unspecified strategies. NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; // blue-green upgrade. diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java new file mode 100644 index 000000000000..f7babf9a48d5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class AsyncCancelOperation { + + public static void main(String[] args) throws Exception { + asyncCancelOperation(); + } + + public static void asyncCancelOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.cancelOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java new file mode 100644 index 000000000000..2129b8659017 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class SyncCancelOperation { + + public static void main(String[] args) throws Exception { + syncCancelOperation(); + } + + public static void syncCancelOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + clusterManagerClient.cancelOperation(request); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java new file mode 100644 index 000000000000..ddc11f6d1b7b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.protobuf.Empty; + +public class SyncCancelOperationString { + + public static void main(String[] args) throws Exception { + syncCancelOperationString(); + } + + public static void syncCancelOperationString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + clusterManagerClient.cancelOperation(name); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java new file mode 100644 index 000000000000..bd2efd8c96b1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.protobuf.Empty; + +public class SyncCancelOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncCancelOperationStringStringString(); + } + + public static void syncCancelOperationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + clusterManagerClient.cancelOperation(projectId, zone, operationId); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java new file mode 100644 index 000000000000..b8d8bbda6dbf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.Operation; + +public class AsyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + asyncCompleteIPRotation(); + } + + public static void asyncCompleteIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.completeIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java new file mode 100644 index 000000000000..6c5ca47b13df --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.Operation; + +public class SyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotation(); + } + + public static void syncCompleteIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.completeIPRotation(request); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java new file mode 100644 index 000000000000..e59f6eae7c1c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncCompleteIPRotationString { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotationString(); + } + + public static void syncCompleteIPRotationString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.completeIPRotation(name); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java new file mode 100644 index 000000000000..12fcfc410ca0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncCompleteIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotationStringStringString(); + } + + public static void syncCompleteIPRotationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.completeIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..1aff18671402 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class AsyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncCompleteNodePoolUpgrade(); + } + + public static void asyncCompleteNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + clusterManagerClient.completeNodePoolUpgradeCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..728068e64077 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class SyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncCompleteNodePoolUpgrade(); + } + + public static void syncCompleteNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + clusterManagerClient.completeNodePoolUpgrade(request); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..7bed37f35531 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.cloud.container.v1.ClusterManagerSettings; +import com.google.cloud.container.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1_generated_ClusterManager_Create_SetCredentialsProvider_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..736a8ed1d75c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_Create_SetEndpoint_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.cloud.container.v1.ClusterManagerSettings; +import com.google.cloud.container.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder().setEndpoint(myEndpoint).build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1_generated_ClusterManager_Create_SetEndpoint_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java new file mode 100644 index 000000000000..4c02f7d16bad --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.CreateClusterRequest; +import com.google.container.v1.Operation; + +public class AsyncCreateCluster { + + public static void main(String[] args) throws Exception { + asyncCreateCluster(); + } + + public static void asyncCreateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java new file mode 100644 index 000000000000..507becfbbb09 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.CreateClusterRequest; +import com.google.container.v1.Operation; + +public class SyncCreateCluster { + + public static void main(String[] args) throws Exception { + syncCreateCluster(); + } + + public static void syncCreateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java new file mode 100644 index 000000000000..3942c972e4a1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_StringCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.Operation; + +public class SyncCreateClusterStringCluster { + + public static void main(String[] args) throws Exception { + syncCreateClusterStringCluster(); + } + + public static void syncCreateClusterStringCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + Cluster cluster = Cluster.newBuilder().build(); + Operation response = clusterManagerClient.createCluster(parent, cluster); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_StringCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java new file mode 100644 index 000000000000..1a57023efea7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.Operation; + +public class SyncCreateClusterStringStringCluster { + + public static void main(String[] args) throws Exception { + syncCreateClusterStringStringCluster(); + } + + public static void syncCreateClusterStringStringCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + Cluster cluster = Cluster.newBuilder().build(); + Operation response = clusterManagerClient.createCluster(projectId, zone, cluster); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java new file mode 100644 index 000000000000..0bed5cd179b0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CreateNodePoolRequest; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class AsyncCreateNodePool { + + public static void main(String[] args) throws Exception { + asyncCreateNodePool(); + } + + public static void asyncCreateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java new file mode 100644 index 000000000000..ce61b8d8bea3 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CreateNodePoolRequest; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class SyncCreateNodePool { + + public static void main(String[] args) throws Exception { + syncCreateNodePool(); + } + + public static void syncCreateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java new file mode 100644 index 000000000000..1acba944fdef --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_StringNodepool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class SyncCreateNodePoolStringNodepool { + + public static void main(String[] args) throws Exception { + syncCreateNodePoolStringNodepool(); + } + + public static void syncCreateNodePoolStringNodepool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + NodePool nodePool = NodePool.newBuilder().build(); + Operation response = clusterManagerClient.createNodePool(parent, nodePool); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_StringNodepool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java new file mode 100644 index 000000000000..01803246d6ba --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class SyncCreateNodePoolStringStringStringNodepool { + + public static void main(String[] args) throws Exception { + syncCreateNodePoolStringStringStringNodepool(); + } + + public static void syncCreateNodePoolStringStringStringNodepool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NodePool nodePool = NodePool.newBuilder().build(); + Operation response = + clusterManagerClient.createNodePool(projectId, zone, clusterId, nodePool); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java new file mode 100644 index 000000000000..f9c58dfa33d5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteClusterRequest; +import com.google.container.v1.Operation; + +public class AsyncDeleteCluster { + + public static void main(String[] args) throws Exception { + asyncDeleteCluster(); + } + + public static void asyncDeleteCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java new file mode 100644 index 000000000000..36d21702328e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteClusterRequest; +import com.google.container.v1.Operation; + +public class SyncDeleteCluster { + + public static void main(String[] args) throws Exception { + syncDeleteCluster(); + } + + public static void syncDeleteCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java new file mode 100644 index 000000000000..ff4a8f96129c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteClusterString { + + public static void main(String[] args) throws Exception { + syncDeleteClusterString(); + } + + public static void syncDeleteClusterString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.deleteCluster(name); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java new file mode 100644 index 000000000000..fc799445d3e8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteClusterStringStringString(); + } + + public static void syncDeleteClusterStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java new file mode 100644 index 000000000000..14b623dc87d8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteNodePoolRequest; +import com.google.container.v1.Operation; + +public class AsyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + asyncDeleteNodePool(); + } + + public static void asyncDeleteNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java new file mode 100644 index 000000000000..80d40a38aeb7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteNodePoolRequest; +import com.google.container.v1.Operation; + +public class SyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + syncDeleteNodePool(); + } + + public static void syncDeleteNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java new file mode 100644 index 000000000000..a86c0467d54f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteNodePoolString { + + public static void main(String[] args) throws Exception { + syncDeleteNodePoolString(); + } + + public static void syncDeleteNodePoolString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.deleteNodePool(name); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java new file mode 100644 index 000000000000..eceaddb94dc2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteNodePoolStringStringStringString(); + } + + public static void syncDeleteNodePoolStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java new file mode 100644 index 000000000000..912482010cba --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.GetClusterRequest; + +public class AsyncGetCluster { + + public static void main(String[] args) throws Exception { + asyncGetCluster(); + } + + public static void asyncGetCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getClusterCallable().futureCall(request); + // Do something. + Cluster response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java new file mode 100644 index 000000000000..3bb1ab182d10 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.GetClusterRequest; + +public class SyncGetCluster { + + public static void main(String[] args) throws Exception { + syncGetCluster(); + } + + public static void syncGetCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Cluster response = clusterManagerClient.getCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java new file mode 100644 index 000000000000..a80a8d527df4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; + +public class SyncGetClusterString { + + public static void main(String[] args) throws Exception { + syncGetClusterString(); + } + + public static void syncGetClusterString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Cluster response = clusterManagerClient.getCluster(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java new file mode 100644 index 000000000000..68a9f6d4e7bd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; + +public class SyncGetClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncGetClusterStringStringString(); + } + + public static void syncGetClusterStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Cluster response = clusterManagerClient.getCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java new file mode 100644 index 000000000000..2694d56a6755 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetJSONWebKeys_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetJSONWebKeysRequest; +import com.google.container.v1.GetJSONWebKeysResponse; + +public class AsyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + asyncGetJSONWebKeys(); + } + + public static void asyncGetJSONWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + ApiFuture future = + clusterManagerClient.getJSONWebKeysCallable().futureCall(request); + // Do something. + GetJSONWebKeysResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetJSONWebKeys_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java new file mode 100644 index 000000000000..82f9b6061373 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetJSONWebKeys_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetJSONWebKeysRequest; +import com.google.container.v1.GetJSONWebKeysResponse; + +public class SyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + syncGetJSONWebKeys(); + } + + public static void syncGetJSONWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + GetJSONWebKeysResponse response = clusterManagerClient.getJSONWebKeys(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetJSONWebKeys_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java new file mode 100644 index 000000000000..d766be313fd5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetNodePoolRequest; +import com.google.container.v1.NodePool; + +public class AsyncGetNodePool { + + public static void main(String[] args) throws Exception { + asyncGetNodePool(); + } + + public static void asyncGetNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getNodePoolCallable().futureCall(request); + // Do something. + NodePool response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java new file mode 100644 index 000000000000..2c5be1fb90e3 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetNodePoolRequest; +import com.google.container.v1.NodePool; + +public class SyncGetNodePool { + + public static void main(String[] args) throws Exception { + syncGetNodePool(); + } + + public static void syncGetNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + NodePool response = clusterManagerClient.getNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java new file mode 100644 index 000000000000..7e574ce3c01e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; + +public class SyncGetNodePoolString { + + public static void main(String[] args) throws Exception { + syncGetNodePoolString(); + } + + public static void syncGetNodePoolString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + NodePool response = clusterManagerClient.getNodePool(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java new file mode 100644 index 000000000000..78c0c756181a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; + +public class SyncGetNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncGetNodePoolStringStringStringString(); + } + + public static void syncGetNodePoolStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + NodePool response = clusterManagerClient.getNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java new file mode 100644 index 000000000000..71e2f7400c04 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetOperationRequest; +import com.google.container.v1.Operation; + +public class AsyncGetOperation { + + public static void main(String[] args) throws Exception { + asyncGetOperation(); + } + + public static void asyncGetOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java new file mode 100644 index 000000000000..e2513d2a0edc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetOperationRequest; +import com.google.container.v1.Operation; + +public class SyncGetOperation { + + public static void main(String[] args) throws Exception { + syncGetOperation(); + } + + public static void syncGetOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.getOperation(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java new file mode 100644 index 000000000000..51f3be8d0c90 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncGetOperationString { + + public static void main(String[] args) throws Exception { + syncGetOperationString(); + } + + public static void syncGetOperationString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.getOperation(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java new file mode 100644 index 000000000000..c65da8faecf4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncGetOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncGetOperationStringStringString(); + } + + public static void syncGetOperationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + Operation response = clusterManagerClient.getOperation(projectId, zone, operationId); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java new file mode 100644 index 000000000000..f06694975584 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetServerConfigRequest; +import com.google.container.v1.ServerConfig; + +public class AsyncGetServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetServerConfig(); + } + + public static void asyncGetServerConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.getServerConfigCallable().futureCall(request); + // Do something. + ServerConfig response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java new file mode 100644 index 000000000000..11718df12cdf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetServerConfigRequest; +import com.google.container.v1.ServerConfig; + +public class SyncGetServerConfig { + + public static void main(String[] args) throws Exception { + syncGetServerConfig(); + } + + public static void syncGetServerConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ServerConfig response = clusterManagerClient.getServerConfig(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java new file mode 100644 index 000000000000..034eb117f88e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ServerConfig; + +public class SyncGetServerConfigString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigString(); + } + + public static void syncGetServerConfigString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + ServerConfig response = clusterManagerClient.getServerConfig(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java new file mode 100644 index 000000000000..5e7e2d406610 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ServerConfig; + +public class SyncGetServerConfigStringString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigStringString(); + } + + public static void syncGetServerConfigStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ServerConfig response = clusterManagerClient.getServerConfig(projectId, zone); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java new file mode 100644 index 000000000000..85fd0010748d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersRequest; +import com.google.container.v1.ListClustersResponse; + +public class AsyncListClusters { + + public static void main(String[] args) throws Exception { + asyncListClusters(); + } + + public static void asyncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listClustersCallable().futureCall(request); + // Do something. + ListClustersResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..d35d3e5a91e6 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersRequest; +import com.google.container.v1.ListClustersResponse; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListClustersResponse response = clusterManagerClient.listClusters(request); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java new file mode 100644 index 000000000000..7992a2486d60 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersResponse; + +public class SyncListClustersString { + + public static void main(String[] args) throws Exception { + syncListClustersString(); + } + + public static void syncListClustersString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + ListClustersResponse response = clusterManagerClient.listClusters(parent); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java new file mode 100644 index 000000000000..4f7c796d1a4f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersResponse; + +public class SyncListClustersStringString { + + public static void main(String[] args) throws Exception { + syncListClustersStringString(); + } + + public static void syncListClustersStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java new file mode 100644 index 000000000000..face94f9ba27 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsRequest; +import com.google.container.v1.ListNodePoolsResponse; + +public class AsyncListNodePools { + + public static void main(String[] args) throws Exception { + asyncListNodePools(); + } + + public static void asyncListNodePools() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listNodePoolsCallable().futureCall(request); + // Do something. + ListNodePoolsResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java new file mode 100644 index 000000000000..341d47f02fa3 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsRequest; +import com.google.container.v1.ListNodePoolsResponse; + +public class SyncListNodePools { + + public static void main(String[] args) throws Exception { + syncListNodePools(); + } + + public static void syncListNodePools() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ListNodePoolsResponse response = clusterManagerClient.listNodePools(request); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java new file mode 100644 index 000000000000..1ee69ffb6b93 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsResponse; + +public class SyncListNodePoolsString { + + public static void main(String[] args) throws Exception { + syncListNodePoolsString(); + } + + public static void syncListNodePoolsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + ListNodePoolsResponse response = clusterManagerClient.listNodePools(parent); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java new file mode 100644 index 000000000000..20e9f9014a71 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsResponse; + +public class SyncListNodePoolsStringStringString { + + public static void main(String[] args) throws Exception { + syncListNodePoolsStringStringString(); + } + + public static void syncListNodePoolsStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ListNodePoolsResponse response = + clusterManagerClient.listNodePools(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java new file mode 100644 index 000000000000..29ac9e5c6627 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListOperations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListOperationsRequest; +import com.google.container.v1.ListOperationsResponse; + +public class AsyncListOperations { + + public static void main(String[] args) throws Exception { + asyncListOperations(); + } + + public static void asyncListOperations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listOperationsCallable().futureCall(request); + // Do something. + ListOperationsResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_ListOperations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java new file mode 100644 index 000000000000..b6fd93ad44f8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListOperations_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListOperationsRequest; +import com.google.container.v1.ListOperationsResponse; + +public class SyncListOperations { + + public static void main(String[] args) throws Exception { + syncListOperations(); + } + + public static void syncListOperations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListOperationsResponse response = clusterManagerClient.listOperations(request); + } + } +} +// [END container_v1_generated_ClusterManager_ListOperations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java new file mode 100644 index 000000000000..8b2707e27bf5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListOperations_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListOperationsResponse; + +public class SyncListOperationsStringString { + + public static void main(String[] args) throws Exception { + syncListOperationsStringString(); + } + + public static void syncListOperationsStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListOperationsResponse response = clusterManagerClient.listOperations(projectId, zone); + } + } +} +// [END container_v1_generated_ClusterManager_ListOperations_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java new file mode 100644 index 000000000000..006d50ae8d16 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListUsableSubnetworks_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.UsableSubnetwork; + +public class AsyncListUsableSubnetworks { + + public static void main(String[] args) throws Exception { + asyncListUsableSubnetworks(); + } + + public static void asyncListUsableSubnetworks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + clusterManagerClient.listUsableSubnetworksPagedCallable().futureCall(request); + // Do something. + for (UsableSubnetwork element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1_generated_ClusterManager_ListUsableSubnetworks_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java new file mode 100644 index 000000000000..252b8a92021c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.common.base.Strings; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.ListUsableSubnetworksResponse; +import com.google.container.v1.UsableSubnetwork; + +public class AsyncListUsableSubnetworksPaged { + + public static void main(String[] args) throws Exception { + asyncListUsableSubnetworksPaged(); + } + + public static void asyncListUsableSubnetworksPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListUsableSubnetworksResponse response = + clusterManagerClient.listUsableSubnetworksCallable().call(request); + for (UsableSubnetwork element : response.getSubnetworksList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END container_v1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java new file mode 100644 index 000000000000..5c9792bfc9ef --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListUsableSubnetworks_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.UsableSubnetwork; + +public class SyncListUsableSubnetworks { + + public static void main(String[] args) throws Exception { + syncListUsableSubnetworks(); + } + + public static void syncListUsableSubnetworks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (UsableSubnetwork element : + clusterManagerClient.listUsableSubnetworks(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1_generated_ClusterManager_ListUsableSubnetworks_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..67f6970f4f6f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.RollbackNodePoolUpgradeRequest; + +public class AsyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncRollbackNodePoolUpgrade(); + } + + public static void asyncRollbackNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + ApiFuture future = + clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..4c3a6efd386c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.RollbackNodePoolUpgradeRequest; + +public class SyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgrade(); + } + + public static void syncRollbackNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java new file mode 100644 index 000000000000..73264e3f43da --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncRollbackNodePoolUpgradeString { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgradeString(); + } + + public static void syncRollbackNodePoolUpgradeString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.rollbackNodePoolUpgrade(name); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java new file mode 100644 index 000000000000..e9bafb1ad547 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncRollbackNodePoolUpgradeStringStringStringString { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgradeStringStringStringString(); + } + + public static void syncRollbackNodePoolUpgradeStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java new file mode 100644 index 000000000000..3492d56b52d7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; +import com.google.container.v1.SetAddonsConfigRequest; + +public class AsyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + asyncSetAddonsConfig(); + } + + public static void asyncSetAddonsConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setAddonsConfigCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java new file mode 100644 index 000000000000..c077bd769121 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; +import com.google.container.v1.SetAddonsConfigRequest; + +public class SyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfig(); + } + + public static void syncSetAddonsConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setAddonsConfig(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java new file mode 100644 index 000000000000..3f63abbf5999 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_StringAddonsconfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; + +public class SyncSetAddonsConfigStringAddonsconfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfigStringAddonsconfig(); + } + + public static void syncSetAddonsConfigStringAddonsconfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + Operation response = clusterManagerClient.setAddonsConfig(name, addonsConfig); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_StringAddonsconfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java new file mode 100644 index 000000000000..a08b79b35485 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; + +public class SyncSetAddonsConfigStringStringStringAddonsconfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfigStringStringStringAddonsconfig(); + } + + public static void syncSetAddonsConfigStringStringStringAddonsconfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + Operation response = + clusterManagerClient.setAddonsConfig(projectId, zone, clusterId, addonsConfig); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java new file mode 100644 index 000000000000..1b6b52671a73 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLabels_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLabelsRequest; +import java.util.HashMap; + +public class AsyncSetLabels { + + public static void main(String[] args) throws Exception { + asyncSetLabels(); + } + + public static void asyncSetLabels() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLabelsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLabels_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java new file mode 100644 index 000000000000..0651a29bcd17 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLabels_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLabelsRequest; +import java.util.HashMap; + +public class SyncSetLabels { + + public static void main(String[] args) throws Exception { + syncSetLabels(); + } + + public static void syncSetLabels() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLabels(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLabels_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java new file mode 100644 index 000000000000..78158347fb5f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLegacyAbacRequest; + +public class AsyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + asyncSetLegacyAbac(); + } + + public static void asyncSetLegacyAbac() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLegacyAbacCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java new file mode 100644 index 000000000000..9f2e7ebdac93 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLegacyAbacRequest; + +public class SyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbac(); + } + + public static void syncSetLegacyAbac() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLegacyAbac(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java new file mode 100644 index 000000000000..75e71938ee09 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_StringBoolean_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLegacyAbacStringBoolean { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbacStringBoolean(); + } + + public static void syncSetLegacyAbacStringBoolean() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + boolean enabled = true; + Operation response = clusterManagerClient.setLegacyAbac(name, enabled); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_StringBoolean_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java new file mode 100644 index 000000000000..86c95faf0935 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLegacyAbacStringStringStringBoolean { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbacStringStringStringBoolean(); + } + + public static void syncSetLegacyAbacStringStringStringBoolean() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + boolean enabled = true; + Operation response = clusterManagerClient.setLegacyAbac(projectId, zone, clusterId, enabled); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java new file mode 100644 index 000000000000..0bfc620343af --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLocationsRequest; +import java.util.ArrayList; + +public class AsyncSetLocations { + + public static void main(String[] args) throws Exception { + asyncSetLocations(); + } + + public static void asyncSetLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLocationsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java new file mode 100644 index 000000000000..b20f8c43e4cd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLocationsRequest; +import java.util.ArrayList; + +public class SyncSetLocations { + + public static void main(String[] args) throws Exception { + syncSetLocations(); + } + + public static void syncSetLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLocations(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java new file mode 100644 index 000000000000..0e213d65b5e8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_StringListstring_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import java.util.ArrayList; +import java.util.List; + +public class SyncSetLocationsStringListstring { + + public static void main(String[] args) throws Exception { + syncSetLocationsStringListstring(); + } + + public static void syncSetLocationsStringListstring() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + List locations = new ArrayList<>(); + Operation response = clusterManagerClient.setLocations(name, locations); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_StringListstring_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java new file mode 100644 index 000000000000..60ca4363605a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import java.util.ArrayList; +import java.util.List; + +public class SyncSetLocationsStringStringStringListstring { + + public static void main(String[] args) throws Exception { + syncSetLocationsStringStringStringListstring(); + } + + public static void syncSetLocationsStringStringStringListstring() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + List locations = new ArrayList<>(); + Operation response = clusterManagerClient.setLocations(projectId, zone, clusterId, locations); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java new file mode 100644 index 000000000000..071b5b0da337 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLoggingServiceRequest; + +public class AsyncSetLoggingService { + + public static void main(String[] args) throws Exception { + asyncSetLoggingService(); + } + + public static void asyncSetLoggingService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLoggingServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java new file mode 100644 index 000000000000..85b548377c81 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLoggingServiceRequest; + +public class SyncSetLoggingService { + + public static void main(String[] args) throws Exception { + syncSetLoggingService(); + } + + public static void syncSetLoggingService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLoggingService(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java new file mode 100644 index 000000000000..618aa46182e7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLoggingServiceStringString { + + public static void main(String[] args) throws Exception { + syncSetLoggingServiceStringString(); + } + + public static void syncSetLoggingServiceStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + String loggingService = "loggingService1098570326"; + Operation response = clusterManagerClient.setLoggingService(name, loggingService); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java new file mode 100644 index 000000000000..2d45250554b8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLoggingServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetLoggingServiceStringStringStringString(); + } + + public static void syncSetLoggingServiceStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String loggingService = "loggingService1098570326"; + Operation response = + clusterManagerClient.setLoggingService(projectId, zone, clusterId, loggingService); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..700131d6eeaf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMaintenancePolicyRequest; + +public class AsyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + asyncSetMaintenancePolicy(); + } + + public static void asyncSetMaintenancePolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMaintenancePolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..4d451c0684c2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMaintenancePolicyRequest; + +public class SyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicy(); + } + + public static void syncSetMaintenancePolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMaintenancePolicy(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java new file mode 100644 index 000000000000..044782200dbb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_StringMaintenancepolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; + +public class SyncSetMaintenancePolicyStringMaintenancepolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicyStringMaintenancepolicy(); + } + + public static void syncSetMaintenancePolicyStringMaintenancepolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); + Operation response = clusterManagerClient.setMaintenancePolicy(name, maintenancePolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_StringMaintenancepolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java new file mode 100644 index 000000000000..694db5ee90c6 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; + +public class SyncSetMaintenancePolicyStringStringStringMaintenancepolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicyStringStringStringMaintenancepolicy(); + } + + public static void syncSetMaintenancePolicyStringStringStringMaintenancepolicy() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java new file mode 100644 index 000000000000..f0eba3f995bb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMasterAuth_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MasterAuth; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMasterAuthRequest; + +public class AsyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + asyncSetMasterAuth(); + } + + public static void asyncSetMasterAuth() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMasterAuthCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetMasterAuth_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java new file mode 100644 index 000000000000..afb7ec317eb9 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMasterAuth_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MasterAuth; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMasterAuthRequest; + +public class SyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + syncSetMasterAuth(); + } + + public static void syncSetMasterAuth() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMasterAuth(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetMasterAuth_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java new file mode 100644 index 000000000000..1176990d361a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMonitoringServiceRequest; + +public class AsyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + asyncSetMonitoringService(); + } + + public static void asyncSetMonitoringService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMonitoringServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java new file mode 100644 index 000000000000..622cb88ea14d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMonitoringServiceRequest; + +public class SyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + syncSetMonitoringService(); + } + + public static void syncSetMonitoringService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMonitoringService(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java new file mode 100644 index 000000000000..f51b50110f83 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetMonitoringServiceStringString { + + public static void main(String[] args) throws Exception { + syncSetMonitoringServiceStringString(); + } + + public static void syncSetMonitoringServiceStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + String monitoringService = "monitoringService-1431578291"; + Operation response = clusterManagerClient.setMonitoringService(name, monitoringService); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java new file mode 100644 index 000000000000..4cffd88b0d6a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetMonitoringServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetMonitoringServiceStringStringStringString(); + } + + public static void syncSetMonitoringServiceStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String monitoringService = "monitoringService-1431578291"; + Operation response = + clusterManagerClient.setMonitoringService(projectId, zone, clusterId, monitoringService); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java new file mode 100644 index 000000000000..02ef9e365d14 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNetworkPolicyRequest; + +public class AsyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + asyncSetNetworkPolicy(); + } + + public static void asyncSetNetworkPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNetworkPolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java new file mode 100644 index 000000000000..2de1e74e069b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNetworkPolicyRequest; + +public class SyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicy(); + } + + public static void syncSetNetworkPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNetworkPolicy(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java new file mode 100644 index 000000000000..66751bec6c8b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_StringNetworkpolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; + +public class SyncSetNetworkPolicyStringNetworkpolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicyStringNetworkpolicy(); + } + + public static void syncSetNetworkPolicyStringNetworkpolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + Operation response = clusterManagerClient.setNetworkPolicy(name, networkPolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_StringNetworkpolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java new file mode 100644 index 000000000000..6166e1c3b368 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; + +public class SyncSetNetworkPolicyStringStringStringNetworkpolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicyStringStringStringNetworkpolicy(); + } + + public static void syncSetNetworkPolicyStringStringStringNetworkpolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..fe49ed18fd76 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolAutoscaling_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePoolAutoscaling; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolAutoscalingRequest; + +public class AsyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolAutoscaling(); + } + + public static void asyncSetNodePoolAutoscaling() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolAutoscalingCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolAutoscaling_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..c455d81623ad --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolAutoscaling_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePoolAutoscaling; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolAutoscalingRequest; + +public class SyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + syncSetNodePoolAutoscaling(); + } + + public static void syncSetNodePoolAutoscaling() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolAutoscaling(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolAutoscaling_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java new file mode 100644 index 000000000000..9f1757f9bfb1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolManagement_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodeManagement; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolManagementRequest; + +public class AsyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolManagement(); + } + + public static void asyncSetNodePoolManagement() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolManagementCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolManagement_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java new file mode 100644 index 000000000000..0737d1f91aa2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolManagement_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodeManagement; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolManagementRequest; + +public class SyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + syncSetNodePoolManagement(); + } + + public static void syncSetNodePoolManagement() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolManagement(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolManagement_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java new file mode 100644 index 000000000000..21846dc223f9 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolSize_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolSizeRequest; + +public class AsyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolSize(); + } + + public static void asyncSetNodePoolSize() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolSizeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolSize_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java new file mode 100644 index 000000000000..8f503504f906 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolSize_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolSizeRequest; + +public class SyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + syncSetNodePoolSize(); + } + + public static void syncSetNodePoolSize() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolSize(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolSize_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java new file mode 100644 index 000000000000..12e085d83b55 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.StartIPRotationRequest; + +public class AsyncStartIPRotation { + + public static void main(String[] args) throws Exception { + asyncStartIPRotation(); + } + + public static void asyncStartIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + ApiFuture future = + clusterManagerClient.startIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java new file mode 100644 index 000000000000..b63ce181dc77 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.StartIPRotationRequest; + +public class SyncStartIPRotation { + + public static void main(String[] args) throws Exception { + syncStartIPRotation(); + } + + public static void syncStartIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + Operation response = clusterManagerClient.startIPRotation(request); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java new file mode 100644 index 000000000000..fb7f7cf57f67 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncStartIPRotationString { + + public static void main(String[] args) throws Exception { + syncStartIPRotationString(); + } + + public static void syncStartIPRotationString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.startIPRotation(name); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java new file mode 100644 index 000000000000..247ec377bdcd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncStartIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncStartIPRotationStringStringString(); + } + + public static void syncStartIPRotationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.startIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java new file mode 100644 index 000000000000..f0be44675c01 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateClusterRequest; + +public class AsyncUpdateCluster { + + public static void main(String[] args) throws Exception { + asyncUpdateCluster(); + } + + public static void asyncUpdateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.updateClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java new file mode 100644 index 000000000000..4f5032b3729d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateClusterRequest; + +public class SyncUpdateCluster { + + public static void main(String[] args) throws Exception { + syncUpdateCluster(); + } + + public static void syncUpdateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java new file mode 100644 index 000000000000..a6edc61df772 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_StringClusterupdate_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; + +public class SyncUpdateClusterStringClusterupdate { + + public static void main(String[] args) throws Exception { + syncUpdateClusterStringClusterupdate(); + } + + public static void syncUpdateClusterStringClusterupdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Operation response = clusterManagerClient.updateCluster(name, update); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_StringClusterupdate_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java new file mode 100644 index 000000000000..cc3c1fd8315d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; + +public class SyncUpdateClusterStringStringStringClusterupdate { + + public static void main(String[] args) throws Exception { + syncUpdateClusterStringStringStringClusterupdate(); + } + + public static void syncUpdateClusterStringStringStringClusterupdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Operation response = clusterManagerClient.updateCluster(projectId, zone, clusterId, update); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java new file mode 100644 index 000000000000..040858368a7d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateMasterRequest; + +public class AsyncUpdateMaster { + + public static void main(String[] args) throws Exception { + asyncUpdateMaster(); + } + + public static void asyncUpdateMaster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.updateMasterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java new file mode 100644 index 000000000000..76d71456504c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateMasterRequest; + +public class SyncUpdateMaster { + + public static void main(String[] args) throws Exception { + syncUpdateMaster(); + } + + public static void syncUpdateMaster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateMaster(request); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java new file mode 100644 index 000000000000..ad74c557e94b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncUpdateMasterStringString { + + public static void main(String[] args) throws Exception { + syncUpdateMasterStringString(); + } + + public static void syncUpdateMasterStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + String masterVersion = "masterVersion1167095830"; + Operation response = clusterManagerClient.updateMaster(name, masterVersion); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java new file mode 100644 index 000000000000..86b38bb43644 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncUpdateMasterStringStringStringString { + + public static void main(String[] args) throws Exception { + syncUpdateMasterStringStringStringString(); + } + + public static void syncUpdateMasterStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String masterVersion = "masterVersion1167095830"; + Operation response = + clusterManagerClient.updateMaster(projectId, zone, clusterId, masterVersion); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java new file mode 100644 index 000000000000..96c0042a0db7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java @@ -0,0 +1,88 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ConfidentialNodes; +import com.google.container.v1.FastSocket; +import com.google.container.v1.GcfsConfig; +import com.google.container.v1.LinuxNodeConfig; +import com.google.container.v1.NetworkTags; +import com.google.container.v1.NodeKubeletConfig; +import com.google.container.v1.NodeLabels; +import com.google.container.v1.NodeNetworkConfig; +import com.google.container.v1.NodePool; +import com.google.container.v1.NodePoolLoggingConfig; +import com.google.container.v1.NodeTaints; +import com.google.container.v1.Operation; +import com.google.container.v1.ResourceLabels; +import com.google.container.v1.UpdateNodePoolRequest; +import com.google.container.v1.VirtualNIC; +import com.google.container.v1.WindowsNodeConfig; +import com.google.container.v1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class AsyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + asyncUpdateNodePool(); + } + + public static void asyncUpdateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .setName("name3373707") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + ApiFuture future = + clusterManagerClient.updateNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java new file mode 100644 index 000000000000..1077bbbf357e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java @@ -0,0 +1,84 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ConfidentialNodes; +import com.google.container.v1.FastSocket; +import com.google.container.v1.GcfsConfig; +import com.google.container.v1.LinuxNodeConfig; +import com.google.container.v1.NetworkTags; +import com.google.container.v1.NodeKubeletConfig; +import com.google.container.v1.NodeLabels; +import com.google.container.v1.NodeNetworkConfig; +import com.google.container.v1.NodePool; +import com.google.container.v1.NodePoolLoggingConfig; +import com.google.container.v1.NodeTaints; +import com.google.container.v1.Operation; +import com.google.container.v1.ResourceLabels; +import com.google.container.v1.UpdateNodePoolRequest; +import com.google.container.v1.VirtualNIC; +import com.google.container.v1.WindowsNodeConfig; +import com.google.container.v1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class SyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + syncUpdateNodePool(); + } + + public static void syncUpdateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .setName("name3373707") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + Operation response = clusterManagerClient.updateNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..b035e9167e5e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.samples; + +// [START container_v1_generated_ClusterManagerSettings_ListClusters_sync] +import com.google.cloud.container.v1.ClusterManagerSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1_generated_ClusterManagerSettings_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..8134a998cc6c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1.stub.samples; + +// [START container_v1_generated_ClusterManagerStubSettings_ListClusters_sync] +import com.google.cloud.container.v1.stub.ClusterManagerStubSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerStubSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1_generated_ClusterManagerStubSettings_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java new file mode 100644 index 000000000000..4d886d6acb61 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CancelOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class AsyncCancelOperation { + + public static void main(String[] args) throws Exception { + asyncCancelOperation(); + } + + public static void asyncCancelOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.cancelOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CancelOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java new file mode 100644 index 000000000000..6e80bfbe9faf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CancelOperation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class SyncCancelOperation { + + public static void main(String[] args) throws Exception { + syncCancelOperation(); + } + + public static void syncCancelOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + clusterManagerClient.cancelOperation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CancelOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java new file mode 100644 index 000000000000..302792147dc8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CancelOperation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.protobuf.Empty; + +public class SyncCancelOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncCancelOperationStringStringString(); + } + + public static void syncCancelOperationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + clusterManagerClient.cancelOperation(projectId, zone, operationId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CancelOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java new file mode 100644 index 000000000000..7ab07b674980 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + asyncCompleteIPRotation(); + } + + public static void asyncCompleteIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.completeIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java new file mode 100644 index 000000000000..d38c9aea7aa2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteIPRotation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.Operation; + +public class SyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotation(); + } + + public static void syncCompleteIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.completeIPRotation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java new file mode 100644 index 000000000000..5ee954e40cd4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncCompleteIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotationStringStringString(); + } + + public static void syncCompleteIPRotationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.completeIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..b579fa7a06be --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class AsyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncCompleteNodePoolUpgrade(); + } + + public static void asyncCompleteNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + clusterManagerClient.completeNodePoolUpgradeCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..558ada2eafbf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class SyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncCompleteNodePoolUpgrade(); + } + + public static void syncCompleteNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + clusterManagerClient.completeNodePoolUpgrade(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..9e5db82d007f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.cloud.container.v1beta1.ClusterManagerSettings; +import com.google.cloud.container.v1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1beta1_generated_ClusterManager_Create_SetCredentialsProvider_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..5a02875c14ed --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_Create_SetEndpoint_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.cloud.container.v1beta1.ClusterManagerSettings; +import com.google.cloud.container.v1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder().setEndpoint(myEndpoint).build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1beta1_generated_ClusterManager_Create_SetEndpoint_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java new file mode 100644 index 000000000000..da09938c31fb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.CreateClusterRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncCreateCluster { + + public static void main(String[] args) throws Exception { + asyncCreateCluster(); + } + + public static void asyncCreateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java new file mode 100644 index 000000000000..8d07424b06a5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.CreateClusterRequest; +import com.google.container.v1beta1.Operation; + +public class SyncCreateCluster { + + public static void main(String[] args) throws Exception { + syncCreateCluster(); + } + + public static void syncCreateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java new file mode 100644 index 000000000000..8d915534b19f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.Operation; + +public class SyncCreateClusterStringStringCluster { + + public static void main(String[] args) throws Exception { + syncCreateClusterStringStringCluster(); + } + + public static void syncCreateClusterStringStringCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + Cluster cluster = Cluster.newBuilder().build(); + Operation response = clusterManagerClient.createCluster(projectId, zone, cluster); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java new file mode 100644 index 000000000000..d3afa6ec5deb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CreateNodePoolRequest; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.Operation; + +public class AsyncCreateNodePool { + + public static void main(String[] args) throws Exception { + asyncCreateNodePool(); + } + + public static void asyncCreateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java new file mode 100644 index 000000000000..e2e416b8cfd5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CreateNodePoolRequest; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.Operation; + +public class SyncCreateNodePool { + + public static void main(String[] args) throws Exception { + syncCreateNodePool(); + } + + public static void syncCreateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java new file mode 100644 index 000000000000..840e6d03df55 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.Operation; + +public class SyncCreateNodePoolStringStringStringNodepool { + + public static void main(String[] args) throws Exception { + syncCreateNodePoolStringStringStringNodepool(); + } + + public static void syncCreateNodePoolStringStringStringNodepool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NodePool nodePool = NodePool.newBuilder().build(); + Operation response = + clusterManagerClient.createNodePool(projectId, zone, clusterId, nodePool); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java new file mode 100644 index 000000000000..11324f1264f1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteClusterRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncDeleteCluster { + + public static void main(String[] args) throws Exception { + asyncDeleteCluster(); + } + + public static void asyncDeleteCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java new file mode 100644 index 000000000000..b5b085f70b63 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteClusterRequest; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteCluster { + + public static void main(String[] args) throws Exception { + syncDeleteCluster(); + } + + public static void syncDeleteCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java new file mode 100644 index 000000000000..1df461ad2aea --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteCluster_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteClusterStringStringString(); + } + + public static void syncDeleteClusterStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java new file mode 100644 index 000000000000..a0b4aab84c13 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteNodePoolRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + asyncDeleteNodePool(); + } + + public static void asyncDeleteNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java new file mode 100644 index 000000000000..56d4b2b41a7f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteNodePoolRequest; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + syncDeleteNodePool(); + } + + public static void syncDeleteNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java new file mode 100644 index 000000000000..f0bf126836d8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteNodePoolStringStringStringString(); + } + + public static void syncDeleteNodePoolStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java new file mode 100644 index 000000000000..1728d584d70b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.GetClusterRequest; + +public class AsyncGetCluster { + + public static void main(String[] args) throws Exception { + asyncGetCluster(); + } + + public static void asyncGetCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getClusterCallable().futureCall(request); + // Do something. + Cluster response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java new file mode 100644 index 000000000000..6464067bfdc0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.GetClusterRequest; + +public class SyncGetCluster { + + public static void main(String[] args) throws Exception { + syncGetCluster(); + } + + public static void syncGetCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Cluster response = clusterManagerClient.getCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java new file mode 100644 index 000000000000..fb6a96e43c2d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetCluster_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; + +public class SyncGetClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncGetClusterStringStringString(); + } + + public static void syncGetClusterStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Cluster response = clusterManagerClient.getCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java new file mode 100644 index 000000000000..851c19eb3bf4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetJSONWebKeys_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetJSONWebKeysRequest; +import com.google.container.v1beta1.GetJSONWebKeysResponse; + +public class AsyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + asyncGetJSONWebKeys(); + } + + public static void asyncGetJSONWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + ApiFuture future = + clusterManagerClient.getJSONWebKeysCallable().futureCall(request); + // Do something. + GetJSONWebKeysResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetJSONWebKeys_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java new file mode 100644 index 000000000000..1761ddd4b815 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetJSONWebKeys_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetJSONWebKeysRequest; +import com.google.container.v1beta1.GetJSONWebKeysResponse; + +public class SyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + syncGetJSONWebKeys(); + } + + public static void syncGetJSONWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + GetJSONWebKeysResponse response = clusterManagerClient.getJSONWebKeys(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetJSONWebKeys_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java new file mode 100644 index 000000000000..a9f42bb03a18 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetNodePoolRequest; +import com.google.container.v1beta1.NodePool; + +public class AsyncGetNodePool { + + public static void main(String[] args) throws Exception { + asyncGetNodePool(); + } + + public static void asyncGetNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getNodePoolCallable().futureCall(request); + // Do something. + NodePool response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java new file mode 100644 index 000000000000..9e953c225628 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetNodePoolRequest; +import com.google.container.v1beta1.NodePool; + +public class SyncGetNodePool { + + public static void main(String[] args) throws Exception { + syncGetNodePool(); + } + + public static void syncGetNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + NodePool response = clusterManagerClient.getNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java new file mode 100644 index 000000000000..f5b89179e8cf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePool; + +public class SyncGetNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncGetNodePoolStringStringStringString(); + } + + public static void syncGetNodePoolStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + NodePool response = clusterManagerClient.getNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java new file mode 100644 index 000000000000..4cf8adf8579c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetOperationRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncGetOperation { + + public static void main(String[] args) throws Exception { + asyncGetOperation(); + } + + public static void asyncGetOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java new file mode 100644 index 000000000000..5d9f679a5baa --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetOperation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetOperationRequest; +import com.google.container.v1beta1.Operation; + +public class SyncGetOperation { + + public static void main(String[] args) throws Exception { + syncGetOperation(); + } + + public static void syncGetOperation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.getOperation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java new file mode 100644 index 000000000000..ecd34482a391 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetOperation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncGetOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncGetOperationStringStringString(); + } + + public static void syncGetOperationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + Operation response = clusterManagerClient.getOperation(projectId, zone, operationId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java new file mode 100644 index 000000000000..df25a079718f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetServerConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetServerConfigRequest; +import com.google.container.v1beta1.ServerConfig; + +public class AsyncGetServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetServerConfig(); + } + + public static void asyncGetServerConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.getServerConfigCallable().futureCall(request); + // Do something. + ServerConfig response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetServerConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java new file mode 100644 index 000000000000..c8eec630c016 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetServerConfig_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetServerConfigRequest; +import com.google.container.v1beta1.ServerConfig; + +public class SyncGetServerConfig { + + public static void main(String[] args) throws Exception { + syncGetServerConfig(); + } + + public static void syncGetServerConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ServerConfig response = clusterManagerClient.getServerConfig(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetServerConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java new file mode 100644 index 000000000000..68333cf13d3e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetServerConfig_StringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ServerConfig; + +public class SyncGetServerConfigStringString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigStringString(); + } + + public static void syncGetServerConfigStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ServerConfig response = clusterManagerClient.getServerConfig(projectId, zone); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetServerConfig_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java new file mode 100644 index 000000000000..059067272c58 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListClusters_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListClustersRequest; +import com.google.container.v1beta1.ListClustersResponse; + +public class AsyncListClusters { + + public static void main(String[] args) throws Exception { + asyncListClusters(); + } + + public static void asyncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listClustersCallable().futureCall(request); + // Do something. + ListClustersResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListClusters_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..c1ed6a952d84 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListClusters_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListClustersRequest; +import com.google.container.v1beta1.ListClustersResponse; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListClustersResponse response = clusterManagerClient.listClusters(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java new file mode 100644 index 000000000000..02640874f9f4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListClusters_StringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListClustersResponse; + +public class SyncListClustersStringString { + + public static void main(String[] args) throws Exception { + syncListClustersStringString(); + } + + public static void syncListClustersStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListClusters_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java new file mode 100644 index 000000000000..05aa466e3d16 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListLocationsRequest; +import com.google.container.v1beta1.ListLocationsResponse; + +public class AsyncListLocations { + + public static void main(String[] args) throws Exception { + asyncListLocations(); + } + + public static void asyncListLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder().setParent("parent-995424086").build(); + ApiFuture future = + clusterManagerClient.listLocationsCallable().futureCall(request); + // Do something. + ListLocationsResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListLocations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java new file mode 100644 index 000000000000..8c5ff1b52e40 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListLocations_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListLocationsRequest; +import com.google.container.v1beta1.ListLocationsResponse; + +public class SyncListLocations { + + public static void main(String[] args) throws Exception { + syncListLocations(); + } + + public static void syncListLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder().setParent("parent-995424086").build(); + ListLocationsResponse response = clusterManagerClient.listLocations(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListLocations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java new file mode 100644 index 000000000000..014b88316431 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListLocations_String_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListLocationsResponse; + +public class SyncListLocationsString { + + public static void main(String[] args) throws Exception { + syncListLocationsString(); + } + + public static void syncListLocationsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + ListLocationsResponse response = clusterManagerClient.listLocations(parent); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListLocations_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java new file mode 100644 index 000000000000..abfc7ca1eb05 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListNodePools_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListNodePoolsRequest; +import com.google.container.v1beta1.ListNodePoolsResponse; + +public class AsyncListNodePools { + + public static void main(String[] args) throws Exception { + asyncListNodePools(); + } + + public static void asyncListNodePools() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listNodePoolsCallable().futureCall(request); + // Do something. + ListNodePoolsResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListNodePools_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java new file mode 100644 index 000000000000..fe5bf53b1d65 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListNodePools_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListNodePoolsRequest; +import com.google.container.v1beta1.ListNodePoolsResponse; + +public class SyncListNodePools { + + public static void main(String[] args) throws Exception { + syncListNodePools(); + } + + public static void syncListNodePools() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ListNodePoolsResponse response = clusterManagerClient.listNodePools(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListNodePools_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java new file mode 100644 index 000000000000..02d1e27deaee --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListNodePools_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListNodePoolsResponse; + +public class SyncListNodePoolsStringStringString { + + public static void main(String[] args) throws Exception { + syncListNodePoolsStringStringString(); + } + + public static void syncListNodePoolsStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ListNodePoolsResponse response = + clusterManagerClient.listNodePools(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListNodePools_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java new file mode 100644 index 000000000000..b9e7f05ed968 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListOperations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListOperationsRequest; +import com.google.container.v1beta1.ListOperationsResponse; + +public class AsyncListOperations { + + public static void main(String[] args) throws Exception { + asyncListOperations(); + } + + public static void asyncListOperations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listOperationsCallable().futureCall(request); + // Do something. + ListOperationsResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListOperations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java new file mode 100644 index 000000000000..933680a78cfc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListOperations_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListOperationsRequest; +import com.google.container.v1beta1.ListOperationsResponse; + +public class SyncListOperations { + + public static void main(String[] args) throws Exception { + syncListOperations(); + } + + public static void syncListOperations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListOperationsResponse response = clusterManagerClient.listOperations(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListOperations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java new file mode 100644 index 000000000000..042c231387c7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListOperations_StringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListOperationsResponse; + +public class SyncListOperationsStringString { + + public static void main(String[] args) throws Exception { + syncListOperationsStringString(); + } + + public static void syncListOperationsStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListOperationsResponse response = clusterManagerClient.listOperations(projectId, zone); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListOperations_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java new file mode 100644 index 000000000000..bbf770d81438 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListUsableSubnetworksRequest; +import com.google.container.v1beta1.UsableSubnetwork; + +public class AsyncListUsableSubnetworks { + + public static void main(String[] args) throws Exception { + asyncListUsableSubnetworks(); + } + + public static void asyncListUsableSubnetworks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + clusterManagerClient.listUsableSubnetworksPagedCallable().futureCall(request); + // Do something. + for (UsableSubnetwork element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java new file mode 100644 index 000000000000..7fc015e2faca --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.common.base.Strings; +import com.google.container.v1beta1.ListUsableSubnetworksRequest; +import com.google.container.v1beta1.ListUsableSubnetworksResponse; +import com.google.container.v1beta1.UsableSubnetwork; + +public class AsyncListUsableSubnetworksPaged { + + public static void main(String[] args) throws Exception { + asyncListUsableSubnetworksPaged(); + } + + public static void asyncListUsableSubnetworksPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListUsableSubnetworksResponse response = + clusterManagerClient.listUsableSubnetworksCallable().call(request); + for (UsableSubnetwork element : response.getSubnetworksList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java new file mode 100644 index 000000000000..9f9cb6c1aec9 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListUsableSubnetworksRequest; +import com.google.container.v1beta1.UsableSubnetwork; + +public class SyncListUsableSubnetworks { + + public static void main(String[] args) throws Exception { + syncListUsableSubnetworks(); + } + + public static void syncListUsableSubnetworks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (UsableSubnetwork element : + clusterManagerClient.listUsableSubnetworks(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java new file mode 100644 index 000000000000..dce4a9fb4b7a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_String_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.UsableSubnetwork; + +public class SyncListUsableSubnetworksString { + + public static void main(String[] args) throws Exception { + syncListUsableSubnetworksString(); + } + + public static void syncListUsableSubnetworksString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + for (UsableSubnetwork element : + clusterManagerClient.listUsableSubnetworks(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..6f6e89ad948d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest; + +public class AsyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncRollbackNodePoolUpgrade(); + } + + public static void asyncRollbackNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + ApiFuture future = + clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..a2fba07586c2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest; + +public class SyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgrade(); + } + + public static void syncRollbackNodePoolUpgrade() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java new file mode 100644 index 000000000000..2cf7d3e84e3f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncRollbackNodePoolUpgradeStringStringStringString { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgradeStringStringStringString(); + } + + public static void syncRollbackNodePoolUpgradeStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java new file mode 100644 index 000000000000..d46cc62fbd95 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetAddonsConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.AddonsConfig; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetAddonsConfigRequest; + +public class AsyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + asyncSetAddonsConfig(); + } + + public static void asyncSetAddonsConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setAddonsConfigCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetAddonsConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java new file mode 100644 index 000000000000..24a40034046b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetAddonsConfig_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.AddonsConfig; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetAddonsConfigRequest; + +public class SyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfig(); + } + + public static void syncSetAddonsConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setAddonsConfig(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetAddonsConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java new file mode 100644 index 000000000000..035bec4f459a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.AddonsConfig; +import com.google.container.v1beta1.Operation; + +public class SyncSetAddonsConfigStringStringStringAddonsconfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfigStringStringStringAddonsconfig(); + } + + public static void syncSetAddonsConfigStringStringStringAddonsconfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + Operation response = + clusterManagerClient.setAddonsConfig(projectId, zone, clusterId, addonsConfig); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java new file mode 100644 index 000000000000..fbd14c9a944b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLabels_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLabelsRequest; +import java.util.HashMap; + +public class AsyncSetLabels { + + public static void main(String[] args) throws Exception { + asyncSetLabels(); + } + + public static void asyncSetLabels() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLabelsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLabels_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java new file mode 100644 index 000000000000..5719325457fc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLabels_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLabelsRequest; +import java.util.HashMap; + +public class SyncSetLabels { + + public static void main(String[] args) throws Exception { + syncSetLabels(); + } + + public static void syncSetLabels() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLabels(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLabels_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java new file mode 100644 index 000000000000..08a6dc9446b5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLabels_StringStringStringMapstringstringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import java.util.HashMap; +import java.util.Map; + +public class SyncSetLabelsStringStringStringMapstringstringString { + + public static void main(String[] args) throws Exception { + syncSetLabelsStringStringStringMapstringstringString(); + } + + public static void syncSetLabelsStringStringStringMapstringstringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Map resourceLabels = new HashMap<>(); + String labelFingerprint = "labelFingerprint379449680"; + Operation response = + clusterManagerClient.setLabels( + projectId, zone, clusterId, resourceLabels, labelFingerprint); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLabels_StringStringStringMapstringstringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java new file mode 100644 index 000000000000..36b1cb714171 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLegacyAbac_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLegacyAbacRequest; + +public class AsyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + asyncSetLegacyAbac(); + } + + public static void asyncSetLegacyAbac() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLegacyAbacCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLegacyAbac_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java new file mode 100644 index 000000000000..23502d74427d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLegacyAbac_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLegacyAbacRequest; + +public class SyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbac(); + } + + public static void syncSetLegacyAbac() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLegacyAbac(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLegacyAbac_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java new file mode 100644 index 000000000000..09098a37d06d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncSetLegacyAbacStringStringStringBoolean { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbacStringStringStringBoolean(); + } + + public static void syncSetLegacyAbacStringStringStringBoolean() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + boolean enabled = true; + Operation response = clusterManagerClient.setLegacyAbac(projectId, zone, clusterId, enabled); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java new file mode 100644 index 000000000000..399544840b04 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLocationsRequest; +import java.util.ArrayList; + +public class AsyncSetLocations { + + public static void main(String[] args) throws Exception { + asyncSetLocations(); + } + + public static void asyncSetLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLocationsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLocations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java new file mode 100644 index 000000000000..70b5daa77bbd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLocations_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLocationsRequest; +import java.util.ArrayList; + +public class SyncSetLocations { + + public static void main(String[] args) throws Exception { + syncSetLocations(); + } + + public static void syncSetLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLocations(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLocations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java new file mode 100644 index 000000000000..900fe1aac356 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import java.util.ArrayList; +import java.util.List; + +public class SyncSetLocationsStringStringStringListstring { + + public static void main(String[] args) throws Exception { + syncSetLocationsStringStringStringListstring(); + } + + public static void syncSetLocationsStringStringStringListstring() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + List locations = new ArrayList<>(); + Operation response = clusterManagerClient.setLocations(projectId, zone, clusterId, locations); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java new file mode 100644 index 000000000000..fe8c502c06b2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLoggingService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLoggingServiceRequest; + +public class AsyncSetLoggingService { + + public static void main(String[] args) throws Exception { + asyncSetLoggingService(); + } + + public static void asyncSetLoggingService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLoggingServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLoggingService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java new file mode 100644 index 000000000000..745a972655bb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLoggingService_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLoggingServiceRequest; + +public class SyncSetLoggingService { + + public static void main(String[] args) throws Exception { + syncSetLoggingService(); + } + + public static void syncSetLoggingService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLoggingService(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLoggingService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java new file mode 100644 index 000000000000..b6a7ad03c97d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncSetLoggingServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetLoggingServiceStringStringStringString(); + } + + public static void syncSetLoggingServiceStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String loggingService = "loggingService1098570326"; + Operation response = + clusterManagerClient.setLoggingService(projectId, zone, clusterId, loggingService); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..925215dae779 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MaintenancePolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMaintenancePolicyRequest; + +public class AsyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + asyncSetMaintenancePolicy(); + } + + public static void asyncSetMaintenancePolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMaintenancePolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..de113ce329b2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MaintenancePolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMaintenancePolicyRequest; + +public class SyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicy(); + } + + public static void syncSetMaintenancePolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMaintenancePolicy(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java new file mode 100644 index 000000000000..ebb43efc8d1b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MaintenancePolicy; +import com.google.container.v1beta1.Operation; + +public class SyncSetMaintenancePolicyStringStringStringMaintenancepolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicyStringStringStringMaintenancepolicy(); + } + + public static void syncSetMaintenancePolicyStringStringStringMaintenancepolicy() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java new file mode 100644 index 000000000000..0aff850daa8e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMasterAuth_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MasterAuth; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMasterAuthRequest; + +public class AsyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + asyncSetMasterAuth(); + } + + public static void asyncSetMasterAuth() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMasterAuthCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMasterAuth_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java new file mode 100644 index 000000000000..c916c9da84aa --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMasterAuth_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MasterAuth; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMasterAuthRequest; + +public class SyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + syncSetMasterAuth(); + } + + public static void syncSetMasterAuth() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMasterAuth(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMasterAuth_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java new file mode 100644 index 000000000000..20587a88db0b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMonitoringService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMonitoringServiceRequest; + +public class AsyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + asyncSetMonitoringService(); + } + + public static void asyncSetMonitoringService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMonitoringServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMonitoringService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java new file mode 100644 index 000000000000..6bee064a8dee --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMonitoringService_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMonitoringServiceRequest; + +public class SyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + syncSetMonitoringService(); + } + + public static void syncSetMonitoringService() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMonitoringService(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMonitoringService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java new file mode 100644 index 000000000000..7fee7c4c5f96 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncSetMonitoringServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetMonitoringServiceStringStringStringString(); + } + + public static void syncSetMonitoringServiceStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String monitoringService = "monitoringService-1431578291"; + Operation response = + clusterManagerClient.setMonitoringService(projectId, zone, clusterId, monitoringService); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java new file mode 100644 index 000000000000..79c9f7c17d9b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNetworkPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NetworkPolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNetworkPolicyRequest; + +public class AsyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + asyncSetNetworkPolicy(); + } + + public static void asyncSetNetworkPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNetworkPolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNetworkPolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java new file mode 100644 index 000000000000..ae229320cd10 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNetworkPolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NetworkPolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNetworkPolicyRequest; + +public class SyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicy(); + } + + public static void syncSetNetworkPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNetworkPolicy(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNetworkPolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java new file mode 100644 index 000000000000..c056076925e0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NetworkPolicy; +import com.google.container.v1beta1.Operation; + +public class SyncSetNetworkPolicyStringStringStringNetworkpolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicyStringStringStringNetworkpolicy(); + } + + public static void syncSetNetworkPolicyStringStringStringNetworkpolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..e32c7735054b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePoolAutoscaling; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolAutoscalingRequest; + +public class AsyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolAutoscaling(); + } + + public static void asyncSetNodePoolAutoscaling() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolAutoscalingCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..54a442d7a59d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePoolAutoscaling; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolAutoscalingRequest; + +public class SyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + syncSetNodePoolAutoscaling(); + } + + public static void syncSetNodePoolAutoscaling() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolAutoscaling(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java new file mode 100644 index 000000000000..59a7e83373d0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolManagement_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodeManagement; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolManagementRequest; + +public class AsyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolManagement(); + } + + public static void asyncSetNodePoolManagement() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolManagementCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolManagement_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java new file mode 100644 index 000000000000..d5226160ddf5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolManagement_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodeManagement; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolManagementRequest; + +public class SyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + syncSetNodePoolManagement(); + } + + public static void syncSetNodePoolManagement() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolManagement(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolManagement_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java new file mode 100644 index 000000000000..d63b59371710 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolManagement_StringStringStringStringNodemanagement_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodeManagement; +import com.google.container.v1beta1.Operation; + +public class SyncSetNodePoolManagementStringStringStringStringNodemanagement { + + public static void main(String[] args) throws Exception { + syncSetNodePoolManagementStringStringStringStringNodemanagement(); + } + + public static void syncSetNodePoolManagementStringStringStringStringNodemanagement() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + NodeManagement management = NodeManagement.newBuilder().build(); + Operation response = + clusterManagerClient.setNodePoolManagement( + projectId, zone, clusterId, nodePoolId, management); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolManagement_StringStringStringStringNodemanagement_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java new file mode 100644 index 000000000000..443bbfe9b11b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolSize_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolSizeRequest; + +public class AsyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolSize(); + } + + public static void asyncSetNodePoolSize() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolSizeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolSize_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java new file mode 100644 index 000000000000..5217f9b245fc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolSize_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolSizeRequest; + +public class SyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + syncSetNodePoolSize(); + } + + public static void syncSetNodePoolSize() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolSize(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolSize_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java new file mode 100644 index 000000000000..80787c978fbe --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_StartIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.StartIPRotationRequest; + +public class AsyncStartIPRotation { + + public static void main(String[] args) throws Exception { + asyncStartIPRotation(); + } + + public static void asyncStartIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + ApiFuture future = + clusterManagerClient.startIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_StartIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java new file mode 100644 index 000000000000..870e5aa26825 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_StartIPRotation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.StartIPRotationRequest; + +public class SyncStartIPRotation { + + public static void main(String[] args) throws Exception { + syncStartIPRotation(); + } + + public static void syncStartIPRotation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + Operation response = clusterManagerClient.startIPRotation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_StartIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java new file mode 100644 index 000000000000..0a3b0f4f0226 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_StartIPRotation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncStartIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncStartIPRotationStringStringString(); + } + + public static void syncStartIPRotationStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.startIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_StartIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java new file mode 100644 index 000000000000..ec37a8605c56 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ClusterUpdate; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateClusterRequest; + +public class AsyncUpdateCluster { + + public static void main(String[] args) throws Exception { + asyncUpdateCluster(); + } + + public static void asyncUpdateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.updateClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java new file mode 100644 index 000000000000..bfe3843e16ef --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ClusterUpdate; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateClusterRequest; + +public class SyncUpdateCluster { + + public static void main(String[] args) throws Exception { + syncUpdateCluster(); + } + + public static void syncUpdateCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java new file mode 100644 index 000000000000..9a5663e2b6e5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ClusterUpdate; +import com.google.container.v1beta1.Operation; + +public class SyncUpdateClusterStringStringStringClusterupdate { + + public static void main(String[] args) throws Exception { + syncUpdateClusterStringStringStringClusterupdate(); + } + + public static void syncUpdateClusterStringStringStringClusterupdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Operation response = clusterManagerClient.updateCluster(projectId, zone, clusterId, update); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java new file mode 100644 index 000000000000..bd83111dcb1b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateMaster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateMasterRequest; + +public class AsyncUpdateMaster { + + public static void main(String[] args) throws Exception { + asyncUpdateMaster(); + } + + public static void asyncUpdateMaster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.updateMasterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateMaster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java new file mode 100644 index 000000000000..e1fc23dbc8a1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateMaster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateMasterRequest; + +public class SyncUpdateMaster { + + public static void main(String[] args) throws Exception { + syncUpdateMaster(); + } + + public static void syncUpdateMaster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateMaster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateMaster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java new file mode 100644 index 000000000000..d43f2afc91ad --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncUpdateMasterStringStringStringString { + + public static void main(String[] args) throws Exception { + syncUpdateMasterStringStringStringString(); + } + + public static void syncUpdateMasterStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String masterVersion = "masterVersion1167095830"; + Operation response = + clusterManagerClient.updateMaster(projectId, zone, clusterId, masterVersion); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java new file mode 100644 index 000000000000..6770e3ad8467 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java @@ -0,0 +1,88 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ConfidentialNodes; +import com.google.container.v1beta1.FastSocket; +import com.google.container.v1beta1.GcfsConfig; +import com.google.container.v1beta1.LinuxNodeConfig; +import com.google.container.v1beta1.NetworkTags; +import com.google.container.v1beta1.NodeKubeletConfig; +import com.google.container.v1beta1.NodeLabels; +import com.google.container.v1beta1.NodeNetworkConfig; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.NodePoolLoggingConfig; +import com.google.container.v1beta1.NodeTaints; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.ResourceLabels; +import com.google.container.v1beta1.UpdateNodePoolRequest; +import com.google.container.v1beta1.VirtualNIC; +import com.google.container.v1beta1.WindowsNodeConfig; +import com.google.container.v1beta1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class AsyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + asyncUpdateNodePool(); + } + + public static void asyncUpdateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setName("name3373707") + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + ApiFuture future = + clusterManagerClient.updateNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java new file mode 100644 index 000000000000..705cacd2b3d4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java @@ -0,0 +1,84 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ConfidentialNodes; +import com.google.container.v1beta1.FastSocket; +import com.google.container.v1beta1.GcfsConfig; +import com.google.container.v1beta1.LinuxNodeConfig; +import com.google.container.v1beta1.NetworkTags; +import com.google.container.v1beta1.NodeKubeletConfig; +import com.google.container.v1beta1.NodeLabels; +import com.google.container.v1beta1.NodeNetworkConfig; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.NodePoolLoggingConfig; +import com.google.container.v1beta1.NodeTaints; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.ResourceLabels; +import com.google.container.v1beta1.UpdateNodePoolRequest; +import com.google.container.v1beta1.VirtualNIC; +import com.google.container.v1beta1.WindowsNodeConfig; +import com.google.container.v1beta1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class SyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + syncUpdateNodePool(); + } + + public static void syncUpdateNodePool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setName("name3373707") + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + Operation response = clusterManagerClient.updateNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..57f3bb5c977d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManagerSettings_ListClusters_sync] +import com.google.cloud.container.v1beta1.ClusterManagerSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1beta1_generated_ClusterManagerSettings_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..665bb3781dfa --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.container.v1beta1.stub.samples; + +// [START container_v1beta1_generated_ClusterManagerStubSettings_ListClusters_sync] +import com.google.cloud.container.v1beta1.stub.ClusterManagerStubSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerStubSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1beta1_generated_ClusterManagerStubSettings_ListClusters_sync]