openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java
public static SeatBid.Builder seatBid(BidResponse.Builder response, String seat) {
    checkNotNull(seat);

    for (SeatBid.Builder seatbid : response.getSeatbidBuilderList()) {
      if (seatbid.hasSeat() && seat.equals(seatbid.getSeat())) {
        return seatbid;
      }
    }
    return response.addSeatbidBuilder().setSeat(seat);
  }
public static SeatBid.Builder seatBid(BidResponse.Builder response, String seat) {
    checkNotNull(seat);

    for (SeatBid.Builder seatbid : response.getSeatbidBuilderList()) {
      if (seatbid.hasSeat() && seat.equals(seatbid.getSeat())) {
        return seatbid;
      }
    }
    return response.addSeatbidBuilder().setSeat(seat);
  }
public static SeatBid . Builder seatBid ( BidResponse . Builder response , String seat ) { checkNotNull ( seat ) ; for ( SeatBid . Builder seatbid : response . getSeatbidBuilderList ( ) ) { if ( seatbid . hasSeat ( ) && seat . equals ( seatbid . getSeat ( ) ) ) { return seatbid ; } } return response . addSeatbidBuilder ( ) . setSeat ( seat ) ; }
@return The OpenRTB SeatBid with the specified ID; will be created if not existent.
The ID should be present in the request's wseat.

@see #seatBid(com.google.openrtb.OpenRtb.BidResponse.Builder)
Use for the anonymous seat
@return The OpenRTB SeatBid with the specified ID ; will be created if not existent . The ID should be present in the request s wseat .