Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: api/v3/api_proto/projects.proto |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 4 | """Generated protocol buffer code.""" |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 5 | from google.protobuf import descriptor as _descriptor |
| 6 | from google.protobuf import message as _message |
| 7 | from google.protobuf import reflection as _reflection |
| 8 | from google.protobuf import symbol_database as _symbol_database |
| 9 | # @@protoc_insertion_point(imports) |
| 10 | |
| 11 | _sym_db = _symbol_database.Default() |
| 12 | |
| 13 | |
| 14 | from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 |
| 15 | from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 |
| 16 | from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 |
| 17 | from api.v3.api_proto import project_objects_pb2 as api_dot_v3_dot_api__proto_dot_project__objects__pb2 |
| 18 | |
| 19 | |
| 20 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 21 | name='api/v3/api_proto/projects.proto', |
| 22 | package='monorail.v3', |
| 23 | syntax='proto3', |
| 24 | serialized_options=b'Z\020api/v3/api_proto', |
| 25 | create_key=_descriptor._internal_create_key, |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 26 | serialized_pb=b'\n\x1f\x61pi/v3/api_proto/projects.proto\x12\x0bmonorail.v3\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&api/v3/api_proto/project_objects.proto\"t\n\x15\x43reateFieldDefRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12,\n\x08\x66ielddef\x18\x02 \x01(\x0b\x32\x15.monorail.v3.FieldDefB\x03\xe0\x41\x02\"J\n\x16GetComponentDefRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1c\n\x1a\x61pi.crbug.com/ComponentDef\xe0\x41\x02\"\x81\x01\n\x19\x43reateComponentDefRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12\x35\n\rcomponent_def\x18\x02 \x01(\x0b\x32\x19.monorail.v3.ComponentDefB\x03\xe0\x41\x02\"M\n\x19\x44\x65leteComponentDefRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pi.crbug.com/ComponentDef\"q\n\x19ListIssueTemplatesRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"d\n\x1aListIssueTemplatesResponse\x12-\n\ttemplates\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.IssueTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"p\n\x18ListComponentDefsRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x19ListComponentDefsResponse\x12\x31\n\x0e\x63omponent_defs\x18\x01 \x03(\x0b\x32\x19.monorail.v3.ComponentDef\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"<\n\x13ListProjectsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"W\n\x14ListProjectsResponse\x12&\n\x08projects\x18\x01 \x03(\x0b\x32\x14.monorail.v3.Project\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x87\x05\n\x08Projects\x12M\n\x0e\x43reateFieldDef\x12\".monorail.v3.CreateFieldDefRequest\x1a\x15.monorail.v3.FieldDef\"\x00\x12S\n\x0fGetComponentDef\x12#.monorail.v3.GetComponentDefRequest\x1a\x19.monorail.v3.ComponentDef\"\x00\x12Y\n\x12\x43reateComponentDef\x12&.monorail.v3.CreateComponentDefRequest\x1a\x19.monorail.v3.ComponentDef\"\x00\x12V\n\x12\x44\x65leteComponentDef\x12&.monorail.v3.DeleteComponentDefRequest\x1a\x16.google.protobuf.Empty\"\x00\x12g\n\x12ListIssueTemplates\x12&.monorail.v3.ListIssueTemplatesRequest\x1a\'.monorail.v3.ListIssueTemplatesResponse\"\x00\x12\x64\n\x11ListComponentDefs\x12%.monorail.v3.ListComponentDefsRequest\x1a&.monorail.v3.ListComponentDefsResponse\"\x00\x12U\n\x0cListProjects\x12 .monorail.v3.ListProjectsRequest\x1a!.monorail.v3.ListProjectsResponse\"\x00\x42\x12Z\x10\x61pi/v3/api_protob\x06proto3' |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 27 | , |
| 28 | dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,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,]) |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | _CREATEFIELDDEFREQUEST = _descriptor.Descriptor( |
| 34 | name='CreateFieldDefRequest', |
| 35 | full_name='monorail.v3.CreateFieldDefRequest', |
| 36 | filename=None, |
| 37 | file=DESCRIPTOR, |
| 38 | containing_type=None, |
| 39 | create_key=_descriptor._internal_create_key, |
| 40 | fields=[ |
| 41 | _descriptor.FieldDescriptor( |
| 42 | name='parent', full_name='monorail.v3.CreateFieldDefRequest.parent', index=0, |
| 43 | number=1, type=9, cpp_type=9, label=1, |
| 44 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 45 | message_type=None, enum_type=None, containing_type=None, |
| 46 | is_extension=False, extension_scope=None, |
| 47 | serialized_options=b'\340A\002\372A\027\n\025api.crbug.com/Project', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 48 | _descriptor.FieldDescriptor( |
| 49 | name='fielddef', full_name='monorail.v3.CreateFieldDefRequest.fielddef', index=1, |
| 50 | number=2, type=11, cpp_type=10, label=1, |
| 51 | has_default_value=False, default_value=None, |
| 52 | message_type=None, enum_type=None, containing_type=None, |
| 53 | is_extension=False, extension_scope=None, |
| 54 | serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 55 | ], |
| 56 | extensions=[ |
| 57 | ], |
| 58 | nested_types=[], |
| 59 | enum_types=[ |
| 60 | ], |
| 61 | serialized_options=None, |
| 62 | is_extendable=False, |
| 63 | syntax='proto3', |
| 64 | extension_ranges=[], |
| 65 | oneofs=[ |
| 66 | ], |
| 67 | serialized_start=177, |
| 68 | serialized_end=293, |
| 69 | ) |
| 70 | |
| 71 | |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 72 | _GETCOMPONENTDEFREQUEST = _descriptor.Descriptor( |
| 73 | name='GetComponentDefRequest', |
| 74 | full_name='monorail.v3.GetComponentDefRequest', |
| 75 | filename=None, |
| 76 | file=DESCRIPTOR, |
| 77 | containing_type=None, |
| 78 | create_key=_descriptor._internal_create_key, |
| 79 | fields=[ |
| 80 | _descriptor.FieldDescriptor( |
| 81 | name='name', full_name='monorail.v3.GetComponentDefRequest.name', index=0, |
| 82 | number=1, type=9, cpp_type=9, label=1, |
| 83 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 84 | message_type=None, enum_type=None, containing_type=None, |
| 85 | is_extension=False, extension_scope=None, |
| 86 | serialized_options=b'\372A\034\n\032api.crbug.com/ComponentDef\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 87 | ], |
| 88 | extensions=[ |
| 89 | ], |
| 90 | nested_types=[], |
| 91 | enum_types=[ |
| 92 | ], |
| 93 | serialized_options=None, |
| 94 | is_extendable=False, |
| 95 | syntax='proto3', |
| 96 | extension_ranges=[], |
| 97 | oneofs=[ |
| 98 | ], |
| 99 | serialized_start=295, |
| 100 | serialized_end=369, |
| 101 | ) |
| 102 | |
| 103 | |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 104 | _CREATECOMPONENTDEFREQUEST = _descriptor.Descriptor( |
| 105 | name='CreateComponentDefRequest', |
| 106 | full_name='monorail.v3.CreateComponentDefRequest', |
| 107 | filename=None, |
| 108 | file=DESCRIPTOR, |
| 109 | containing_type=None, |
| 110 | create_key=_descriptor._internal_create_key, |
| 111 | fields=[ |
| 112 | _descriptor.FieldDescriptor( |
| 113 | name='parent', full_name='monorail.v3.CreateComponentDefRequest.parent', index=0, |
| 114 | number=1, type=9, cpp_type=9, label=1, |
| 115 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 116 | message_type=None, enum_type=None, containing_type=None, |
| 117 | is_extension=False, extension_scope=None, |
| 118 | serialized_options=b'\340A\002\372A\027\n\025api.crbug.com/Project', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 119 | _descriptor.FieldDescriptor( |
| 120 | name='component_def', full_name='monorail.v3.CreateComponentDefRequest.component_def', index=1, |
| 121 | number=2, type=11, cpp_type=10, label=1, |
| 122 | has_default_value=False, default_value=None, |
| 123 | message_type=None, enum_type=None, containing_type=None, |
| 124 | is_extension=False, extension_scope=None, |
| 125 | serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 126 | ], |
| 127 | extensions=[ |
| 128 | ], |
| 129 | nested_types=[], |
| 130 | enum_types=[ |
| 131 | ], |
| 132 | serialized_options=None, |
| 133 | is_extendable=False, |
| 134 | syntax='proto3', |
| 135 | extension_ranges=[], |
| 136 | oneofs=[ |
| 137 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 138 | serialized_start=372, |
| 139 | serialized_end=501, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 140 | ) |
| 141 | |
| 142 | |
| 143 | _DELETECOMPONENTDEFREQUEST = _descriptor.Descriptor( |
| 144 | name='DeleteComponentDefRequest', |
| 145 | full_name='monorail.v3.DeleteComponentDefRequest', |
| 146 | filename=None, |
| 147 | file=DESCRIPTOR, |
| 148 | containing_type=None, |
| 149 | create_key=_descriptor._internal_create_key, |
| 150 | fields=[ |
| 151 | _descriptor.FieldDescriptor( |
| 152 | name='name', full_name='monorail.v3.DeleteComponentDefRequest.name', index=0, |
| 153 | number=1, type=9, cpp_type=9, label=1, |
| 154 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 155 | message_type=None, enum_type=None, containing_type=None, |
| 156 | is_extension=False, extension_scope=None, |
| 157 | serialized_options=b'\340A\002\372A\034\n\032api.crbug.com/ComponentDef', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 158 | ], |
| 159 | extensions=[ |
| 160 | ], |
| 161 | nested_types=[], |
| 162 | enum_types=[ |
| 163 | ], |
| 164 | serialized_options=None, |
| 165 | is_extendable=False, |
| 166 | syntax='proto3', |
| 167 | extension_ranges=[], |
| 168 | oneofs=[ |
| 169 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 170 | serialized_start=503, |
| 171 | serialized_end=580, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 172 | ) |
| 173 | |
| 174 | |
| 175 | _LISTISSUETEMPLATESREQUEST = _descriptor.Descriptor( |
| 176 | name='ListIssueTemplatesRequest', |
| 177 | full_name='monorail.v3.ListIssueTemplatesRequest', |
| 178 | filename=None, |
| 179 | file=DESCRIPTOR, |
| 180 | containing_type=None, |
| 181 | create_key=_descriptor._internal_create_key, |
| 182 | fields=[ |
| 183 | _descriptor.FieldDescriptor( |
| 184 | name='parent', full_name='monorail.v3.ListIssueTemplatesRequest.parent', index=0, |
| 185 | number=1, type=9, cpp_type=9, label=1, |
| 186 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 187 | message_type=None, enum_type=None, containing_type=None, |
| 188 | is_extension=False, extension_scope=None, |
| 189 | serialized_options=b'\372A\027\n\025api.crbug.com/Project\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 190 | _descriptor.FieldDescriptor( |
| 191 | name='page_size', full_name='monorail.v3.ListIssueTemplatesRequest.page_size', index=1, |
| 192 | number=2, type=5, cpp_type=1, label=1, |
| 193 | has_default_value=False, default_value=0, |
| 194 | message_type=None, enum_type=None, containing_type=None, |
| 195 | is_extension=False, extension_scope=None, |
| 196 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 197 | _descriptor.FieldDescriptor( |
| 198 | name='page_token', full_name='monorail.v3.ListIssueTemplatesRequest.page_token', index=2, |
| 199 | number=3, type=9, cpp_type=9, label=1, |
| 200 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 201 | message_type=None, enum_type=None, containing_type=None, |
| 202 | is_extension=False, extension_scope=None, |
| 203 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 204 | ], |
| 205 | extensions=[ |
| 206 | ], |
| 207 | nested_types=[], |
| 208 | enum_types=[ |
| 209 | ], |
| 210 | serialized_options=None, |
| 211 | is_extendable=False, |
| 212 | syntax='proto3', |
| 213 | extension_ranges=[], |
| 214 | oneofs=[ |
| 215 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 216 | serialized_start=582, |
| 217 | serialized_end=695, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 218 | ) |
| 219 | |
| 220 | |
| 221 | _LISTISSUETEMPLATESRESPONSE = _descriptor.Descriptor( |
| 222 | name='ListIssueTemplatesResponse', |
| 223 | full_name='monorail.v3.ListIssueTemplatesResponse', |
| 224 | filename=None, |
| 225 | file=DESCRIPTOR, |
| 226 | containing_type=None, |
| 227 | create_key=_descriptor._internal_create_key, |
| 228 | fields=[ |
| 229 | _descriptor.FieldDescriptor( |
| 230 | name='templates', full_name='monorail.v3.ListIssueTemplatesResponse.templates', index=0, |
| 231 | number=1, type=11, cpp_type=10, label=3, |
| 232 | has_default_value=False, default_value=[], |
| 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='next_page_token', full_name='monorail.v3.ListIssueTemplatesResponse.next_page_token', 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 | ], |
| 244 | extensions=[ |
| 245 | ], |
| 246 | nested_types=[], |
| 247 | enum_types=[ |
| 248 | ], |
| 249 | serialized_options=None, |
| 250 | is_extendable=False, |
| 251 | syntax='proto3', |
| 252 | extension_ranges=[], |
| 253 | oneofs=[ |
| 254 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 255 | serialized_start=697, |
| 256 | serialized_end=797, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 257 | ) |
| 258 | |
| 259 | |
| 260 | _LISTCOMPONENTDEFSREQUEST = _descriptor.Descriptor( |
| 261 | name='ListComponentDefsRequest', |
| 262 | full_name='monorail.v3.ListComponentDefsRequest', |
| 263 | filename=None, |
| 264 | file=DESCRIPTOR, |
| 265 | containing_type=None, |
| 266 | create_key=_descriptor._internal_create_key, |
| 267 | fields=[ |
| 268 | _descriptor.FieldDescriptor( |
| 269 | name='parent', full_name='monorail.v3.ListComponentDefsRequest.parent', index=0, |
| 270 | number=1, type=9, cpp_type=9, label=1, |
| 271 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 272 | message_type=None, enum_type=None, containing_type=None, |
| 273 | is_extension=False, extension_scope=None, |
| 274 | serialized_options=b'\372A\027\n\025api.crbug.com/Project\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 275 | _descriptor.FieldDescriptor( |
| 276 | name='page_size', full_name='monorail.v3.ListComponentDefsRequest.page_size', index=1, |
| 277 | number=2, type=5, cpp_type=1, label=1, |
| 278 | has_default_value=False, default_value=0, |
| 279 | message_type=None, enum_type=None, containing_type=None, |
| 280 | is_extension=False, extension_scope=None, |
| 281 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 282 | _descriptor.FieldDescriptor( |
| 283 | name='page_token', full_name='monorail.v3.ListComponentDefsRequest.page_token', index=2, |
| 284 | number=3, type=9, cpp_type=9, label=1, |
| 285 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 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 | ], |
| 290 | extensions=[ |
| 291 | ], |
| 292 | nested_types=[], |
| 293 | enum_types=[ |
| 294 | ], |
| 295 | serialized_options=None, |
| 296 | is_extendable=False, |
| 297 | syntax='proto3', |
| 298 | extension_ranges=[], |
| 299 | oneofs=[ |
| 300 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 301 | serialized_start=799, |
| 302 | serialized_end=911, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 303 | ) |
| 304 | |
| 305 | |
| 306 | _LISTCOMPONENTDEFSRESPONSE = _descriptor.Descriptor( |
| 307 | name='ListComponentDefsResponse', |
| 308 | full_name='monorail.v3.ListComponentDefsResponse', |
| 309 | filename=None, |
| 310 | file=DESCRIPTOR, |
| 311 | containing_type=None, |
| 312 | create_key=_descriptor._internal_create_key, |
| 313 | fields=[ |
| 314 | _descriptor.FieldDescriptor( |
| 315 | name='component_defs', full_name='monorail.v3.ListComponentDefsResponse.component_defs', index=0, |
| 316 | number=1, type=11, cpp_type=10, label=3, |
| 317 | has_default_value=False, default_value=[], |
| 318 | message_type=None, enum_type=None, containing_type=None, |
| 319 | is_extension=False, extension_scope=None, |
| 320 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 321 | _descriptor.FieldDescriptor( |
| 322 | name='next_page_token', full_name='monorail.v3.ListComponentDefsResponse.next_page_token', index=1, |
| 323 | number=2, 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 328 | ], |
| 329 | extensions=[ |
| 330 | ], |
| 331 | nested_types=[], |
| 332 | enum_types=[ |
| 333 | ], |
| 334 | serialized_options=None, |
| 335 | is_extendable=False, |
| 336 | syntax='proto3', |
| 337 | extension_ranges=[], |
| 338 | oneofs=[ |
| 339 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 340 | serialized_start=913, |
| 341 | serialized_end=1016, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 342 | ) |
| 343 | |
| 344 | |
| 345 | _LISTPROJECTSREQUEST = _descriptor.Descriptor( |
| 346 | name='ListProjectsRequest', |
| 347 | full_name='monorail.v3.ListProjectsRequest', |
| 348 | filename=None, |
| 349 | file=DESCRIPTOR, |
| 350 | containing_type=None, |
| 351 | create_key=_descriptor._internal_create_key, |
| 352 | fields=[ |
| 353 | _descriptor.FieldDescriptor( |
| 354 | name='page_size', full_name='monorail.v3.ListProjectsRequest.page_size', index=0, |
| 355 | number=1, type=5, cpp_type=1, label=1, |
| 356 | has_default_value=False, default_value=0, |
| 357 | message_type=None, enum_type=None, containing_type=None, |
| 358 | is_extension=False, extension_scope=None, |
| 359 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 360 | _descriptor.FieldDescriptor( |
| 361 | name='page_token', full_name='monorail.v3.ListProjectsRequest.page_token', index=1, |
| 362 | number=2, type=9, cpp_type=9, label=1, |
| 363 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 364 | message_type=None, enum_type=None, containing_type=None, |
| 365 | is_extension=False, extension_scope=None, |
| 366 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 367 | ], |
| 368 | extensions=[ |
| 369 | ], |
| 370 | nested_types=[], |
| 371 | enum_types=[ |
| 372 | ], |
| 373 | serialized_options=None, |
| 374 | is_extendable=False, |
| 375 | syntax='proto3', |
| 376 | extension_ranges=[], |
| 377 | oneofs=[ |
| 378 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 379 | serialized_start=1018, |
| 380 | serialized_end=1078, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 381 | ) |
| 382 | |
| 383 | |
| 384 | _LISTPROJECTSRESPONSE = _descriptor.Descriptor( |
| 385 | name='ListProjectsResponse', |
| 386 | full_name='monorail.v3.ListProjectsResponse', |
| 387 | filename=None, |
| 388 | file=DESCRIPTOR, |
| 389 | containing_type=None, |
| 390 | create_key=_descriptor._internal_create_key, |
| 391 | fields=[ |
| 392 | _descriptor.FieldDescriptor( |
| 393 | name='projects', full_name='monorail.v3.ListProjectsResponse.projects', index=0, |
| 394 | number=1, type=11, cpp_type=10, label=3, |
| 395 | has_default_value=False, default_value=[], |
| 396 | message_type=None, enum_type=None, containing_type=None, |
| 397 | is_extension=False, extension_scope=None, |
| 398 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 399 | _descriptor.FieldDescriptor( |
| 400 | name='next_page_token', full_name='monorail.v3.ListProjectsResponse.next_page_token', index=1, |
| 401 | number=2, 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 | ], |
| 407 | extensions=[ |
| 408 | ], |
| 409 | nested_types=[], |
| 410 | enum_types=[ |
| 411 | ], |
| 412 | serialized_options=None, |
| 413 | is_extendable=False, |
| 414 | syntax='proto3', |
| 415 | extension_ranges=[], |
| 416 | oneofs=[ |
| 417 | ], |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 418 | serialized_start=1080, |
| 419 | serialized_end=1167, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 420 | ) |
| 421 | |
| 422 | _CREATEFIELDDEFREQUEST.fields_by_name['fielddef'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._FIELDDEF |
| 423 | _CREATECOMPONENTDEFREQUEST.fields_by_name['component_def'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF |
| 424 | _LISTISSUETEMPLATESRESPONSE.fields_by_name['templates'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._ISSUETEMPLATE |
| 425 | _LISTCOMPONENTDEFSRESPONSE.fields_by_name['component_defs'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF |
| 426 | _LISTPROJECTSRESPONSE.fields_by_name['projects'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._PROJECT |
| 427 | DESCRIPTOR.message_types_by_name['CreateFieldDefRequest'] = _CREATEFIELDDEFREQUEST |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 428 | DESCRIPTOR.message_types_by_name['GetComponentDefRequest'] = _GETCOMPONENTDEFREQUEST |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 429 | DESCRIPTOR.message_types_by_name['CreateComponentDefRequest'] = _CREATECOMPONENTDEFREQUEST |
| 430 | DESCRIPTOR.message_types_by_name['DeleteComponentDefRequest'] = _DELETECOMPONENTDEFREQUEST |
| 431 | DESCRIPTOR.message_types_by_name['ListIssueTemplatesRequest'] = _LISTISSUETEMPLATESREQUEST |
| 432 | DESCRIPTOR.message_types_by_name['ListIssueTemplatesResponse'] = _LISTISSUETEMPLATESRESPONSE |
| 433 | DESCRIPTOR.message_types_by_name['ListComponentDefsRequest'] = _LISTCOMPONENTDEFSREQUEST |
| 434 | DESCRIPTOR.message_types_by_name['ListComponentDefsResponse'] = _LISTCOMPONENTDEFSRESPONSE |
| 435 | DESCRIPTOR.message_types_by_name['ListProjectsRequest'] = _LISTPROJECTSREQUEST |
| 436 | DESCRIPTOR.message_types_by_name['ListProjectsResponse'] = _LISTPROJECTSRESPONSE |
| 437 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 438 | |
| 439 | CreateFieldDefRequest = _reflection.GeneratedProtocolMessageType('CreateFieldDefRequest', (_message.Message,), { |
| 440 | 'DESCRIPTOR' : _CREATEFIELDDEFREQUEST, |
| 441 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 442 | # @@protoc_insertion_point(class_scope:monorail.v3.CreateFieldDefRequest) |
| 443 | }) |
| 444 | _sym_db.RegisterMessage(CreateFieldDefRequest) |
| 445 | |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 446 | GetComponentDefRequest = _reflection.GeneratedProtocolMessageType('GetComponentDefRequest', (_message.Message,), { |
| 447 | 'DESCRIPTOR' : _GETCOMPONENTDEFREQUEST, |
| 448 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 449 | # @@protoc_insertion_point(class_scope:monorail.v3.GetComponentDefRequest) |
| 450 | }) |
| 451 | _sym_db.RegisterMessage(GetComponentDefRequest) |
| 452 | |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 453 | CreateComponentDefRequest = _reflection.GeneratedProtocolMessageType('CreateComponentDefRequest', (_message.Message,), { |
| 454 | 'DESCRIPTOR' : _CREATECOMPONENTDEFREQUEST, |
| 455 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 456 | # @@protoc_insertion_point(class_scope:monorail.v3.CreateComponentDefRequest) |
| 457 | }) |
| 458 | _sym_db.RegisterMessage(CreateComponentDefRequest) |
| 459 | |
| 460 | DeleteComponentDefRequest = _reflection.GeneratedProtocolMessageType('DeleteComponentDefRequest', (_message.Message,), { |
| 461 | 'DESCRIPTOR' : _DELETECOMPONENTDEFREQUEST, |
| 462 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 463 | # @@protoc_insertion_point(class_scope:monorail.v3.DeleteComponentDefRequest) |
| 464 | }) |
| 465 | _sym_db.RegisterMessage(DeleteComponentDefRequest) |
| 466 | |
| 467 | ListIssueTemplatesRequest = _reflection.GeneratedProtocolMessageType('ListIssueTemplatesRequest', (_message.Message,), { |
| 468 | 'DESCRIPTOR' : _LISTISSUETEMPLATESREQUEST, |
| 469 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 470 | # @@protoc_insertion_point(class_scope:monorail.v3.ListIssueTemplatesRequest) |
| 471 | }) |
| 472 | _sym_db.RegisterMessage(ListIssueTemplatesRequest) |
| 473 | |
| 474 | ListIssueTemplatesResponse = _reflection.GeneratedProtocolMessageType('ListIssueTemplatesResponse', (_message.Message,), { |
| 475 | 'DESCRIPTOR' : _LISTISSUETEMPLATESRESPONSE, |
| 476 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 477 | # @@protoc_insertion_point(class_scope:monorail.v3.ListIssueTemplatesResponse) |
| 478 | }) |
| 479 | _sym_db.RegisterMessage(ListIssueTemplatesResponse) |
| 480 | |
| 481 | ListComponentDefsRequest = _reflection.GeneratedProtocolMessageType('ListComponentDefsRequest', (_message.Message,), { |
| 482 | 'DESCRIPTOR' : _LISTCOMPONENTDEFSREQUEST, |
| 483 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 484 | # @@protoc_insertion_point(class_scope:monorail.v3.ListComponentDefsRequest) |
| 485 | }) |
| 486 | _sym_db.RegisterMessage(ListComponentDefsRequest) |
| 487 | |
| 488 | ListComponentDefsResponse = _reflection.GeneratedProtocolMessageType('ListComponentDefsResponse', (_message.Message,), { |
| 489 | 'DESCRIPTOR' : _LISTCOMPONENTDEFSRESPONSE, |
| 490 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 491 | # @@protoc_insertion_point(class_scope:monorail.v3.ListComponentDefsResponse) |
| 492 | }) |
| 493 | _sym_db.RegisterMessage(ListComponentDefsResponse) |
| 494 | |
| 495 | ListProjectsRequest = _reflection.GeneratedProtocolMessageType('ListProjectsRequest', (_message.Message,), { |
| 496 | 'DESCRIPTOR' : _LISTPROJECTSREQUEST, |
| 497 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 498 | # @@protoc_insertion_point(class_scope:monorail.v3.ListProjectsRequest) |
| 499 | }) |
| 500 | _sym_db.RegisterMessage(ListProjectsRequest) |
| 501 | |
| 502 | ListProjectsResponse = _reflection.GeneratedProtocolMessageType('ListProjectsResponse', (_message.Message,), { |
| 503 | 'DESCRIPTOR' : _LISTPROJECTSRESPONSE, |
| 504 | '__module__' : 'api.v3.api_proto.projects_pb2' |
| 505 | # @@protoc_insertion_point(class_scope:monorail.v3.ListProjectsResponse) |
| 506 | }) |
| 507 | _sym_db.RegisterMessage(ListProjectsResponse) |
| 508 | |
| 509 | |
| 510 | DESCRIPTOR._options = None |
| 511 | _CREATEFIELDDEFREQUEST.fields_by_name['parent']._options = None |
| 512 | _CREATEFIELDDEFREQUEST.fields_by_name['fielddef']._options = None |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 513 | _GETCOMPONENTDEFREQUEST.fields_by_name['name']._options = None |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 514 | _CREATECOMPONENTDEFREQUEST.fields_by_name['parent']._options = None |
| 515 | _CREATECOMPONENTDEFREQUEST.fields_by_name['component_def']._options = None |
| 516 | _DELETECOMPONENTDEFREQUEST.fields_by_name['name']._options = None |
| 517 | _LISTISSUETEMPLATESREQUEST.fields_by_name['parent']._options = None |
| 518 | _LISTCOMPONENTDEFSREQUEST.fields_by_name['parent']._options = None |
| 519 | |
| 520 | _PROJECTS = _descriptor.ServiceDescriptor( |
| 521 | name='Projects', |
| 522 | full_name='monorail.v3.Projects', |
| 523 | file=DESCRIPTOR, |
| 524 | index=0, |
| 525 | serialized_options=None, |
| 526 | create_key=_descriptor._internal_create_key, |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 527 | serialized_start=1170, |
| 528 | serialized_end=1817, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 529 | methods=[ |
| 530 | _descriptor.MethodDescriptor( |
| 531 | name='CreateFieldDef', |
| 532 | full_name='monorail.v3.Projects.CreateFieldDef', |
| 533 | index=0, |
| 534 | containing_service=None, |
| 535 | input_type=_CREATEFIELDDEFREQUEST, |
| 536 | output_type=api_dot_v3_dot_api__proto_dot_project__objects__pb2._FIELDDEF, |
| 537 | serialized_options=None, |
| 538 | create_key=_descriptor._internal_create_key, |
| 539 | ), |
| 540 | _descriptor.MethodDescriptor( |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 541 | name='GetComponentDef', |
| 542 | full_name='monorail.v3.Projects.GetComponentDef', |
| 543 | index=1, |
| 544 | containing_service=None, |
| 545 | input_type=_GETCOMPONENTDEFREQUEST, |
| 546 | output_type=api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF, |
| 547 | serialized_options=None, |
| 548 | create_key=_descriptor._internal_create_key, |
| 549 | ), |
| 550 | _descriptor.MethodDescriptor( |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 551 | name='CreateComponentDef', |
| 552 | full_name='monorail.v3.Projects.CreateComponentDef', |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 553 | index=2, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 554 | containing_service=None, |
| 555 | input_type=_CREATECOMPONENTDEFREQUEST, |
| 556 | output_type=api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF, |
| 557 | serialized_options=None, |
| 558 | create_key=_descriptor._internal_create_key, |
| 559 | ), |
| 560 | _descriptor.MethodDescriptor( |
| 561 | name='DeleteComponentDef', |
| 562 | full_name='monorail.v3.Projects.DeleteComponentDef', |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 563 | index=3, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 564 | containing_service=None, |
| 565 | input_type=_DELETECOMPONENTDEFREQUEST, |
| 566 | output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, |
| 567 | serialized_options=None, |
| 568 | create_key=_descriptor._internal_create_key, |
| 569 | ), |
| 570 | _descriptor.MethodDescriptor( |
| 571 | name='ListIssueTemplates', |
| 572 | full_name='monorail.v3.Projects.ListIssueTemplates', |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 573 | index=4, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 574 | containing_service=None, |
| 575 | input_type=_LISTISSUETEMPLATESREQUEST, |
| 576 | output_type=_LISTISSUETEMPLATESRESPONSE, |
| 577 | serialized_options=None, |
| 578 | create_key=_descriptor._internal_create_key, |
| 579 | ), |
| 580 | _descriptor.MethodDescriptor( |
| 581 | name='ListComponentDefs', |
| 582 | full_name='monorail.v3.Projects.ListComponentDefs', |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 583 | index=5, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 584 | containing_service=None, |
| 585 | input_type=_LISTCOMPONENTDEFSREQUEST, |
| 586 | output_type=_LISTCOMPONENTDEFSRESPONSE, |
| 587 | serialized_options=None, |
| 588 | create_key=_descriptor._internal_create_key, |
| 589 | ), |
| 590 | _descriptor.MethodDescriptor( |
| 591 | name='ListProjects', |
| 592 | full_name='monorail.v3.Projects.ListProjects', |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 593 | index=6, |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 594 | containing_service=None, |
| 595 | input_type=_LISTPROJECTSREQUEST, |
| 596 | output_type=_LISTPROJECTSRESPONSE, |
| 597 | serialized_options=None, |
| 598 | create_key=_descriptor._internal_create_key, |
| 599 | ), |
| 600 | ]) |
| 601 | _sym_db.RegisterServiceDescriptor(_PROJECTS) |
| 602 | |
| 603 | DESCRIPTOR.services_by_name['Projects'] = _PROJECTS |
| 604 | |
| 605 | # @@protoc_insertion_point(module_scope) |