Lines Matching full:timestamp

155 …"creationTime": { # A Timestamp represents a point in time independent of any time zone or local c…
165 # Example 1: Compute Timestamp from POSIX `time()`.
167 # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
169 # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
173 … # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);
175 # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
179 …poch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) …
181 # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
185 …# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis …
189 # Example 5: Compute Timestamp from current time in Python.
191 # timestamp = Timestamp() timestamp.GetCurrentTime()
195Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) form…
205 …"startTime": { # A Timestamp represents a point in time independent of any time zone or local cale…
215 # Example 1: Compute Timestamp from POSIX `time()`.
217 # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
219 # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
223 … # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);
225 # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
229 …poch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) …
231 # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
235 …# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis …
239 # Example 5: Compute Timestamp from current time in Python.
241 # timestamp = Timestamp() timestamp.GetCurrentTime()
245Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) form…
267 …"endTime": { # A Timestamp represents a point in time independent of any time zone or local calend…
277 # Example 1: Compute Timestamp from POSIX `time()`.
279 # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
281 # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
285 … # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);
287 # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
291 …poch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) …
293 # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
297 …# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis …
301 # Example 5: Compute Timestamp from current time in Python.
303 # timestamp = Timestamp() timestamp.GetCurrentTime()
307Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) form…
394 …"creationTime": { # A Timestamp represents a point in time independent of any time zone or local c…
404 # Example 1: Compute Timestamp from POSIX `time()`.
406 # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
408 # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
412 … # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);
414 # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
418 …poch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) …
420 # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
424 …# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis …
428 # Example 5: Compute Timestamp from current time in Python.
430 # timestamp = Timestamp() timestamp.GetCurrentTime()
434Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) form…
444 …"startTime": { # A Timestamp represents a point in time independent of any time zone or local cale…
454 # Example 1: Compute Timestamp from POSIX `time()`.
456 # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
458 # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
462 … # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);
464 # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
468 …poch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) …
470 # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
474 …# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis …
478 # Example 5: Compute Timestamp from current time in Python.
480 # timestamp = Timestamp() timestamp.GetCurrentTime()
484Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) form…
506 …"endTime": { # A Timestamp represents a point in time independent of any time zone or local calend…
516 # Example 1: Compute Timestamp from POSIX `time()`.
518 # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
520 # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
524 … # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);
526 # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
530 …poch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) …
532 # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
536 …# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis …
540 # Example 5: Compute Timestamp from current time in Python.
542 # timestamp = Timestamp() timestamp.GetCurrentTime()
546Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) form…