code: public final Example getExample(String name, String filter) {
      EXAMPLE_PATH_TEMPLATE.validate(name, "getExample");
      GetExampleRequest request =
          GetExampleRequest.newBuilder().setName(name).setFilter(filter).build();
      return getExample(request);
    }
docs: Gets an example by resource name, including both data and annotation.
  
  <p>Sample code:
  
  <pre><code>
  try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
  String formattedName = DataLabelingServiceClient.formatExampleName("[PROJECT]", "[DATASET]", "[ANNOTATED_DATASET]", "[EXAMPLE]");
  String filter = "";
  Example response = dataLabelingServiceClient.getExample(formattedName, filter);
  }
  </code></pre>
  
  @param name Required. Name of example, format:
  projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
  {annotated_dataset_id}/examples/{example_id}
  @param filter Optional. An expression for filtering Examples. 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