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 syntax = "proto2"; |
| 6 |
| 7 package affiliation_pb; |
| 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 |
| 11 // A collection of facets affiliated with each other, i.e. an equivalence class. |
| 12 message Affiliation { |
| 13 repeated string facet = 1; |
| 14 } |
| 15 |
| 16 // Encapsulates a lookup request to the Affiliation API. |
| 17 message LookupAffiliationRequest { |
| 18 // The facet URIs to query. |
| 19 repeated string facet = 1; |
| 20 } |
| 21 |
| 22 // Encapsulates a lookup response from the the Affiliation API. |
| 23 message LookupAffiliationResponse { |
| 24 // For each queried facet, the corresponding equivalence class, if any. |
| 25 repeated Affiliation affiliation = 1; |
| 26 } |
OLD | NEW |