blob: ad38a95f64a4107bf128f2dc9fc040ec8e3a71f1 [file] [log] [blame]
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01001// Copyright 2018 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
Copybara854996b2021-09-07 19:36:02 +00004
5// This file defines protobufs for issues and related business
6// objects, e.g., field values, comments, and attachments.
7
8syntax = "proto3";
9
10import "api/api_proto/common.proto";
11
12package monorail;
13
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020014option go_package = "infra/monorailv2/api/api_proto;monorail";
15
Copybara854996b2021-09-07 19:36:02 +000016// TODO(jojwang): monorail:1701, fill User with all info necessary for
17// creating a user profile page.
18// Next available tag: 7
19message User {
20 string display_name = 1;
21 int64 user_id = 2;
22 bool is_site_admin = 3;
23 string availability = 4;
24 UserRef linked_parent_ref = 5;
25 repeated UserRef linked_child_refs = 6;
26}
27
28
29// Next available tag: 3
30message UserPrefValue {
31 string name = 1;
32 string value = 2;
33}
34
35
36// Next available tag: 6
37message UserProjects {
38 UserRef user_ref = 1;
39 repeated string owner_of = 2;
40 repeated string member_of = 3;
41 repeated string contributor_to = 4;
42 repeated string starred_projects = 5;
43}