@Override public ReservationRequestInterpreter getInterpreter() { ReservationRequestsProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasInterpreter()) { return null; } return (convertFromProtoFormat(p.getInterpreter())); }
private void initReservationRequestsList() { if (this.reservationRequests != null) { return; } ReservationRequestsProtoOrBuilder p = viaProto ? proto : builder; List<ReservationRequestProto> resourceProtos = p.getReservationResourcesList(); reservationRequests = new ArrayList<ReservationRequest>(); for (ReservationRequestProto r : resourceProtos) { reservationRequests.add(convertFromProtoFormat(r)); } }