private ReservationIdPBImpl convertFromProtoFormat(ReservationIdProto p) { return new ReservationIdPBImpl(p); }
private ReservationIdProto convertToProtoFormat(ReservationId t) { return ((ReservationIdPBImpl) t).getProto(); }
public ReservationIdPBImpl() { builder = ReservationIdProto.newBuilder(); }
public ReservationIdPBImpl(ReservationIdProto proto) { this.proto = proto; }
public ReservationIdProto getProto() { return proto; }
public static ReservationIdPBImpl convertFromProtoFormat( ReservationIdProto r) { return new ReservationIdPBImpl(r); }
public static ReservationId toReservationId( ReservationIdProto reservationId) { return new ReservationIdPBImpl(reservationId); }