public ReservationSubmissionResponsePBImpl() { builder = ReservationSubmissionResponseProto.newBuilder(); }
public ReservationSubmissionResponsePBImpl( ReservationSubmissionResponseProto proto) { this.proto = proto; viaProto = true; }
public ReservationSubmissionResponseProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = ReservationSubmissionResponseProto.newBuilder(proto); } viaProto = false; }
@Test public void testReservationSubmissionResponsePBImpl() throws Exception { validatePBImplRecord(ReservationSubmissionResponsePBImpl.class, ReservationSubmissionResponseProto.class); }
public ReservationSubmissionResponseProto getProto() { proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }