blob: 45209fe9794e84f3cbffa57fe65e0b1e33003e28 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001// 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// This file defines protobufs for issues and related business
7// objects, e.g., field values, comments, and attachments.
8
9syntax = "proto3";
10
11import "api/api_proto/common.proto";
12
13package monorail;
14
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020015option go_package = "infra/monorailv2/api/api_proto;monorail";
16
Copybara854996b2021-09-07 19:36:02 +000017// TODO(jojwang): monorail:1701, fill User with all info necessary for
18// creating a user profile page.
19// Next available tag: 7
20message User {
21 string display_name = 1;
22 int64 user_id = 2;
23 bool is_site_admin = 3;
24 string availability = 4;
25 UserRef linked_parent_ref = 5;
26 repeated UserRef linked_child_refs = 6;
27}
28
29
30// Next available tag: 3
31message UserPrefValue {
32 string name = 1;
33 string value = 2;
34}
35
36
37// Next available tag: 6
38message UserProjects {
39 UserRef user_ref = 1;
40 repeated string owner_of = 2;
41 repeated string member_of = 3;
42 repeated string contributor_to = 4;
43 repeated string starred_projects = 5;
44}