code: public final AnnotatedDataset getAnnotatedDataset(String name) {
      ANNOTATED_DATASET_PATH_TEMPLATE.validate(name, "getAnnotatedDataset");
      GetAnnotatedDatasetRequest request =
          GetAnnotatedDatasetRequest.newBuilder().setName(name).build();
      return getAnnotatedDataset(request);
    }
docs: Gets an annotated dataset by resource name.
  
  <p>Sample code:
  
  <pre><code>
  try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
  String formattedName = DataLabelingServiceClient.formatAnnotatedDatasetName("[PROJECT]", "[DATASET]", "[ANNOTATED_DATASET]");
  AnnotatedDataset response = dataLabelingServiceClient.getAnnotatedDataset(formattedName);
  }
  </code></pre>
  
  @param name Required. Name of the annotated dataset to get, format:
  projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
  @throws com.google.api.gax.rpc.ApiException if the remote call fails