docs: public int getMessageLength() {
      // Message type, number of transients
      int length = 1 + 4;
      if (this.transientRequests != null) {
        for (OnDemandRequest request : this.transientRequests) {
          length += request.getLength();
        }
      }
  
      return length;
    }