How to initialize Google protocol buffers Timestamp in Java?
<p>Google protocol buffers (3.0.0-beta2) offers the <a href="https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp" rel="noreferrer">well-known type Timestamp</a>.</p>

<p>The documentation describes the <strong>initialization in Java</strong> using <em>System.currentTimeMillis()</em> as following:</p>

<pre><code>long millis = System.currentTimeMillis();
Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
    .setNanos((int) ((millis % 1000) * 1000000)).build();
</code></pre>

<p>Is there an <strong>alternative way</strong> in the recent <strong>Java 8</strong>?</p>