diff options
Diffstat (limited to 'stats/common/wire.proto')
-rw-r--r-- | stats/common/wire.proto | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/stats/common/wire.proto b/stats/common/wire.proto new file mode 100644 index 0000000000..35def37a51 --- /dev/null +++ b/stats/common/wire.proto @@ -0,0 +1,27 @@ +package stats; + +option optimize_for = LITE_RUNTIME; + +message Event { + optional int64 userId = 1; + optional int64 timestamp = 2; + + extensions 100 to 999; +} + +message Search { + extend Event { + optional Search event = 100; + } + + optional string query = 1; +} + +message PinDrop { + extend Event { + optional PinDrop event = 101; + } + + optional int64 latlong = 1; + optional string label = 2; +} |