From 52ed3064aad4718d69df6aa4fbbb843bef60d92c 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:37 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#666) - [ ] 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/com/google/cloud/billing/v1/CloudBillingClient.java | 4 ++-- .../java/com/google/cloud/billing/v1/CloudCatalogClient.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java index ef19f98860bb..edd9f2a2dbd1 100644 --- a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java +++ b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java @@ -365,7 +365,7 @@ public final ListBillingAccountsPagedResponse listBillingAccounts( * while (true) { * ListBillingAccountsResponse response = * cloudBillingClient.listBillingAccountsCallable().call(request); - * for (BillingAccount element : response.getResponsesList()) { + * for (BillingAccount element : response.getBillingAccountsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -750,7 +750,7 @@ public final ListProjectBillingInfoPagedResponse listProjectBillingInfo( * while (true) { * ListProjectBillingInfoResponse response = * cloudBillingClient.listProjectBillingInfoCallable().call(request); - * for (ProjectBillingInfo element : response.getResponsesList()) { + * for (ProjectBillingInfo element : response.getProjectBillingInfoList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java index d9f489f78fcb..76d36bfa7703 100644 --- a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java +++ b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudCatalogClient.java @@ -247,7 +247,7 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request) * .build(); * while (true) { * ListServicesResponse response = cloudCatalogClient.listServicesCallable().call(request); - * for (Service element : response.getResponsesList()) { + * for (Service element : response.getServicesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -399,7 +399,7 @@ public final UnaryCallable listSkusPaged * .build(); * while (true) { * ListSkusResponse response = cloudCatalogClient.listSkusCallable().call(request); - * for (Sku element : response.getResponsesList()) { + * for (Sku element : response.getSkusList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();