diff --git a/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java b/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java index a7b5f24c215c..ef6b8de9e775 100644 --- a/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java +++ b/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/IDSClient.java @@ -296,7 +296,7 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque * .build(); * while (true) { * ListEndpointsResponse response = iDSClient.listEndpointsCallable().call(request); - * for (Endpoint element : response.getResponsesList()) { + * for (Endpoint element : response.getEndpointsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();