diff --git a/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java b/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java index 25bc9675bea1..7469520f8e69 100644 --- a/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java +++ b/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java @@ -396,7 +396,7 @@ public final UnaryCallable listJobsPaged * .build(); * while (true) { * ListJobsResponse response = transcoderServiceClient.listJobsCallable().call(request); - * for (Job element : response.getResponsesList()) { + * for (Job element : response.getJobsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -881,7 +881,7 @@ public final ListJobTemplatesPagedResponse listJobTemplates(ListJobTemplatesRequ * while (true) { * ListJobTemplatesResponse response = * transcoderServiceClient.listJobTemplatesCallable().call(request); - * for (JobTemplate element : response.getResponsesList()) { + * for (JobTemplate element : response.getJobTemplatesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();