code: public final EntityType updateEntityType(EntityType entityType) {
  
      UpdateEntityTypeRequest request =
          UpdateEntityTypeRequest.newBuilder().setEntityType(entityType).build();
      return updateEntityType(request);
    }
docs: Updates the specified entity type.
  
  <p>Sample code:
  
  <pre><code>
  try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
  EntityType entityType = EntityType.newBuilder().build();
  EntityType response = entityTypesClient.updateEntityType(entityType);
  }
  </code></pre>
  
  @param entityType Required. The entity type to update.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails