blob: 2491ce3defa5714897030217787e79aded848906 [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/frontend.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 field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
15from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
16from api.v3.api_proto import project_objects_pb2 as api_dot_v3_dot_api__proto_dot_project__objects__pb2
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20 name='api/v3/api_proto/frontend.proto',
21 package='monorail.v3',
22 syntax='proto3',
23 serialized_options=b'Z\020api/v3/api_proto',
24 create_key=_descriptor._internal_create_key,
25 serialized_pb=b'\n\x1f\x61pi/v3/api_proto/frontend.proto\x12\x0bmonorail.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&api/v3/api_proto/project_objects.proto\"P\n\x1fGatherProjectEnvironmentRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\"\x99\x03\n GatherProjectEnvironmentResponse\x12%\n\x07project\x18\x01 \x01(\x0b\x32\x14.monorail.v3.Project\x12\x32\n\x0eproject_config\x18\x02 \x01(\x0b\x32\x1a.monorail.v3.ProjectConfig\x12(\n\x08statuses\x18\x03 \x03(\x0b\x32\x16.monorail.v3.StatusDef\x12\x30\n\x11well_known_labels\x18\x04 \x03(\x0b\x32\x15.monorail.v3.LabelDef\x12-\n\ncomponents\x18\x05 \x03(\x0b\x32\x19.monorail.v3.ComponentDef\x12%\n\x06\x66ields\x18\x06 \x03(\x0b\x32\x15.monorail.v3.FieldDef\x12\x31\n\x0f\x61pproval_fields\x18\x07 \x03(\x0b\x32\x18.monorail.v3.ApprovalDef\x12\x35\n\rsaved_queries\x18\x08 \x03(\x0b\x32\x1e.monorail.v3.ProjectSavedQuery\"O\n&GatherProjectMembershipsForUserRequest\x12%\n\x04user\x18\x01 \x01(\tB\x17\xfa\x41\x14\n\x12\x61pi.crbug.com/User\"b\n\'GatherProjectMembershipsForUserResponse\x12\x37\n\x13project_memberships\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.ProjectMember2\x96\x02\n\x08\x46rontend\x12y\n\x18GatherProjectEnvironment\x12,.monorail.v3.GatherProjectEnvironmentRequest\x1a-.monorail.v3.GatherProjectEnvironmentResponse\"\x00\x12\x8e\x01\n\x1fGatherProjectMembershipsForUser\x12\x33.monorail.v3.GatherProjectMembershipsForUserRequest\x1a\x34.monorail.v3.GatherProjectMembershipsForUserResponse\"\x00\x42\x12Z\x10\x61pi/v3/api_protob\x06proto3'
26 ,
27 dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,api_dot_v3_dot_api__proto_dot_project__objects__pb2.DESCRIPTOR,])
28
29
30
31
32_GATHERPROJECTENVIRONMENTREQUEST = _descriptor.Descriptor(
33 name='GatherProjectEnvironmentRequest',
34 full_name='monorail.v3.GatherProjectEnvironmentRequest',
35 filename=None,
36 file=DESCRIPTOR,
37 containing_type=None,
38 create_key=_descriptor._internal_create_key,
39 fields=[
40 _descriptor.FieldDescriptor(
41 name='parent', full_name='monorail.v3.GatherProjectEnvironmentRequest.parent', index=0,
42 number=1, type=9, cpp_type=9, label=1,
43 has_default_value=False, default_value=b"".decode('utf-8'),
44 message_type=None, enum_type=None, containing_type=None,
45 is_extension=False, extension_scope=None,
46 serialized_options=b'\372A\027\n\025api.crbug.com/Project\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
47 ],
48 extensions=[
49 ],
50 nested_types=[],
51 enum_types=[
52 ],
53 serialized_options=None,
54 is_extendable=False,
55 syntax='proto3',
56 extension_ranges=[],
57 oneofs=[
58 ],
59 serialized_start=148,
60 serialized_end=228,
61)
62
63
64_GATHERPROJECTENVIRONMENTRESPONSE = _descriptor.Descriptor(
65 name='GatherProjectEnvironmentResponse',
66 full_name='monorail.v3.GatherProjectEnvironmentResponse',
67 filename=None,
68 file=DESCRIPTOR,
69 containing_type=None,
70 create_key=_descriptor._internal_create_key,
71 fields=[
72 _descriptor.FieldDescriptor(
73 name='project', full_name='monorail.v3.GatherProjectEnvironmentResponse.project', index=0,
74 number=1, type=11, cpp_type=10, label=1,
75 has_default_value=False, default_value=None,
76 message_type=None, enum_type=None, containing_type=None,
77 is_extension=False, extension_scope=None,
78 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
79 _descriptor.FieldDescriptor(
80 name='project_config', full_name='monorail.v3.GatherProjectEnvironmentResponse.project_config', index=1,
81 number=2, type=11, cpp_type=10, label=1,
82 has_default_value=False, default_value=None,
83 message_type=None, enum_type=None, containing_type=None,
84 is_extension=False, extension_scope=None,
85 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
86 _descriptor.FieldDescriptor(
87 name='statuses', full_name='monorail.v3.GatherProjectEnvironmentResponse.statuses', index=2,
88 number=3, type=11, cpp_type=10, label=3,
89 has_default_value=False, default_value=[],
90 message_type=None, enum_type=None, containing_type=None,
91 is_extension=False, extension_scope=None,
92 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
93 _descriptor.FieldDescriptor(
94 name='well_known_labels', full_name='monorail.v3.GatherProjectEnvironmentResponse.well_known_labels', index=3,
95 number=4, type=11, cpp_type=10, label=3,
96 has_default_value=False, default_value=[],
97 message_type=None, enum_type=None, containing_type=None,
98 is_extension=False, extension_scope=None,
99 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
100 _descriptor.FieldDescriptor(
101 name='components', full_name='monorail.v3.GatherProjectEnvironmentResponse.components', index=4,
102 number=5, type=11, cpp_type=10, label=3,
103 has_default_value=False, default_value=[],
104 message_type=None, enum_type=None, containing_type=None,
105 is_extension=False, extension_scope=None,
106 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
107 _descriptor.FieldDescriptor(
108 name='fields', full_name='monorail.v3.GatherProjectEnvironmentResponse.fields', index=5,
109 number=6, type=11, cpp_type=10, label=3,
110 has_default_value=False, default_value=[],
111 message_type=None, enum_type=None, containing_type=None,
112 is_extension=False, extension_scope=None,
113 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
114 _descriptor.FieldDescriptor(
115 name='approval_fields', full_name='monorail.v3.GatherProjectEnvironmentResponse.approval_fields', index=6,
116 number=7, type=11, cpp_type=10, label=3,
117 has_default_value=False, default_value=[],
118 message_type=None, enum_type=None, containing_type=None,
119 is_extension=False, extension_scope=None,
120 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
121 _descriptor.FieldDescriptor(
122 name='saved_queries', full_name='monorail.v3.GatherProjectEnvironmentResponse.saved_queries', index=7,
123 number=8, type=11, cpp_type=10, label=3,
124 has_default_value=False, default_value=[],
125 message_type=None, enum_type=None, containing_type=None,
126 is_extension=False, extension_scope=None,
127 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
128 ],
129 extensions=[
130 ],
131 nested_types=[],
132 enum_types=[
133 ],
134 serialized_options=None,
135 is_extendable=False,
136 syntax='proto3',
137 extension_ranges=[],
138 oneofs=[
139 ],
140 serialized_start=231,
141 serialized_end=640,
142)
143
144
145_GATHERPROJECTMEMBERSHIPSFORUSERREQUEST = _descriptor.Descriptor(
146 name='GatherProjectMembershipsForUserRequest',
147 full_name='monorail.v3.GatherProjectMembershipsForUserRequest',
148 filename=None,
149 file=DESCRIPTOR,
150 containing_type=None,
151 create_key=_descriptor._internal_create_key,
152 fields=[
153 _descriptor.FieldDescriptor(
154 name='user', full_name='monorail.v3.GatherProjectMembershipsForUserRequest.user', index=0,
155 number=1, type=9, cpp_type=9, label=1,
156 has_default_value=False, default_value=b"".decode('utf-8'),
157 message_type=None, enum_type=None, containing_type=None,
158 is_extension=False, extension_scope=None,
159 serialized_options=b'\372A\024\n\022api.crbug.com/User', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
160 ],
161 extensions=[
162 ],
163 nested_types=[],
164 enum_types=[
165 ],
166 serialized_options=None,
167 is_extendable=False,
168 syntax='proto3',
169 extension_ranges=[],
170 oneofs=[
171 ],
172 serialized_start=642,
173 serialized_end=721,
174)
175
176
177_GATHERPROJECTMEMBERSHIPSFORUSERRESPONSE = _descriptor.Descriptor(
178 name='GatherProjectMembershipsForUserResponse',
179 full_name='monorail.v3.GatherProjectMembershipsForUserResponse',
180 filename=None,
181 file=DESCRIPTOR,
182 containing_type=None,
183 create_key=_descriptor._internal_create_key,
184 fields=[
185 _descriptor.FieldDescriptor(
186 name='project_memberships', full_name='monorail.v3.GatherProjectMembershipsForUserResponse.project_memberships', index=0,
187 number=1, type=11, cpp_type=10, label=3,
188 has_default_value=False, default_value=[],
189 message_type=None, enum_type=None, containing_type=None,
190 is_extension=False, extension_scope=None,
191 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
192 ],
193 extensions=[
194 ],
195 nested_types=[],
196 enum_types=[
197 ],
198 serialized_options=None,
199 is_extendable=False,
200 syntax='proto3',
201 extension_ranges=[],
202 oneofs=[
203 ],
204 serialized_start=723,
205 serialized_end=821,
206)
207
208_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['project'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._PROJECT
209_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['project_config'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._PROJECTCONFIG
210_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['statuses'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._STATUSDEF
211_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['well_known_labels'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._LABELDEF
212_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['components'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF
213_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['fields'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._FIELDDEF
214_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['approval_fields'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._APPROVALDEF
215_GATHERPROJECTENVIRONMENTRESPONSE.fields_by_name['saved_queries'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._PROJECTSAVEDQUERY
216_GATHERPROJECTMEMBERSHIPSFORUSERRESPONSE.fields_by_name['project_memberships'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._PROJECTMEMBER
217DESCRIPTOR.message_types_by_name['GatherProjectEnvironmentRequest'] = _GATHERPROJECTENVIRONMENTREQUEST
218DESCRIPTOR.message_types_by_name['GatherProjectEnvironmentResponse'] = _GATHERPROJECTENVIRONMENTRESPONSE
219DESCRIPTOR.message_types_by_name['GatherProjectMembershipsForUserRequest'] = _GATHERPROJECTMEMBERSHIPSFORUSERREQUEST
220DESCRIPTOR.message_types_by_name['GatherProjectMembershipsForUserResponse'] = _GATHERPROJECTMEMBERSHIPSFORUSERRESPONSE
221_sym_db.RegisterFileDescriptor(DESCRIPTOR)
222
223GatherProjectEnvironmentRequest = _reflection.GeneratedProtocolMessageType('GatherProjectEnvironmentRequest', (_message.Message,), {
224 'DESCRIPTOR' : _GATHERPROJECTENVIRONMENTREQUEST,
225 '__module__' : 'api.v3.api_proto.frontend_pb2'
226 # @@protoc_insertion_point(class_scope:monorail.v3.GatherProjectEnvironmentRequest)
227 })
228_sym_db.RegisterMessage(GatherProjectEnvironmentRequest)
229
230GatherProjectEnvironmentResponse = _reflection.GeneratedProtocolMessageType('GatherProjectEnvironmentResponse', (_message.Message,), {
231 'DESCRIPTOR' : _GATHERPROJECTENVIRONMENTRESPONSE,
232 '__module__' : 'api.v3.api_proto.frontend_pb2'
233 # @@protoc_insertion_point(class_scope:monorail.v3.GatherProjectEnvironmentResponse)
234 })
235_sym_db.RegisterMessage(GatherProjectEnvironmentResponse)
236
237GatherProjectMembershipsForUserRequest = _reflection.GeneratedProtocolMessageType('GatherProjectMembershipsForUserRequest', (_message.Message,), {
238 'DESCRIPTOR' : _GATHERPROJECTMEMBERSHIPSFORUSERREQUEST,
239 '__module__' : 'api.v3.api_proto.frontend_pb2'
240 # @@protoc_insertion_point(class_scope:monorail.v3.GatherProjectMembershipsForUserRequest)
241 })
242_sym_db.RegisterMessage(GatherProjectMembershipsForUserRequest)
243
244GatherProjectMembershipsForUserResponse = _reflection.GeneratedProtocolMessageType('GatherProjectMembershipsForUserResponse', (_message.Message,), {
245 'DESCRIPTOR' : _GATHERPROJECTMEMBERSHIPSFORUSERRESPONSE,
246 '__module__' : 'api.v3.api_proto.frontend_pb2'
247 # @@protoc_insertion_point(class_scope:monorail.v3.GatherProjectMembershipsForUserResponse)
248 })
249_sym_db.RegisterMessage(GatherProjectMembershipsForUserResponse)
250
251
252DESCRIPTOR._options = None
253_GATHERPROJECTENVIRONMENTREQUEST.fields_by_name['parent']._options = None
254_GATHERPROJECTMEMBERSHIPSFORUSERREQUEST.fields_by_name['user']._options = None
255
256_FRONTEND = _descriptor.ServiceDescriptor(
257 name='Frontend',
258 full_name='monorail.v3.Frontend',
259 file=DESCRIPTOR,
260 index=0,
261 serialized_options=None,
262 create_key=_descriptor._internal_create_key,
263 serialized_start=824,
264 serialized_end=1102,
265 methods=[
266 _descriptor.MethodDescriptor(
267 name='GatherProjectEnvironment',
268 full_name='monorail.v3.Frontend.GatherProjectEnvironment',
269 index=0,
270 containing_service=None,
271 input_type=_GATHERPROJECTENVIRONMENTREQUEST,
272 output_type=_GATHERPROJECTENVIRONMENTRESPONSE,
273 serialized_options=None,
274 create_key=_descriptor._internal_create_key,
275 ),
276 _descriptor.MethodDescriptor(
277 name='GatherProjectMembershipsForUser',
278 full_name='monorail.v3.Frontend.GatherProjectMembershipsForUser',
279 index=1,
280 containing_service=None,
281 input_type=_GATHERPROJECTMEMBERSHIPSFORUSERREQUEST,
282 output_type=_GATHERPROJECTMEMBERSHIPSFORUSERRESPONSE,
283 serialized_options=None,
284 create_key=_descriptor._internal_create_key,
285 ),
286])
287_sym_db.RegisterServiceDescriptor(_FRONTEND)
288
289DESCRIPTOR.services_by_name['Frontend'] = _FRONTEND
290
291# @@protoc_insertion_point(module_scope)