Closed pnrobinson closed 2 years ago
Added this
public static MetaDataBuilder builder(String createdBy) {
Instant time = Instant.now();
Timestamp timestamp = Timestamp.newBuilder().setSeconds(time.getEpochSecond())
.setNanos(time.getNano()).build();
return new MetaDataBuilder(timestamp, createdBy);
}
Add factory method that takes a time stamp This would enable us to simplify calls like this