public static PipeSubscribeUnsubscribeResp toTPipeSubscribeResp(final TSStatus status) {
    final PipeSubscribeUnsubscribeResp resp = new PipeSubscribeUnsubscribeResp();
    resp.status = status;
    resp.version = PipeSubscribeResponseVersion.VERSION_1.getVersion();
    resp.type = PipeSubscribeResponseType.ACK.getType();
    return resp;
  }
Serialize the incoming parameters into `PipeSubscribeUnsubscribeResp`, called by the
subscription server.
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/subscription/payload/response/PipeSubscribeUnsubscribeResp.java