From dab73b8c30d48998c4ef0e0cd4f5af06136bf4ee 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:12:21 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#174) - [ ] 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 --- .../com/google/cloud/datafusion/v1/DataFusionClient.java | 4 ++-- .../google/cloud/datafusion/v1beta1/DataFusionClient.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java index 7cde75192505..a8417755c863 100644 --- a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java +++ b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java @@ -305,7 +305,7 @@ public final ListAvailableVersionsPagedResponse listAvailableVersions( * while (true) { * ListAvailableVersionsResponse response = * dataFusionClient.listAvailableVersionsCallable().call(request); - * for (Version element : response.getResponsesList()) { + * for (Version element : response.getAvailableVersionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -406,7 +406,7 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque * .build(); * while (true) { * ListInstancesResponse response = dataFusionClient.listInstancesCallable().call(request); - * for (Instance element : response.getResponsesList()) { + * for (Instance element : response.getInstancesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java index 026bec696697..b08292368ceb 100644 --- a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java +++ b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java @@ -307,7 +307,7 @@ public final ListAvailableVersionsPagedResponse listAvailableVersions( * while (true) { * ListAvailableVersionsResponse response = * dataFusionClient.listAvailableVersionsCallable().call(request); - * for (Version element : response.getResponsesList()) { + * for (Version element : response.getAvailableVersionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -408,7 +408,7 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque * .build(); * while (true) { * ListInstancesResponse response = dataFusionClient.listInstancesCallable().call(request); - * for (Instance element : response.getResponsesList()) { + * for (Instance element : response.getInstancesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1193,7 +1193,7 @@ public final ListNamespacesPagedResponse listNamespaces(ListNamespacesRequest re * .build(); * while (true) { * ListNamespacesResponse response = dataFusionClient.listNamespacesCallable().call(request); - * for (Namespace element : response.getResponsesList()) { + * for (Namespace element : response.getNamespacesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1545,7 +1545,7 @@ public final ListDnsPeeringsPagedResponse listDnsPeerings(ListDnsPeeringsRequest * .build(); * while (true) { * ListDnsPeeringsResponse response = dataFusionClient.listDnsPeeringsCallable().call(request); - * for (DnsPeering element : response.getResponsesList()) { + * for (DnsPeering element : response.getDnsPeeringsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();