OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 // | |
5 // Contains information collected by the RAPPOR (Randomized Aggregatable | |
6 // Privacy-Preserving Ordinal Responses) system. | |
7 // | |
8 // For a full description of the rappor metrics, see | |
9 // http://www.chromium.org/developers/design-documents/rappor | |
10 | |
11 syntax = "proto2"; | |
12 | |
13 option optimize_for = LITE_RUNTIME; | |
14 | |
15 package rappor; | |
16 | |
17 // Next tag: 4 | |
18 message RapporReports { | |
19 // Which version of the Rappor scheme generated these reports. | |
20 optional int32 version = 1; | |
Ilya Sherman
2014/02/13 01:39:03
Hmm, is the Rappor scheme expected to change? I'm
Steven Holte
2014/02/13 05:11:12
This was added in response to someone else's comme
Ilya Sherman
2014/02/13 23:23:08
I don't feel strongly either, but this does seem t
Steven Holte
2014/02/14 02:53:28
I suppose protobufs have optional fields and defau
| |
21 | |
22 // Which cohort these reports belong to. The RAPPOR participants are | |
23 // partioned into cohorts in different ways, to allow better statistics and | |
24 // increased coverage. In particular, the cohort will serve to choose the | |
25 // hash functions used for Bloom-filter-based reports. | |
26 optional int32 cohort = 2; | |
Ilya Sherman
2014/02/13 01:39:03
It would be nice to document the expected amount o
Steven Holte
2014/02/13 05:11:12
Done.
| |
27 | |
28 // Each Report contains the values generated by the RAPPOR process for one | |
29 // metric. | |
30 message Report { | |
31 // The name of the metric, hashed. | |
Ilya Sherman
2014/02/13 01:39:03
Please document which hash function is used.
Steven Holte
2014/02/13 05:11:12
Done.
| |
32 optional fixed64 name_hash = 1; | |
33 | |
34 // The sequence of bits produced by random coin flips in | |
35 // RapporMetric::GetReport(). For a complete description of RAPPOR | |
36 // metrics, refer to the design document at: | |
37 // http://www.chromium.org/developers/design-documents/rappor | |
38 optional bytes bits = 2; | |
39 } | |
40 repeated Report report = 3; | |
41 } | |
OLD | NEW |