public static PipeSubscribeSubscribeReq fromTPipeSubscribeReq(
      final TPipeSubscribeReq subscribeReq) {
    final PipeSubscribeSubscribeReq req = new PipeSubscribeSubscribeReq();

    if (Objects.nonNull(subscribeReq.body) && subscribeReq.body.hasRemaining()) {
      req.topicNames = ReadWriteIOUtils.readObjectSet(subscribeReq.body);
    }

    req.version = subscribeReq.version;
    req.type = subscribeReq.type;
    req.body = subscribeReq.body;

    return req;
  }
Deserialize `TPipeSubscribeReq` to obtain parameters, called by the subscription server.
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/subscription/payload/request/PipeSubscribeSubscribeReq.java