code: public final AnnotationSpec getAnnotationSpec(String name) {
  
      GetAnnotationSpecRequest request = GetAnnotationSpecRequest.newBuilder().setName(name).build();
      return getAnnotationSpec(request);
    }
docs: Gets an annotation spec.
  
  <p>Sample code:
  
  <pre><code>
  try (AutoMlClient autoMlClient = AutoMlClient.create()) {
  AnnotationSpecName name = AnnotationSpecName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[ANNOTATION_SPEC]");
  AnnotationSpec response = autoMlClient.getAnnotationSpec(name.toString());
  }
  </code></pre>
  
  @param name The resource name of the annotation spec to retrieve.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails