public boolean isSet(_Fields field) {
      if (field == null) {
        throw new IllegalArgumentException();
      }

      switch (field) {
      case PROFILE_DURATION_IN_SEC:
        return isSetProfileDurationInSec();
      }
      throw new IllegalStateException();
    }