public void writeTo(ByteBuf byteBuf) {
    byteBuf.writeInt(blobsDeleteStatus.size());
    byteBuf.writeBytes(partitionId.getBytes());
    for (int i = 0; i < blobsDeleteStatus.size(); i++) {
      blobsDeleteStatus.get(i).writeTo(byteBuf);
    }
  }
Writes the constituents of {@link BatchDeletePartitionResponseInfo} to the given {@link ByteBuf}.
@param byteBuf the {@link ByteBuf} to write to.
ambry-protocol/src/main/java/com/github/ambry/protocol/BatchDeletePartitionResponseInfo.java