diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java index 56e7cb34b21a..9bfd5a37ea7a 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java @@ -287,7 +287,7 @@ public final ListCatalogsPagedResponse listCatalogs(ListCatalogsRequest request) * .build(); * while (true) { * ListCatalogsResponse response = catalogServiceClient.listCatalogsCallable().call(request); - * for (Catalog element : response.getResponsesList()) { + * for (Catalog element : response.getCatalogsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java index f8a2b01cd9d0..cc9e7a2a2fe5 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java @@ -573,7 +573,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) * .build(); * while (true) { * ListProductsResponse response = productServiceClient.listProductsCallable().call(request); - * for (Product element : response.getResponsesList()) { + * for (Product element : response.getProductsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java index 2821062e17ca..05006228b0eb 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java @@ -315,7 +315,7 @@ public final UnaryCallable searchPagedCallab * .build(); * while (true) { * SearchResponse response = searchServiceClient.searchCallable().call(request); - * for (SearchResponse.SearchResult element : response.getResponsesList()) { + * for (SearchResponse.SearchResult element : response.getResultsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceClient.java index 84f44531db46..71de43b540e9 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceClient.java @@ -289,7 +289,7 @@ public final ListCatalogsPagedResponse listCatalogs(ListCatalogsRequest request) * .build(); * while (true) { * ListCatalogsResponse response = catalogServiceClient.listCatalogsCallable().call(request); - * for (Catalog element : response.getResponsesList()) { + * for (Catalog element : response.getCatalogsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java index 85ffb9efe68b..d5270698e06e 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java @@ -730,7 +730,7 @@ public final ListControlsPagedResponse listControls(ListControlsRequest request) * .build(); * while (true) { * ListControlsResponse response = controlServiceClient.listControlsCallable().call(request); - * for (Control element : response.getResponsesList()) { + * for (Control element : response.getControlsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ProductServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ProductServiceClient.java index ebb53bf9a707..b03e91577936 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ProductServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ProductServiceClient.java @@ -580,7 +580,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) * .build(); * while (true) { * ListProductsResponse response = productServiceClient.listProductsCallable().call(request); - * for (Product element : response.getResponsesList()) { + * for (Product element : response.getProductsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java index 39742f82bc37..cb32d6585fd2 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java @@ -309,7 +309,7 @@ public final UnaryCallable searchPagedCallab * .build(); * while (true) { * SearchResponse response = searchServiceClient.searchCallable().call(request); - * for (SearchResponse.SearchResult element : response.getResponsesList()) { + * for (SearchResponse.SearchResult element : response.getResultsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java index 83ffeef85f8b..df630afa02f3 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java @@ -783,7 +783,7 @@ public final ListServingConfigsPagedResponse listServingConfigs( * while (true) { * ListServingConfigsResponse response = * servingConfigServiceClient.listServingConfigsCallable().call(request); - * for (ServingConfig element : response.getResponsesList()) { + * for (ServingConfig element : response.getServingConfigsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceClient.java index 27c0fbf85200..32a3f1b70229 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceClient.java @@ -289,7 +289,7 @@ public final ListCatalogsPagedResponse listCatalogs(ListCatalogsRequest request) * .build(); * while (true) { * ListCatalogsResponse response = catalogServiceClient.listCatalogsCallable().call(request); - * for (Catalog element : response.getResponsesList()) { + * for (Catalog element : response.getCatalogsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ControlServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ControlServiceClient.java index 8a4bdc41d7f7..6de06b99f3a1 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ControlServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ControlServiceClient.java @@ -730,7 +730,7 @@ public final ListControlsPagedResponse listControls(ListControlsRequest request) * .build(); * while (true) { * ListControlsResponse response = controlServiceClient.listControlsCallable().call(request); - * for (Control element : response.getResponsesList()) { + * for (Control element : response.getControlsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ProductServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ProductServiceClient.java index 75a3d8dad321..57c536d2c2ff 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ProductServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ProductServiceClient.java @@ -577,7 +577,7 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) * .build(); * while (true) { * ListProductsResponse response = productServiceClient.listProductsCallable().call(request); - * for (Product element : response.getResponsesList()) { + * for (Product element : response.getProductsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/SearchServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/SearchServiceClient.java index 18a2867eeb31..49c69616c6c8 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/SearchServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/SearchServiceClient.java @@ -309,7 +309,7 @@ public final UnaryCallable searchPagedCallab * .build(); * while (true) { * SearchResponse response = searchServiceClient.searchCallable().call(request); - * for (SearchResponse.SearchResult element : response.getResponsesList()) { + * for (SearchResponse.SearchResult element : response.getResultsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceClient.java index 759b2a832062..17c513cd559e 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceClient.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceClient.java @@ -783,7 +783,7 @@ public final ListServingConfigsPagedResponse listServingConfigs( * while (true) { * ListServingConfigsResponse response = * servingConfigServiceClient.listServingConfigsCallable().call(request); - * for (ServingConfig element : response.getResponsesList()) { + * for (ServingConfig element : response.getServingConfigsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();