code: public final EntityType getEntityType(String name) {
  
      GetEntityTypeRequest request = GetEntityTypeRequest.newBuilder().setName(name).build();
      return getEntityType(request);
    }
docs: Retrieves the specified entity type.
  
  <p>Sample code:
  
  <pre><code>
  try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  EntityTypeName name = EntityTypeName.of("[PROJECT]", "[ENTITY_TYPE]");
  EntityType response = entityTypesClient.getEntityType(name.toString());
  }
  </code></pre>
  
  @param name Required. The name of the entity type. Format: `projects/&lt;Project
  ID&gt;/agent/entityTypes/&lt;EntityType ID&gt;`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails