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();