public ReservationRequestsPBImpl() { builder = ReservationRequestsProto.newBuilder(); }
public ReservationRequestsPBImpl(ReservationRequestsProto proto) { this.proto = proto; viaProto = true; }
public ReservationRequestsProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = ReservationRequestsProto.newBuilder(proto); } viaProto = false; }
private ReservationRequestsPBImpl convertFromProtoFormat( ReservationRequestsProto p) { return new ReservationRequestsPBImpl(p); }
private ReservationRequestsProto convertToProtoFormat(ReservationRequests t) { return ((ReservationRequestsPBImpl) t).getProto(); }