public static BidResponse newBidResponse(BidOrBuilder... bids) {
    SeatBid.Builder seat = SeatBid.newBuilder();

    for (BidOrBuilder bid : bids) {
      if (bid instanceof Bid) {
        seat.addBid((Bid) bid);
      } else {
        seat.addBid((Bid.Builder) bid);
      }
    }

    return BidResponse.newBuilder().addSeatbid(seat).build();
  }
 private void skipSeats() {
   while (!bidIter.hasNext() && seatbidIter.hasNext()) {
     SeatBid.Builder seatBid = seatbidIter.next();
     bidIter = seatBid.getBidBuilderList().iterator();
   }
 }