Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file or at |
| 4 | // https://developers.google.com/open-source/licenses/bsd |
| 5 | |
| 6 | syntax = "proto3"; |
| 7 | |
| 8 | package monorail; |
| 9 | |
Adrià Vilanova MartÃnez | de94280 | 2022-07-15 14:06:55 +0200 | [diff] [blame] | 10 | option go_package = "infra/monorailv2/api/api_proto;monorail"; |
| 11 | |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 12 | import "api/api_proto/common.proto"; |
| 13 | import "api/api_proto/issue_objects.proto"; |
| 14 | |
| 15 | |
| 16 | // Next available tag: 9 |
| 17 | message Hotlist { |
| 18 | UserRef owner_ref = 1; |
| 19 | repeated UserRef editor_refs = 5; |
| 20 | repeated UserRef follower_refs = 6; |
| 21 | string name = 2; |
| 22 | string summary = 3; |
| 23 | string description = 4; |
| 24 | string default_col_spec = 7; |
| 25 | bool is_private = 8; |
| 26 | } |
| 27 | |
| 28 | |
| 29 | // Next available tag: 6 |
| 30 | message HotlistItem { |
| 31 | Issue issue = 1; |
| 32 | uint32 rank = 2; |
| 33 | UserRef adder_ref = 3; |
| 34 | uint32 added_timestamp = 4; |
| 35 | string note = 5; |
| 36 | } |
| 37 | |
| 38 | |
| 39 | // Next available tag: 5 |
| 40 | message HotlistPeopleDelta { |
| 41 | UserRef new_owner_ref = 1; |
| 42 | repeated UserRef add_editor_refs = 2; |
| 43 | repeated UserRef add_follower_refs = 3; |
| 44 | repeated UserRef remove_user_refs = 4; |
| 45 | } |