docs: public PeriodicSubscriptionQos setPeriodMs(long periodMs) {
          if (periodMs < MIN_PERIOD_MS) {
              this.periodMs = MIN_PERIOD_MS;
              logger.warn("periodMs < MIN_PERIOD_MS. Using MIN_PERIOD_MS: {}", MIN_PERIOD_MS);
          } else if (periodMs > MAX_PERIOD_MS) {
              this.periodMs = MAX_PERIOD_MS;
              logger.warn("periodMs > MAX_PERIOD_MS. Using MAX_PERIOD_MS: {}", MAX_PERIOD_MS);
          } else {
              this.periodMs = periodMs;
          }
  
          if (this.alertAfterIntervalMs != NO_ALERT_AFTER_INTERVAL && this.alertAfterIntervalMs < this.periodMs) {
              this.alertAfterIntervalMs = this.periodMs;
              logger.warn("alertAfterIntervalMs < periodMs. Setting alertAfterIntervalMs = periodMs: {}", this.periodMs);
          }
  
          return this;
      }