blob: c4e09f1d6bbe32cd4d786230f483884d41ed9827 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001# Generated by the protocol buffer compiler. DO NOT EDIT!
2# source: api/api_proto/user_objects.proto
3
4import sys
5_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6from google.protobuf import descriptor as _descriptor
7from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14
15from api.api_proto import common_pb2 as api_dot_api__proto_dot_common__pb2
16
17
18DESCRIPTOR = _descriptor.FileDescriptor(
19 name='api/api_proto/user_objects.proto',
20 package='monorail',
21 syntax='proto3',
22 serialized_options=None,
23 serialized_pb=_b('\n api/api_proto/user_objects.proto\x12\x08monorail\x1a\x1a\x61pi/api_proto/common.proto\"\xb6\x01\n\x04User\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x03\x12\x15\n\ris_site_admin\x18\x03 \x01(\x08\x12\x14\n\x0c\x61vailability\x18\x04 \x01(\t\x12,\n\x11linked_parent_ref\x18\x05 \x01(\x0b\x32\x11.monorail.UserRef\x12,\n\x11linked_child_refs\x18\x06 \x03(\x0b\x32\x11.monorail.UserRef\",\n\rUserPrefValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x8a\x01\n\x0cUserProjects\x12#\n\x08user_ref\x18\x01 \x01(\x0b\x32\x11.monorail.UserRef\x12\x10\n\x08owner_of\x18\x02 \x03(\t\x12\x11\n\tmember_of\x18\x03 \x03(\t\x12\x16\n\x0e\x63ontributor_to\x18\x04 \x03(\t\x12\x18\n\x10starred_projects\x18\x05 \x03(\tb\x06proto3')
24 ,
25 dependencies=[api_dot_api__proto_dot_common__pb2.DESCRIPTOR,])
26
27
28
29
30_USER = _descriptor.Descriptor(
31 name='User',
32 full_name='monorail.User',
33 filename=None,
34 file=DESCRIPTOR,
35 containing_type=None,
36 fields=[
37 _descriptor.FieldDescriptor(
38 name='display_name', full_name='monorail.User.display_name', index=0,
39 number=1, type=9, cpp_type=9, label=1,
40 has_default_value=False, default_value=_b("").decode('utf-8'),
41 message_type=None, enum_type=None, containing_type=None,
42 is_extension=False, extension_scope=None,
43 serialized_options=None, file=DESCRIPTOR),
44 _descriptor.FieldDescriptor(
45 name='user_id', full_name='monorail.User.user_id', index=1,
46 number=2, type=3, cpp_type=2, label=1,
47 has_default_value=False, default_value=0,
48 message_type=None, enum_type=None, containing_type=None,
49 is_extension=False, extension_scope=None,
50 serialized_options=None, file=DESCRIPTOR),
51 _descriptor.FieldDescriptor(
52 name='is_site_admin', full_name='monorail.User.is_site_admin', index=2,
53 number=3, type=8, cpp_type=7, label=1,
54 has_default_value=False, default_value=False,
55 message_type=None, enum_type=None, containing_type=None,
56 is_extension=False, extension_scope=None,
57 serialized_options=None, file=DESCRIPTOR),
58 _descriptor.FieldDescriptor(
59 name='availability', full_name='monorail.User.availability', index=3,
60 number=4, type=9, cpp_type=9, label=1,
61 has_default_value=False, default_value=_b("").decode('utf-8'),
62 message_type=None, enum_type=None, containing_type=None,
63 is_extension=False, extension_scope=None,
64 serialized_options=None, file=DESCRIPTOR),
65 _descriptor.FieldDescriptor(
66 name='linked_parent_ref', full_name='monorail.User.linked_parent_ref', index=4,
67 number=5, type=11, cpp_type=10, label=1,
68 has_default_value=False, default_value=None,
69 message_type=None, enum_type=None, containing_type=None,
70 is_extension=False, extension_scope=None,
71 serialized_options=None, file=DESCRIPTOR),
72 _descriptor.FieldDescriptor(
73 name='linked_child_refs', full_name='monorail.User.linked_child_refs', index=5,
74 number=6, type=11, cpp_type=10, label=3,
75 has_default_value=False, default_value=[],
76 message_type=None, enum_type=None, containing_type=None,
77 is_extension=False, extension_scope=None,
78 serialized_options=None, file=DESCRIPTOR),
79 ],
80 extensions=[
81 ],
82 nested_types=[],
83 enum_types=[
84 ],
85 serialized_options=None,
86 is_extendable=False,
87 syntax='proto3',
88 extension_ranges=[],
89 oneofs=[
90 ],
91 serialized_start=75,
92 serialized_end=257,
93)
94
95
96_USERPREFVALUE = _descriptor.Descriptor(
97 name='UserPrefValue',
98 full_name='monorail.UserPrefValue',
99 filename=None,
100 file=DESCRIPTOR,
101 containing_type=None,
102 fields=[
103 _descriptor.FieldDescriptor(
104 name='name', full_name='monorail.UserPrefValue.name', index=0,
105 number=1, type=9, cpp_type=9, label=1,
106 has_default_value=False, default_value=_b("").decode('utf-8'),
107 message_type=None, enum_type=None, containing_type=None,
108 is_extension=False, extension_scope=None,
109 serialized_options=None, file=DESCRIPTOR),
110 _descriptor.FieldDescriptor(
111 name='value', full_name='monorail.UserPrefValue.value', index=1,
112 number=2, type=9, cpp_type=9, label=1,
113 has_default_value=False, default_value=_b("").decode('utf-8'),
114 message_type=None, enum_type=None, containing_type=None,
115 is_extension=False, extension_scope=None,
116 serialized_options=None, file=DESCRIPTOR),
117 ],
118 extensions=[
119 ],
120 nested_types=[],
121 enum_types=[
122 ],
123 serialized_options=None,
124 is_extendable=False,
125 syntax='proto3',
126 extension_ranges=[],
127 oneofs=[
128 ],
129 serialized_start=259,
130 serialized_end=303,
131)
132
133
134_USERPROJECTS = _descriptor.Descriptor(
135 name='UserProjects',
136 full_name='monorail.UserProjects',
137 filename=None,
138 file=DESCRIPTOR,
139 containing_type=None,
140 fields=[
141 _descriptor.FieldDescriptor(
142 name='user_ref', full_name='monorail.UserProjects.user_ref', index=0,
143 number=1, type=11, cpp_type=10, label=1,
144 has_default_value=False, default_value=None,
145 message_type=None, enum_type=None, containing_type=None,
146 is_extension=False, extension_scope=None,
147 serialized_options=None, file=DESCRIPTOR),
148 _descriptor.FieldDescriptor(
149 name='owner_of', full_name='monorail.UserProjects.owner_of', index=1,
150 number=2, type=9, cpp_type=9, label=3,
151 has_default_value=False, default_value=[],
152 message_type=None, enum_type=None, containing_type=None,
153 is_extension=False, extension_scope=None,
154 serialized_options=None, file=DESCRIPTOR),
155 _descriptor.FieldDescriptor(
156 name='member_of', full_name='monorail.UserProjects.member_of', index=2,
157 number=3, type=9, cpp_type=9, label=3,
158 has_default_value=False, default_value=[],
159 message_type=None, enum_type=None, containing_type=None,
160 is_extension=False, extension_scope=None,
161 serialized_options=None, file=DESCRIPTOR),
162 _descriptor.FieldDescriptor(
163 name='contributor_to', full_name='monorail.UserProjects.contributor_to', index=3,
164 number=4, type=9, cpp_type=9, label=3,
165 has_default_value=False, default_value=[],
166 message_type=None, enum_type=None, containing_type=None,
167 is_extension=False, extension_scope=None,
168 serialized_options=None, file=DESCRIPTOR),
169 _descriptor.FieldDescriptor(
170 name='starred_projects', full_name='monorail.UserProjects.starred_projects', index=4,
171 number=5, type=9, cpp_type=9, label=3,
172 has_default_value=False, default_value=[],
173 message_type=None, enum_type=None, containing_type=None,
174 is_extension=False, extension_scope=None,
175 serialized_options=None, file=DESCRIPTOR),
176 ],
177 extensions=[
178 ],
179 nested_types=[],
180 enum_types=[
181 ],
182 serialized_options=None,
183 is_extendable=False,
184 syntax='proto3',
185 extension_ranges=[],
186 oneofs=[
187 ],
188 serialized_start=306,
189 serialized_end=444,
190)
191
192_USER.fields_by_name['linked_parent_ref'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
193_USER.fields_by_name['linked_child_refs'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
194_USERPROJECTS.fields_by_name['user_ref'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
195DESCRIPTOR.message_types_by_name['User'] = _USER
196DESCRIPTOR.message_types_by_name['UserPrefValue'] = _USERPREFVALUE
197DESCRIPTOR.message_types_by_name['UserProjects'] = _USERPROJECTS
198_sym_db.RegisterFileDescriptor(DESCRIPTOR)
199
200User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), dict(
201 DESCRIPTOR = _USER,
202 __module__ = 'api.api_proto.user_objects_pb2'
203 # @@protoc_insertion_point(class_scope:monorail.User)
204 ))
205_sym_db.RegisterMessage(User)
206
207UserPrefValue = _reflection.GeneratedProtocolMessageType('UserPrefValue', (_message.Message,), dict(
208 DESCRIPTOR = _USERPREFVALUE,
209 __module__ = 'api.api_proto.user_objects_pb2'
210 # @@protoc_insertion_point(class_scope:monorail.UserPrefValue)
211 ))
212_sym_db.RegisterMessage(UserPrefValue)
213
214UserProjects = _reflection.GeneratedProtocolMessageType('UserProjects', (_message.Message,), dict(
215 DESCRIPTOR = _USERPROJECTS,
216 __module__ = 'api.api_proto.user_objects_pb2'
217 # @@protoc_insertion_point(class_scope:monorail.UserProjects)
218 ))
219_sym_db.RegisterMessage(UserProjects)
220
221
222# @@protoc_insertion_point(module_scope)