Here in the documentation https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/timestamp it is says in example 4 there is an error
Incorrect: Timestamp.*newBuilder*().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build(); Correct: Timestamp.*Builder*().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build(); For the same reason the IDE/java says "Cannot make a static reference to the non-static method newBuilder() from the type Timestamp" -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.