Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Side by Side Diff: common/logdog/protocol/types.proto

Issue 1272893004: LogDog: Update protobufs, add support library. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Update comment. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « common/logdog/protocol/protoutil/utils.go ('k') | common/logdog/protocol/types.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package protocol; 5 package protocol;
6 6
7 /* 7 /*
8 * Timestamp is a message that represents a specific moment in time. All 8 * Timestamp is a message that represents a specific moment in time. All
9 * Timestamps will be relative to epoch, meaning that their respective values 9 * Timestamps will be encoded as UTC.
10 * will be recorded as microseconds from UNIX epoch, defined as
11 * 00:00:00 January 1, 1970 UTC.
12 */ 10 */
13 message Timestamp { 11 message Timestamp {
14 // The timestamp's value, in microseconds from epoch. 12 // The timestamp's value, expressed as an RFC 3339 time string.
15 optional uint64 us_from_epoch = 1; 13 optional string value = 1;
16 } 14 }
15
16 /*
17 * TimeOffset is a message that represents a difference in time.
18 */
19 message TimeOffset {
20 // The number of seconds in the offset.
21 optional uint32 seconds = 1;
22 // The number of nanoseconds in the offset.
23 optional uint32 nanoseconds = 2;
24 }
OLDNEW
« no previous file with comments | « common/logdog/protocol/protoutil/utils.go ('k') | common/logdog/protocol/types.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698