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

Unified 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, 4 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/logdog/protocol/types.proto
diff --git a/common/logdog/protocol/types.proto b/common/logdog/protocol/types.proto
index e7d680430900bc76ca5375d39953caa36b044ebc..07e23d0620c4f3923e365d5f8161e2bfde99341e 100644
--- a/common/logdog/protocol/types.proto
+++ b/common/logdog/protocol/types.proto
@@ -6,11 +6,19 @@ package protocol;
/*
* Timestamp is a message that represents a specific moment in time. All
- * Timestamps will be relative to epoch, meaning that their respective values
- * will be recorded as microseconds from UNIX epoch, defined as
- * 00:00:00 January 1, 1970 UTC.
+ * Timestamps will be encoded as UTC.
*/
message Timestamp {
- // The timestamp's value, in microseconds from epoch.
- optional uint64 us_from_epoch = 1;
+ // The timestamp's value, expressed as an RFC 3339 time string.
+ optional string value = 1;
+}
+
+/*
+ * TimeOffset is a message that represents a difference in time.
+ */
+message TimeOffset {
+ // The number of seconds in the offset.
+ optional uint32 seconds = 1;
+ // The number of nanoseconds in the offset.
+ optional uint32 nanoseconds = 2;
}
« 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