docs: public void setMinPriority(String minPriority) {
          this.minPriority = minPriority;
  
          Integer value = priorityNameToValueMap.get(minPriority);
          if (value == null) {
              value = priorityNameToValueMap.get(DEFAULT_PRIORITY);
              if (value == null) {
                  throw new IllegalStateException();
              }
          }
  
          this.minPriorityAsInt = value.intValue();
  
      }