code: private @Nullable TypeConfigElement typeConfig(ProtoType type) {
      for (ProfileFileElement element : profileFiles) {
        for (TypeConfigElement typeConfig : element.getTypeConfigs()) {
          if (typeConfig.getType().equals(type.toString())) return typeConfig;
        }
      }
      return null;
    }
docs: Returns the config for {@code type}, or null if it is not configured.