diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java index 25bc9675..7469520f 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java +++ b/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();