docs: @SuppressWarnings("unchecked")
    public boolean getBooleanValue() {
      String stringValue = getStringValue();
      checkState(
          stringValue.equalsIgnoreCase("true") || stringValue.equalsIgnoreCase("false"),
          "Field value is not of boolean type");
      return Boolean.parseBoolean(stringValue);
    }