public static Cursor toCursor(ClientProtos.Cursor cursor) {
    return ClientUtil.createCursor(cursor.getRow().toByteArray());
  }
Convert a protocol buffer Scan to a client Scan
@param proto the protocol buffer Scan to convert
@return the converted client Scan
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java