From e27c58ffc59ce904852edfa9c66e85f64212e38e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 20:16:21 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#17) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9 --- java-gke-backup/README.md | 6 +++--- .../cloud/gkebackup/v1/BackupForGKEClient.java | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md index 414eb5cc3014..273f5b013586 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gke-backup - 0.0.0 + 0.1.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-gke-backup:0.0.0' +implementation 'com.google.cloud:google-cloud-gke-backup:0.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.1.0" ``` ## Authentication diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java index b841f59e3c08..df8883fb5d1d 100644 --- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java +++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/BackupForGKEClient.java @@ -465,7 +465,7 @@ public final ListBackupPlansPagedResponse listBackupPlans(ListBackupPlansRequest * while (true) { * ListBackupPlansResponse response = * backupForGKEClient.listBackupPlansCallable().call(request); - * for (BackupPlan element : response.getResponsesList()) { + * for (BackupPlan element : response.getBackupPlansList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1121,7 +1121,7 @@ public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { * .build(); * while (true) { * ListBackupsResponse response = backupForGKEClient.listBackupsCallable().call(request); - * for (Backup element : response.getResponsesList()) { + * for (Backup element : response.getBackupsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1630,7 +1630,7 @@ public final ListVolumeBackupsPagedResponse listVolumeBackups(ListVolumeBackupsR * while (true) { * ListVolumeBackupsResponse response = * backupForGKEClient.listVolumeBackupsCallable().call(request); - * for (VolumeBackup element : response.getResponsesList()) { + * for (VolumeBackup element : response.getVolumeBackupsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2059,7 +2059,7 @@ public final ListRestorePlansPagedResponse listRestorePlans(ListRestorePlansRequ * while (true) { * ListRestorePlansResponse response = * backupForGKEClient.listRestorePlansCallable().call(request); - * for (RestorePlan element : response.getResponsesList()) { + * for (RestorePlan element : response.getRestorePlansList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2724,7 +2724,7 @@ public final ListRestoresPagedResponse listRestores(ListRestoresRequest request) * .build(); * while (true) { * ListRestoresResponse response = backupForGKEClient.listRestoresCallable().call(request); - * for (Restore element : response.getResponsesList()) { + * for (Restore element : response.getRestoresList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -3242,7 +3242,7 @@ public final ListVolumeRestoresPagedResponse listVolumeRestores( * while (true) { * ListVolumeRestoresResponse response = * backupForGKEClient.listVolumeRestoresCallable().call(request); - * for (VolumeRestore element : response.getResponsesList()) { + * for (VolumeRestore element : response.getVolumeRestoresList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();