From beb0c0a3fec7c6a7b143c20c6d214be72757b8e6 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:20:29 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#894) - [ ] 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/speech/v1/AdaptationClient.java | 4 ++-- .../com/google/cloud/speech/v1p1beta1/AdaptationClient.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/AdaptationClient.java b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/AdaptationClient.java index 4f728962c220..48354ebe4d6e 100644 --- a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/AdaptationClient.java +++ b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/AdaptationClient.java @@ -544,7 +544,7 @@ public final ListPhraseSetPagedResponse listPhraseSet(ListPhraseSetRequest reque * .build(); * while (true) { * ListPhraseSetResponse response = adaptationClient.listPhraseSetCallable().call(request); - * for (PhraseSet element : response.getResponsesList()) { + * for (PhraseSet element : response.getPhraseSetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1126,7 +1126,7 @@ public final ListCustomClassesPagedResponse listCustomClasses(ListCustomClassesR * while (true) { * ListCustomClassesResponse response = * adaptationClient.listCustomClassesCallable().call(request); - * for (CustomClass element : response.getResponsesList()) { + * for (CustomClass element : response.getCustomClassesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/AdaptationClient.java b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/AdaptationClient.java index 2ccabe8f097b..399a54edb69d 100644 --- a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/AdaptationClient.java +++ b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/AdaptationClient.java @@ -546,7 +546,7 @@ public final ListPhraseSetPagedResponse listPhraseSet(ListPhraseSetRequest reque * .build(); * while (true) { * ListPhraseSetResponse response = adaptationClient.listPhraseSetCallable().call(request); - * for (PhraseSet element : response.getResponsesList()) { + * for (PhraseSet element : response.getPhraseSetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1128,7 +1128,7 @@ public final ListCustomClassesPagedResponse listCustomClasses(ListCustomClassesR * while (true) { * ListCustomClassesResponse response = * adaptationClient.listCustomClassesCallable().call(request); - * for (CustomClass element : response.getResponsesList()) { + * for (CustomClass element : response.getCustomClassesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();