blob: 20f0eedace72248f11265c988137dce5b1bdbfa2 [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
15// TODO(jojwang): monorail:1701, fill User with all info necessary for
16// creating a user profile page.
17// Next available tag: 7
18message User {
19 string display_name = 1;
20 int64 user_id = 2;
21 bool is_site_admin = 3;
22 string availability = 4;
23 UserRef linked_parent_ref = 5;
24 repeated UserRef linked_child_refs = 6;
25}
26
27
28// Next available tag: 3
29message UserPrefValue {
30 string name = 1;
31 string value = 2;
32}
33
34
35// Next available tag: 6
36message UserProjects {
37 UserRef user_ref = 1;
38 repeated string owner_of = 2;
39 repeated string member_of = 3;
40 repeated string contributor_to = 4;
41 repeated string starred_projects = 5;
42}