public static PipeSubscribeHeartbeatReq toTPipeSubscribeReq() {
    final PipeSubscribeHeartbeatReq req = new PipeSubscribeHeartbeatReq();

    req.version = PipeSubscribeRequestVersion.VERSION_1.getVersion();
    req.type = PipeSubscribeRequestType.HEARTBEAT.getType();

    return req;
  }
Serialize the incoming parameters into `PipeSubscribeHeartbeatReq`, called by the subscription
client.
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/subscription/payload/request/PipeSubscribeHeartbeatReq.java