code: public final EntityType getEntityType(EntityTypeName name, String languageCode) {
  
      GetEntityTypeRequest request =
          GetEntityTypeRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .setLanguageCode(languageCode)
              .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]");
  String languageCode = "";
  EntityType response = entityTypesClient.getEntityType(name, languageCode);
  }
  </code></pre>
  
  @param name Required. The name of the entity type. Format: `projects/&lt;Project
  ID&gt;/agent/entityTypes/&lt;EntityType ID&gt;`.
  @param languageCode Optional. The language to retrieve entity synonyms for. If not specified,
  the agent's default language is used. [Many
  languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/language) are
  supported. Note: languages must be enabled in the agent before they can be used.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails