docs: public Deferred<byte[]> getUIDAsync(final UniqueIdType type, final String name) {
      if (name == null || name.isEmpty()) {
        throw new IllegalArgumentException("Missing UID name");
      }
      switch (type) {
        case METRIC:
          return metrics.getIdAsync(name);
        case TAGK:
          return tag_names.getIdAsync(name);
        case TAGV:
          return tag_values.getIdAsync(name);
        default:
          throw new IllegalArgumentException("Unrecognized UID type");
      }
    }