@Override public ReservationDefinition getReservationDefinition() { ReservationUpdateRequestProtoOrBuilder p = viaProto ? proto : builder; if (reservationDefinition != null) { return reservationDefinition; } if (!p.hasReservationDefinition()) { return null; } reservationDefinition = convertFromProtoFormat(p.getReservationDefinition()); return reservationDefinition; }
@Override public ReservationId getReservationId() { ReservationUpdateRequestProtoOrBuilder p = viaProto ? proto : builder; if (reservationId != null) { return reservationId; } if (!p.hasReservationId()) { return null; } reservationId = convertFromProtoFormat(p.getReservationId()); return reservationId; }