blob: 407196e7c183903dc551c89d7be24068e65ebe06 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: api/v3/api_proto/user_objects.proto
Adrià Vilanova Martínezf5e10392021-12-07 22:55:40 +01004"""Generated protocol buffer code."""
Copybara854996b2021-09-07 19:36:02 +00005from google.protobuf import descriptor as _descriptor
6from google.protobuf import message as _message
7from google.protobuf import reflection as _reflection
8from google.protobuf import symbol_database as _symbol_database
9# @@protoc_insertion_point(imports)
10
11_sym_db = _symbol_database.Default()
12
13
14from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
15from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
16
17
18DESCRIPTOR = _descriptor.FileDescriptor(
19 name='api/v3/api_proto/user_objects.proto',
20 package='monorail.v3',
21 syntax='proto3',
22 serialized_options=b'Z\020api/v3/api_proto',
23 create_key=_descriptor._internal_create_key,
24 serialized_pb=b'\n#api/v3/api_proto/user_objects.proto\x12\x0bmonorail.v3\x1a\x19google/api/resource.proto\x1a\x1fgoogle/api/field_behavior.proto\"\x86\x01\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x12\n\x05\x65mail\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x14\x61vailability_message\x18\x03 \x01(\t:(\xea\x41%\n\x12\x61pi.crbug.com/User\x12\x0fusers/{user_id}\"\x9a\t\n\x0cUserSettings\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x61pi.crbug.com/UserSettings\x12:\n\tsite_role\x18\x02 \x01(\x0e\x32\".monorail.v3.UserSettings.SiteRoleB\x03\xe0\x41\x03\x12:\n\x16linked_secondary_users\x18\x03 \x03(\tB\x1a\xfa\x41\x14\n\x12\x61pi.crbug.com/User\xe0\x41\x03\x12>\n\x0bsite_access\x18\x04 \x01(\x0b\x32$.monorail.v3.UserSettings.SiteAccessB\x03\xe0\x41\x03\x12I\n\x13notification_traits\x18\x05 \x03(\x0e\x32,.monorail.v3.UserSettings.NotificationTraits\x12?\n\x0eprivacy_traits\x18\x06 \x03(\x0e\x32\'.monorail.v3.UserSettings.PrivacyTraits\x12P\n\x17site_interaction_traits\x18\x07 \x03(\x0e\x32/.monorail.v3.UserSettings.SiteInteractionTraits\x1a\x98\x01\n\nSiteAccess\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.monorail.v3.UserSettings.SiteAccess.Status\x12\x0e\n\x06reason\x18\x02 \x01(\t\"=\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x46ULL_ACCESS\x10\x01\x12\n\n\x06\x42\x41NNED\x10\x02\"<\n\x08SiteRole\x12\x19\n\x15SITE_ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\t\n\x05\x41\x44MIN\x10\x02\"\xea\x01\n\x12NotificationTraits\x12#\n\x1fNOTIFICATION_TRAITS_UNSPECIFIED\x10\x00\x12\'\n#NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES\x10\x01\x12#\n\x1fNOTIFY_ON_STARRED_ISSUE_CHANGES\x10\x02\x12\"\n\x1eNOTIFY_ON_STARRED_NOTIFY_DATES\x10\x03\x12\x18\n\x14\x43OMPACT_SUBJECT_LINE\x10\x04\x12#\n\x1fGMAIL_INCLUDE_ISSUE_LINK_BUTTON\x10\x05\"B\n\rPrivacyTraits\x12\x1e\n\x1aPRIVACY_TRAITS_UNSPECIFIED\x10\x00\x12\x11\n\rOBSCURE_EMAIL\x10\x01\"\x81\x01\n\x15SiteInteractionTraits\x12\'\n#SITE_INTERACTION_TRAITS_UNSPECIFIED\x10\x00\x12&\n\"REPORT_RESTRICT_VIEW_GOOGLE_ISSUES\x10\x01\x12\x17\n\x13PUBLIC_ISSUE_BANNER\x10\x02:7\xea\x41\x34\n\x1a\x61pi.crbug.com/UserSettings\x12\x16usersettings/{user_id}\"\xf4\x02\n\x0eUserSavedQuery\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\r\n\x05query\x18\x03 \x01(\t\x12,\n\x08projects\x18\x04 \x03(\tB\x1a\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12G\n\x11subscription_mode\x18\x05 \x01(\x0e\x32,.monorail.v3.UserSavedQuery.SubscriptionMode\"f\n\x10SubscriptionMode\x12!\n\x1dSUBSCRIPTION_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fNO_NOTIFICATION\x10\x01\x12\x1a\n\x16IMMEDIATE_NOTIFICATION\x10\x02:P\xea\x41M\n\x1c\x61pi.crbug.com/UserSavedQuery\x12-users/{user_id}/savedQueries/{saved_query_id}\"h\n\x0bProjectStar\x12\x0c\n\x04name\x18\x01 \x01(\t:K\xea\x41H\n\x19\x61pi.crbug.com/ProjectStar\x12+users/{user_id}/projectStars/{project_name}B\x12Z\x10\x61pi/v3/api_protob\x06proto3'
25 ,
26 dependencies=[google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,])
27
28
29
30_USERSETTINGS_SITEACCESS_STATUS = _descriptor.EnumDescriptor(
31 name='Status',
32 full_name='monorail.v3.UserSettings.SiteAccess.Status',
33 filename=None,
34 file=DESCRIPTOR,
35 create_key=_descriptor._internal_create_key,
36 values=[
37 _descriptor.EnumValueDescriptor(
38 name='STATUS_UNSPECIFIED', index=0, number=0,
39 serialized_options=None,
40 type=None,
41 create_key=_descriptor._internal_create_key),
42 _descriptor.EnumValueDescriptor(
43 name='FULL_ACCESS', index=1, number=1,
44 serialized_options=None,
45 type=None,
46 create_key=_descriptor._internal_create_key),
47 _descriptor.EnumValueDescriptor(
48 name='BANNED', index=2, number=2,
49 serialized_options=None,
50 type=None,
51 create_key=_descriptor._internal_create_key),
52 ],
53 containing_type=None,
54 serialized_options=None,
55 serialized_start=811,
56 serialized_end=872,
57)
58_sym_db.RegisterEnumDescriptor(_USERSETTINGS_SITEACCESS_STATUS)
59
60_USERSETTINGS_SITEROLE = _descriptor.EnumDescriptor(
61 name='SiteRole',
62 full_name='monorail.v3.UserSettings.SiteRole',
63 filename=None,
64 file=DESCRIPTOR,
65 create_key=_descriptor._internal_create_key,
66 values=[
67 _descriptor.EnumValueDescriptor(
68 name='SITE_ROLE_UNSPECIFIED', index=0, number=0,
69 serialized_options=None,
70 type=None,
71 create_key=_descriptor._internal_create_key),
72 _descriptor.EnumValueDescriptor(
73 name='NORMAL', index=1, number=1,
74 serialized_options=None,
75 type=None,
76 create_key=_descriptor._internal_create_key),
77 _descriptor.EnumValueDescriptor(
78 name='ADMIN', index=2, number=2,
79 serialized_options=None,
80 type=None,
81 create_key=_descriptor._internal_create_key),
82 ],
83 containing_type=None,
84 serialized_options=None,
85 serialized_start=874,
86 serialized_end=934,
87)
88_sym_db.RegisterEnumDescriptor(_USERSETTINGS_SITEROLE)
89
90_USERSETTINGS_NOTIFICATIONTRAITS = _descriptor.EnumDescriptor(
91 name='NotificationTraits',
92 full_name='monorail.v3.UserSettings.NotificationTraits',
93 filename=None,
94 file=DESCRIPTOR,
95 create_key=_descriptor._internal_create_key,
96 values=[
97 _descriptor.EnumValueDescriptor(
98 name='NOTIFICATION_TRAITS_UNSPECIFIED', index=0, number=0,
99 serialized_options=None,
100 type=None,
101 create_key=_descriptor._internal_create_key),
102 _descriptor.EnumValueDescriptor(
103 name='NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES', index=1, number=1,
104 serialized_options=None,
105 type=None,
106 create_key=_descriptor._internal_create_key),
107 _descriptor.EnumValueDescriptor(
108 name='NOTIFY_ON_STARRED_ISSUE_CHANGES', index=2, number=2,
109 serialized_options=None,
110 type=None,
111 create_key=_descriptor._internal_create_key),
112 _descriptor.EnumValueDescriptor(
113 name='NOTIFY_ON_STARRED_NOTIFY_DATES', index=3, number=3,
114 serialized_options=None,
115 type=None,
116 create_key=_descriptor._internal_create_key),
117 _descriptor.EnumValueDescriptor(
118 name='COMPACT_SUBJECT_LINE', index=4, number=4,
119 serialized_options=None,
120 type=None,
121 create_key=_descriptor._internal_create_key),
122 _descriptor.EnumValueDescriptor(
123 name='GMAIL_INCLUDE_ISSUE_LINK_BUTTON', index=5, number=5,
124 serialized_options=None,
125 type=None,
126 create_key=_descriptor._internal_create_key),
127 ],
128 containing_type=None,
129 serialized_options=None,
130 serialized_start=937,
131 serialized_end=1171,
132)
133_sym_db.RegisterEnumDescriptor(_USERSETTINGS_NOTIFICATIONTRAITS)
134
135_USERSETTINGS_PRIVACYTRAITS = _descriptor.EnumDescriptor(
136 name='PrivacyTraits',
137 full_name='monorail.v3.UserSettings.PrivacyTraits',
138 filename=None,
139 file=DESCRIPTOR,
140 create_key=_descriptor._internal_create_key,
141 values=[
142 _descriptor.EnumValueDescriptor(
143 name='PRIVACY_TRAITS_UNSPECIFIED', index=0, number=0,
144 serialized_options=None,
145 type=None,
146 create_key=_descriptor._internal_create_key),
147 _descriptor.EnumValueDescriptor(
148 name='OBSCURE_EMAIL', index=1, number=1,
149 serialized_options=None,
150 type=None,
151 create_key=_descriptor._internal_create_key),
152 ],
153 containing_type=None,
154 serialized_options=None,
155 serialized_start=1173,
156 serialized_end=1239,
157)
158_sym_db.RegisterEnumDescriptor(_USERSETTINGS_PRIVACYTRAITS)
159
160_USERSETTINGS_SITEINTERACTIONTRAITS = _descriptor.EnumDescriptor(
161 name='SiteInteractionTraits',
162 full_name='monorail.v3.UserSettings.SiteInteractionTraits',
163 filename=None,
164 file=DESCRIPTOR,
165 create_key=_descriptor._internal_create_key,
166 values=[
167 _descriptor.EnumValueDescriptor(
168 name='SITE_INTERACTION_TRAITS_UNSPECIFIED', index=0, number=0,
169 serialized_options=None,
170 type=None,
171 create_key=_descriptor._internal_create_key),
172 _descriptor.EnumValueDescriptor(
173 name='REPORT_RESTRICT_VIEW_GOOGLE_ISSUES', index=1, number=1,
174 serialized_options=None,
175 type=None,
176 create_key=_descriptor._internal_create_key),
177 _descriptor.EnumValueDescriptor(
178 name='PUBLIC_ISSUE_BANNER', index=2, number=2,
179 serialized_options=None,
180 type=None,
181 create_key=_descriptor._internal_create_key),
182 ],
183 containing_type=None,
184 serialized_options=None,
185 serialized_start=1242,
186 serialized_end=1371,
187)
188_sym_db.RegisterEnumDescriptor(_USERSETTINGS_SITEINTERACTIONTRAITS)
189
190_USERSAVEDQUERY_SUBSCRIPTIONMODE = _descriptor.EnumDescriptor(
191 name='SubscriptionMode',
192 full_name='monorail.v3.UserSavedQuery.SubscriptionMode',
193 filename=None,
194 file=DESCRIPTOR,
195 create_key=_descriptor._internal_create_key,
196 values=[
197 _descriptor.EnumValueDescriptor(
198 name='SUBSCRIPTION_MODE_UNSPECIFIED', index=0, number=0,
199 serialized_options=None,
200 type=None,
201 create_key=_descriptor._internal_create_key),
202 _descriptor.EnumValueDescriptor(
203 name='NO_NOTIFICATION', index=1, number=1,
204 serialized_options=None,
205 type=None,
206 create_key=_descriptor._internal_create_key),
207 _descriptor.EnumValueDescriptor(
208 name='IMMEDIATE_NOTIFICATION', index=2, number=2,
209 serialized_options=None,
210 type=None,
211 create_key=_descriptor._internal_create_key),
212 ],
213 containing_type=None,
214 serialized_options=None,
215 serialized_start=1619,
216 serialized_end=1721,
217)
218_sym_db.RegisterEnumDescriptor(_USERSAVEDQUERY_SUBSCRIPTIONMODE)
219
220
221_USER = _descriptor.Descriptor(
222 name='User',
223 full_name='monorail.v3.User',
224 filename=None,
225 file=DESCRIPTOR,
226 containing_type=None,
227 create_key=_descriptor._internal_create_key,
228 fields=[
229 _descriptor.FieldDescriptor(
230 name='name', full_name='monorail.v3.User.name', index=0,
231 number=1, type=9, cpp_type=9, label=1,
232 has_default_value=False, default_value=b"".decode('utf-8'),
233 message_type=None, enum_type=None, containing_type=None,
234 is_extension=False, extension_scope=None,
235 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
236 _descriptor.FieldDescriptor(
237 name='display_name', full_name='monorail.v3.User.display_name', index=1,
238 number=2, type=9, cpp_type=9, label=1,
239 has_default_value=False, default_value=b"".decode('utf-8'),
240 message_type=None, enum_type=None, containing_type=None,
241 is_extension=False, extension_scope=None,
242 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
243 _descriptor.FieldDescriptor(
244 name='email', full_name='monorail.v3.User.email', index=2,
245 number=4, type=9, cpp_type=9, label=1,
246 has_default_value=False, default_value=b"".decode('utf-8'),
247 message_type=None, enum_type=None, containing_type=None,
248 is_extension=False, extension_scope=None,
249 serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
250 _descriptor.FieldDescriptor(
251 name='availability_message', full_name='monorail.v3.User.availability_message', index=3,
252 number=3, type=9, cpp_type=9, label=1,
253 has_default_value=False, default_value=b"".decode('utf-8'),
254 message_type=None, enum_type=None, containing_type=None,
255 is_extension=False, extension_scope=None,
256 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
257 ],
258 extensions=[
259 ],
260 nested_types=[],
261 enum_types=[
262 ],
263 serialized_options=b'\352A%\n\022api.crbug.com/User\022\017users/{user_id}',
264 is_extendable=False,
265 syntax='proto3',
266 extension_ranges=[],
267 oneofs=[
268 ],
269 serialized_start=113,
270 serialized_end=247,
271)
272
273
274_USERSETTINGS_SITEACCESS = _descriptor.Descriptor(
275 name='SiteAccess',
276 full_name='monorail.v3.UserSettings.SiteAccess',
277 filename=None,
278 file=DESCRIPTOR,
279 containing_type=None,
280 create_key=_descriptor._internal_create_key,
281 fields=[
282 _descriptor.FieldDescriptor(
283 name='status', full_name='monorail.v3.UserSettings.SiteAccess.status', index=0,
284 number=1, type=14, cpp_type=8, label=1,
285 has_default_value=False, default_value=0,
286 message_type=None, enum_type=None, containing_type=None,
287 is_extension=False, extension_scope=None,
288 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
289 _descriptor.FieldDescriptor(
290 name='reason', full_name='monorail.v3.UserSettings.SiteAccess.reason', index=1,
291 number=2, type=9, cpp_type=9, label=1,
292 has_default_value=False, default_value=b"".decode('utf-8'),
293 message_type=None, enum_type=None, containing_type=None,
294 is_extension=False, extension_scope=None,
295 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
296 ],
297 extensions=[
298 ],
299 nested_types=[],
300 enum_types=[
301 _USERSETTINGS_SITEACCESS_STATUS,
302 ],
303 serialized_options=None,
304 is_extendable=False,
305 syntax='proto3',
306 extension_ranges=[],
307 oneofs=[
308 ],
309 serialized_start=720,
310 serialized_end=872,
311)
312
313_USERSETTINGS = _descriptor.Descriptor(
314 name='UserSettings',
315 full_name='monorail.v3.UserSettings',
316 filename=None,
317 file=DESCRIPTOR,
318 containing_type=None,
319 create_key=_descriptor._internal_create_key,
320 fields=[
321 _descriptor.FieldDescriptor(
322 name='name', full_name='monorail.v3.UserSettings.name', index=0,
323 number=1, type=9, cpp_type=9, label=1,
324 has_default_value=False, default_value=b"".decode('utf-8'),
325 message_type=None, enum_type=None, containing_type=None,
326 is_extension=False, extension_scope=None,
327 serialized_options=b'\372A\034\n\032api.crbug.com/UserSettings', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
328 _descriptor.FieldDescriptor(
329 name='site_role', full_name='monorail.v3.UserSettings.site_role', index=1,
330 number=2, type=14, cpp_type=8, label=1,
331 has_default_value=False, default_value=0,
332 message_type=None, enum_type=None, containing_type=None,
333 is_extension=False, extension_scope=None,
334 serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
335 _descriptor.FieldDescriptor(
336 name='linked_secondary_users', full_name='monorail.v3.UserSettings.linked_secondary_users', index=2,
337 number=3, type=9, cpp_type=9, label=3,
338 has_default_value=False, default_value=[],
339 message_type=None, enum_type=None, containing_type=None,
340 is_extension=False, extension_scope=None,
341 serialized_options=b'\372A\024\n\022api.crbug.com/User\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
342 _descriptor.FieldDescriptor(
343 name='site_access', full_name='monorail.v3.UserSettings.site_access', index=3,
344 number=4, type=11, cpp_type=10, label=1,
345 has_default_value=False, default_value=None,
346 message_type=None, enum_type=None, containing_type=None,
347 is_extension=False, extension_scope=None,
348 serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
349 _descriptor.FieldDescriptor(
350 name='notification_traits', full_name='monorail.v3.UserSettings.notification_traits', index=4,
351 number=5, type=14, cpp_type=8, label=3,
352 has_default_value=False, default_value=[],
353 message_type=None, enum_type=None, containing_type=None,
354 is_extension=False, extension_scope=None,
355 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
356 _descriptor.FieldDescriptor(
357 name='privacy_traits', full_name='monorail.v3.UserSettings.privacy_traits', index=5,
358 number=6, type=14, cpp_type=8, label=3,
359 has_default_value=False, default_value=[],
360 message_type=None, enum_type=None, containing_type=None,
361 is_extension=False, extension_scope=None,
362 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
363 _descriptor.FieldDescriptor(
364 name='site_interaction_traits', full_name='monorail.v3.UserSettings.site_interaction_traits', index=6,
365 number=7, type=14, cpp_type=8, label=3,
366 has_default_value=False, default_value=[],
367 message_type=None, enum_type=None, containing_type=None,
368 is_extension=False, extension_scope=None,
369 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
370 ],
371 extensions=[
372 ],
373 nested_types=[_USERSETTINGS_SITEACCESS, ],
374 enum_types=[
375 _USERSETTINGS_SITEROLE,
376 _USERSETTINGS_NOTIFICATIONTRAITS,
377 _USERSETTINGS_PRIVACYTRAITS,
378 _USERSETTINGS_SITEINTERACTIONTRAITS,
379 ],
380 serialized_options=b'\352A4\n\032api.crbug.com/UserSettings\022\026usersettings/{user_id}',
381 is_extendable=False,
382 syntax='proto3',
383 extension_ranges=[],
384 oneofs=[
385 ],
386 serialized_start=250,
387 serialized_end=1428,
388)
389
390
391_USERSAVEDQUERY = _descriptor.Descriptor(
392 name='UserSavedQuery',
393 full_name='monorail.v3.UserSavedQuery',
394 filename=None,
395 file=DESCRIPTOR,
396 containing_type=None,
397 create_key=_descriptor._internal_create_key,
398 fields=[
399 _descriptor.FieldDescriptor(
400 name='name', full_name='monorail.v3.UserSavedQuery.name', index=0,
401 number=1, type=9, cpp_type=9, label=1,
402 has_default_value=False, default_value=b"".decode('utf-8'),
403 message_type=None, enum_type=None, containing_type=None,
404 is_extension=False, extension_scope=None,
405 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
406 _descriptor.FieldDescriptor(
407 name='display_name', full_name='monorail.v3.UserSavedQuery.display_name', index=1,
408 number=2, type=9, cpp_type=9, label=1,
409 has_default_value=False, default_value=b"".decode('utf-8'),
410 message_type=None, enum_type=None, containing_type=None,
411 is_extension=False, extension_scope=None,
412 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
413 _descriptor.FieldDescriptor(
414 name='query', full_name='monorail.v3.UserSavedQuery.query', index=2,
415 number=3, type=9, cpp_type=9, label=1,
416 has_default_value=False, default_value=b"".decode('utf-8'),
417 message_type=None, enum_type=None, containing_type=None,
418 is_extension=False, extension_scope=None,
419 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
420 _descriptor.FieldDescriptor(
421 name='projects', full_name='monorail.v3.UserSavedQuery.projects', index=3,
422 number=4, type=9, cpp_type=9, label=3,
423 has_default_value=False, default_value=[],
424 message_type=None, enum_type=None, containing_type=None,
425 is_extension=False, extension_scope=None,
426 serialized_options=b'\372A\027\n\025api.crbug.com/Project', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
427 _descriptor.FieldDescriptor(
428 name='subscription_mode', full_name='monorail.v3.UserSavedQuery.subscription_mode', index=4,
429 number=5, type=14, cpp_type=8, label=1,
430 has_default_value=False, default_value=0,
431 message_type=None, enum_type=None, containing_type=None,
432 is_extension=False, extension_scope=None,
433 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
434 ],
435 extensions=[
436 ],
437 nested_types=[],
438 enum_types=[
439 _USERSAVEDQUERY_SUBSCRIPTIONMODE,
440 ],
441 serialized_options=b'\352AM\n\034api.crbug.com/UserSavedQuery\022-users/{user_id}/savedQueries/{saved_query_id}',
442 is_extendable=False,
443 syntax='proto3',
444 extension_ranges=[],
445 oneofs=[
446 ],
447 serialized_start=1431,
448 serialized_end=1803,
449)
450
451
452_PROJECTSTAR = _descriptor.Descriptor(
453 name='ProjectStar',
454 full_name='monorail.v3.ProjectStar',
455 filename=None,
456 file=DESCRIPTOR,
457 containing_type=None,
458 create_key=_descriptor._internal_create_key,
459 fields=[
460 _descriptor.FieldDescriptor(
461 name='name', full_name='monorail.v3.ProjectStar.name', index=0,
462 number=1, type=9, cpp_type=9, label=1,
463 has_default_value=False, default_value=b"".decode('utf-8'),
464 message_type=None, enum_type=None, containing_type=None,
465 is_extension=False, extension_scope=None,
466 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
467 ],
468 extensions=[
469 ],
470 nested_types=[],
471 enum_types=[
472 ],
473 serialized_options=b'\352AH\n\031api.crbug.com/ProjectStar\022+users/{user_id}/projectStars/{project_name}',
474 is_extendable=False,
475 syntax='proto3',
476 extension_ranges=[],
477 oneofs=[
478 ],
479 serialized_start=1805,
480 serialized_end=1909,
481)
482
483_USERSETTINGS_SITEACCESS.fields_by_name['status'].enum_type = _USERSETTINGS_SITEACCESS_STATUS
484_USERSETTINGS_SITEACCESS.containing_type = _USERSETTINGS
485_USERSETTINGS_SITEACCESS_STATUS.containing_type = _USERSETTINGS_SITEACCESS
486_USERSETTINGS.fields_by_name['site_role'].enum_type = _USERSETTINGS_SITEROLE
487_USERSETTINGS.fields_by_name['site_access'].message_type = _USERSETTINGS_SITEACCESS
488_USERSETTINGS.fields_by_name['notification_traits'].enum_type = _USERSETTINGS_NOTIFICATIONTRAITS
489_USERSETTINGS.fields_by_name['privacy_traits'].enum_type = _USERSETTINGS_PRIVACYTRAITS
490_USERSETTINGS.fields_by_name['site_interaction_traits'].enum_type = _USERSETTINGS_SITEINTERACTIONTRAITS
491_USERSETTINGS_SITEROLE.containing_type = _USERSETTINGS
492_USERSETTINGS_NOTIFICATIONTRAITS.containing_type = _USERSETTINGS
493_USERSETTINGS_PRIVACYTRAITS.containing_type = _USERSETTINGS
494_USERSETTINGS_SITEINTERACTIONTRAITS.containing_type = _USERSETTINGS
495_USERSAVEDQUERY.fields_by_name['subscription_mode'].enum_type = _USERSAVEDQUERY_SUBSCRIPTIONMODE
496_USERSAVEDQUERY_SUBSCRIPTIONMODE.containing_type = _USERSAVEDQUERY
497DESCRIPTOR.message_types_by_name['User'] = _USER
498DESCRIPTOR.message_types_by_name['UserSettings'] = _USERSETTINGS
499DESCRIPTOR.message_types_by_name['UserSavedQuery'] = _USERSAVEDQUERY
500DESCRIPTOR.message_types_by_name['ProjectStar'] = _PROJECTSTAR
501_sym_db.RegisterFileDescriptor(DESCRIPTOR)
502
503User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), {
504 'DESCRIPTOR' : _USER,
505 '__module__' : 'api.v3.api_proto.user_objects_pb2'
506 # @@protoc_insertion_point(class_scope:monorail.v3.User)
507 })
508_sym_db.RegisterMessage(User)
509
510UserSettings = _reflection.GeneratedProtocolMessageType('UserSettings', (_message.Message,), {
511
512 'SiteAccess' : _reflection.GeneratedProtocolMessageType('SiteAccess', (_message.Message,), {
513 'DESCRIPTOR' : _USERSETTINGS_SITEACCESS,
514 '__module__' : 'api.v3.api_proto.user_objects_pb2'
515 # @@protoc_insertion_point(class_scope:monorail.v3.UserSettings.SiteAccess)
516 })
517 ,
518 'DESCRIPTOR' : _USERSETTINGS,
519 '__module__' : 'api.v3.api_proto.user_objects_pb2'
520 # @@protoc_insertion_point(class_scope:monorail.v3.UserSettings)
521 })
522_sym_db.RegisterMessage(UserSettings)
523_sym_db.RegisterMessage(UserSettings.SiteAccess)
524
525UserSavedQuery = _reflection.GeneratedProtocolMessageType('UserSavedQuery', (_message.Message,), {
526 'DESCRIPTOR' : _USERSAVEDQUERY,
527 '__module__' : 'api.v3.api_proto.user_objects_pb2'
528 # @@protoc_insertion_point(class_scope:monorail.v3.UserSavedQuery)
529 })
530_sym_db.RegisterMessage(UserSavedQuery)
531
532ProjectStar = _reflection.GeneratedProtocolMessageType('ProjectStar', (_message.Message,), {
533 'DESCRIPTOR' : _PROJECTSTAR,
534 '__module__' : 'api.v3.api_proto.user_objects_pb2'
535 # @@protoc_insertion_point(class_scope:monorail.v3.ProjectStar)
536 })
537_sym_db.RegisterMessage(ProjectStar)
538
539
540DESCRIPTOR._options = None
541_USER.fields_by_name['email']._options = None
542_USER._options = None
543_USERSETTINGS.fields_by_name['name']._options = None
544_USERSETTINGS.fields_by_name['site_role']._options = None
545_USERSETTINGS.fields_by_name['linked_secondary_users']._options = None
546_USERSETTINGS.fields_by_name['site_access']._options = None
547_USERSETTINGS._options = None
548_USERSAVEDQUERY.fields_by_name['projects']._options = None
549_USERSAVEDQUERY._options = None
550_PROJECTSTAR._options = None
551# @@protoc_insertion_point(module_scope)