code: public final ListExamplesPagedResponse listExamples(String parent, String filter) {
      ANNOTATED_DATASET_PATH_TEMPLATE.validate(parent, "listExamples");
      ListExamplesRequest request =
          ListExamplesRequest.newBuilder().setParent(parent).setFilter(filter).build();
      return listExamples(request);
    }
docs: Lists examples in an annotated dataset. Pagination is supported.
  
  <p>Sample code:
  
  <pre><code>
  try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
  String formattedParent = DataLabelingServiceClient.formatAnnotatedDatasetName("[PROJECT]", "[DATASET]", "[ANNOTATED_DATASET]");
  String filter = "";
  for (Example element : dataLabelingServiceClient.listExamples(formattedParent, filter).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent Required. Example resource parent.
  @param filter Optional. An expression for filtering Examples. For annotated datasets that have
  annotation spec set, filter by annotation_spec.display_name is supported. Format
  "annotation_spec.display_name = {display_name}"
  @throws com.google.api.gax.rpc.ApiException if the remote call fails