diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java index fe0d2980754c..736f643d5204 100644 --- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java +++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/AnalyticsHubServiceClient.java @@ -300,7 +300,7 @@ public final ListDataExchangesPagedResponse listDataExchanges(ListDataExchangesR * while (true) { * ListDataExchangesResponse response = * analyticsHubServiceClient.listDataExchangesCallable().call(request); - * for (DataExchange element : response.getResponsesList()) { + * for (DataExchange element : response.getDataExchangesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -426,7 +426,7 @@ public final ListOrgDataExchangesPagedResponse listOrgDataExchanges( * while (true) { * ListOrgDataExchangesResponse response = * analyticsHubServiceClient.listOrgDataExchangesCallable().call(request); - * for (DataExchange element : response.getResponsesList()) { + * for (DataExchange element : response.getDataExchangesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -979,7 +979,7 @@ public final ListListingsPagedResponse listListings(ListListingsRequest request) * while (true) { * ListListingsResponse response = * analyticsHubServiceClient.listListingsCallable().call(request); - * for (Listing element : response.getResponsesList()) { + * for (Listing element : response.getListingsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();