diff --git a/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceClient.java b/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceClient.java index c42eaa026e58..3ba233467391 100644 --- a/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceClient.java +++ b/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceClient.java @@ -517,7 +517,7 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request) * while (true) { * ListDatasetsResponse response = * dataLabelingServiceClient.listDatasetsCallable().call(request); - * for (Dataset element : response.getResponsesList()) { + * for (Dataset element : response.getDatasetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1325,7 +1325,7 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque * while (true) { * ListDataItemsResponse response = * dataLabelingServiceClient.listDataItemsCallable().call(request); - * for (DataItem element : response.getResponsesList()) { + * for (DataItem element : response.getDataItemsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1599,7 +1599,7 @@ public final ListAnnotatedDatasetsPagedResponse listAnnotatedDatasets( * while (true) { * ListAnnotatedDatasetsResponse response = * dataLabelingServiceClient.listAnnotatedDatasetsCallable().call(request); - * for (AnnotatedDataset element : response.getResponsesList()) { + * for (AnnotatedDataset element : response.getAnnotatedDatasetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2410,7 +2410,7 @@ public final ListExamplesPagedResponse listExamples(ListExamplesRequest request) * while (true) { * ListExamplesResponse response = * dataLabelingServiceClient.listExamplesCallable().call(request); - * for (Example element : response.getResponsesList()) { + * for (Example element : response.getExamplesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2795,7 +2795,7 @@ public final ListAnnotationSpecSetsPagedResponse listAnnotationSpecSets( * while (true) { * ListAnnotationSpecSetsResponse response = * dataLabelingServiceClient.listAnnotationSpecSetsCallable().call(request); - * for (AnnotationSpecSet element : response.getResponsesList()) { + * for (AnnotationSpecSet element : response.getAnnotationSpecSetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -3296,7 +3296,7 @@ public final ListInstructionsPagedResponse listInstructions(ListInstructionsRequ * while (true) { * ListInstructionsResponse response = * dataLabelingServiceClient.listInstructionsCallable().call(request); - * for (Instruction element : response.getResponsesList()) { + * for (Instruction element : response.getInstructionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -3725,7 +3725,7 @@ public final SearchEvaluationsPagedResponse searchEvaluations(SearchEvaluationsR * while (true) { * SearchEvaluationsResponse response = * dataLabelingServiceClient.searchEvaluationsCallable().call(request); - * for (Evaluation element : response.getResponsesList()) { + * for (Evaluation element : response.getEvaluationsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -3895,7 +3895,7 @@ public final SearchExampleComparisonsPagedResponse searchExampleComparisons( * SearchExampleComparisonsResponse response = * dataLabelingServiceClient.searchExampleComparisonsCallable().call(request); * for (SearchExampleComparisonsResponse.ExampleComparison element : - * response.getResponsesList()) { + * response.getExampleComparisonsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -4705,7 +4705,7 @@ public final ListEvaluationJobsPagedResponse listEvaluationJobs( * while (true) { * ListEvaluationJobsResponse response = * dataLabelingServiceClient.listEvaluationJobsCallable().call(request); - * for (EvaluationJob element : response.getResponsesList()) { + * for (EvaluationJob element : response.getEvaluationJobsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();