code: public final Occurrence getOccurrence(String name) {
  
      GetOccurrenceRequest request = GetOccurrenceRequest.newBuilder().setName(name).build();
      return getOccurrence(request);
    }
docs: Gets the specified occurrence.
  
  <p>Sample code:
  
  <pre><code>
  try (GrafeasV1Beta1Client grafeasV1Beta1Client = GrafeasV1Beta1Client.create()) {
  OccurrenceName name = OccurrenceName.of("[PROJECT]", "[OCCURRENCE]");
  Occurrence response = grafeasV1Beta1Client.getOccurrence(name.toString());
  }
  </code></pre>
  
  @param name The name of the occurrence in the form of
  `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails