docs: public static Integer lookup(String type) throws IllegalArgumentException {
      checkNotNull(type, "resource type was null");
      checkArgument(lookup.containsKey(type), "%s do not include %s; types: %s",
                    ResourceTypes.class.getSimpleName(),
                    type, EnumSet.allOf(ResourceTypes.class));
      return lookup.get(type);
    }