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/users.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.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 |
| 15 | from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 |
| 16 | from api.v3.api_proto import user_objects_pb2 as api_dot_v3_dot_api__proto_dot_user__objects__pb2 |
| 17 | from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 |
| 18 | from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 |
| 19 | |
| 20 | |
| 21 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 22 | name='api/v3/api_proto/users.proto', |
| 23 | package='monorail.v3', |
| 24 | syntax='proto3', |
| 25 | serialized_options=b'Z\020api/v3/api_proto', |
| 26 | create_key=_descriptor._internal_create_key, |
| 27 | serialized_pb=b'\n\x1c\x61pi/v3/api_proto/users.proto\x12\x0bmonorail.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#api/v3/api_proto/user_objects.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\":\n\x0eGetUserRequest\x12(\n\x04name\x18\x01 \x01(\tB\x1a\xfa\x41\x14\n\x12\x61pi.crbug.com/User\xe0\x41\x02\"A\n\x14\x42\x61tchGetUsersRequest\x12)\n\x05names\x18\x01 \x03(\tB\x1a\xfa\x41\x14\n\x12\x61pi.crbug.com/User\xe0\x41\x02\"9\n\x15\x42\x61tchGetUsersResponse\x12 \n\x05users\x18\x01 \x03(\x0b\x32\x11.monorail.v3.User\"\x86\x01\n\x11UpdateUserRequest\x12;\n\x04user\x18\x01 \x01(\x0b\x32\x11.monorail.v3.UserB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12\x61pi.crbug.com/User\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"D\n\x12StarProjectRequest\x12.\n\x07project\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\"F\n\x14UnStarProjectRequest\x12.\n\x07project\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\"l\n\x17ListProjectStarsRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xfa\x41\x14\n\x12\x61pi.crbug.com/User\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"d\n\x18ListProjectStarsResponse\x12/\n\rproject_stars\x18\x01 \x03(\x0b\x32\x18.monorail.v3.ProjectStar\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xde\x03\n\x05Users\x12;\n\x07GetUser\x12\x1b.monorail.v3.GetUserRequest\x1a\x11.monorail.v3.User\"\x00\x12X\n\rBatchGetUsers\x12!.monorail.v3.BatchGetUsersRequest\x1a\".monorail.v3.BatchGetUsersResponse\"\x00\x12\x41\n\nUpdateUser\x12\x1e.monorail.v3.UpdateUserRequest\x1a\x11.monorail.v3.User\"\x00\x12J\n\x0bStarProject\x12\x1f.monorail.v3.StarProjectRequest\x1a\x18.monorail.v3.ProjectStar\"\x00\x12L\n\rUnStarProject\x12!.monorail.v3.UnStarProjectRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x61\n\x10ListProjectStars\x12$.monorail.v3.ListProjectStarsRequest\x1a%.monorail.v3.ListProjectStarsResponse\"\x00\x42\x12Z\x10\x61pi/v3/api_protob\x06proto3' |
| 28 | , |
| 29 | dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,api_dot_v3_dot_api__proto_dot_user__objects__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | _GETUSERREQUEST = _descriptor.Descriptor( |
| 35 | name='GetUserRequest', |
| 36 | full_name='monorail.v3.GetUserRequest', |
| 37 | filename=None, |
| 38 | file=DESCRIPTOR, |
| 39 | containing_type=None, |
| 40 | create_key=_descriptor._internal_create_key, |
| 41 | fields=[ |
| 42 | _descriptor.FieldDescriptor( |
| 43 | name='name', full_name='monorail.v3.GetUserRequest.name', index=0, |
| 44 | number=1, type=9, cpp_type=9, label=1, |
| 45 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 46 | message_type=None, enum_type=None, containing_type=None, |
| 47 | is_extension=False, extension_scope=None, |
| 48 | serialized_options=b'\372A\024\n\022api.crbug.com/User\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 49 | ], |
| 50 | extensions=[ |
| 51 | ], |
| 52 | nested_types=[], |
| 53 | enum_types=[ |
| 54 | ], |
| 55 | serialized_options=None, |
| 56 | is_extendable=False, |
| 57 | syntax='proto3', |
| 58 | extension_ranges=[], |
| 59 | oneofs=[ |
| 60 | ], |
| 61 | serialized_start=205, |
| 62 | serialized_end=263, |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | _BATCHGETUSERSREQUEST = _descriptor.Descriptor( |
| 67 | name='BatchGetUsersRequest', |
| 68 | full_name='monorail.v3.BatchGetUsersRequest', |
| 69 | filename=None, |
| 70 | file=DESCRIPTOR, |
| 71 | containing_type=None, |
| 72 | create_key=_descriptor._internal_create_key, |
| 73 | fields=[ |
| 74 | _descriptor.FieldDescriptor( |
| 75 | name='names', full_name='monorail.v3.BatchGetUsersRequest.names', index=0, |
| 76 | number=1, type=9, cpp_type=9, label=3, |
| 77 | has_default_value=False, default_value=[], |
| 78 | message_type=None, enum_type=None, containing_type=None, |
| 79 | is_extension=False, extension_scope=None, |
| 80 | serialized_options=b'\372A\024\n\022api.crbug.com/User\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 81 | ], |
| 82 | extensions=[ |
| 83 | ], |
| 84 | nested_types=[], |
| 85 | enum_types=[ |
| 86 | ], |
| 87 | serialized_options=None, |
| 88 | is_extendable=False, |
| 89 | syntax='proto3', |
| 90 | extension_ranges=[], |
| 91 | oneofs=[ |
| 92 | ], |
| 93 | serialized_start=265, |
| 94 | serialized_end=330, |
| 95 | ) |
| 96 | |
| 97 | |
| 98 | _BATCHGETUSERSRESPONSE = _descriptor.Descriptor( |
| 99 | name='BatchGetUsersResponse', |
| 100 | full_name='monorail.v3.BatchGetUsersResponse', |
| 101 | filename=None, |
| 102 | file=DESCRIPTOR, |
| 103 | containing_type=None, |
| 104 | create_key=_descriptor._internal_create_key, |
| 105 | fields=[ |
| 106 | _descriptor.FieldDescriptor( |
| 107 | name='users', full_name='monorail.v3.BatchGetUsersResponse.users', index=0, |
| 108 | number=1, type=11, cpp_type=10, label=3, |
| 109 | has_default_value=False, default_value=[], |
| 110 | message_type=None, enum_type=None, containing_type=None, |
| 111 | is_extension=False, extension_scope=None, |
| 112 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 113 | ], |
| 114 | extensions=[ |
| 115 | ], |
| 116 | nested_types=[], |
| 117 | enum_types=[ |
| 118 | ], |
| 119 | serialized_options=None, |
| 120 | is_extendable=False, |
| 121 | syntax='proto3', |
| 122 | extension_ranges=[], |
| 123 | oneofs=[ |
| 124 | ], |
| 125 | serialized_start=332, |
| 126 | serialized_end=389, |
| 127 | ) |
| 128 | |
| 129 | |
| 130 | _UPDATEUSERREQUEST = _descriptor.Descriptor( |
| 131 | name='UpdateUserRequest', |
| 132 | full_name='monorail.v3.UpdateUserRequest', |
| 133 | filename=None, |
| 134 | file=DESCRIPTOR, |
| 135 | containing_type=None, |
| 136 | create_key=_descriptor._internal_create_key, |
| 137 | fields=[ |
| 138 | _descriptor.FieldDescriptor( |
| 139 | name='user', full_name='monorail.v3.UpdateUserRequest.user', index=0, |
| 140 | number=1, type=11, cpp_type=10, label=1, |
| 141 | has_default_value=False, default_value=None, |
| 142 | message_type=None, enum_type=None, containing_type=None, |
| 143 | is_extension=False, extension_scope=None, |
| 144 | serialized_options=b'\340A\002\372A\024\n\022api.crbug.com/User', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 145 | _descriptor.FieldDescriptor( |
| 146 | name='update_mask', full_name='monorail.v3.UpdateUserRequest.update_mask', index=1, |
| 147 | number=2, type=11, cpp_type=10, label=1, |
| 148 | has_default_value=False, default_value=None, |
| 149 | message_type=None, enum_type=None, containing_type=None, |
| 150 | is_extension=False, extension_scope=None, |
| 151 | serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 152 | ], |
| 153 | extensions=[ |
| 154 | ], |
| 155 | nested_types=[], |
| 156 | enum_types=[ |
| 157 | ], |
| 158 | serialized_options=None, |
| 159 | is_extendable=False, |
| 160 | syntax='proto3', |
| 161 | extension_ranges=[], |
| 162 | oneofs=[ |
| 163 | ], |
| 164 | serialized_start=392, |
| 165 | serialized_end=526, |
| 166 | ) |
| 167 | |
| 168 | |
| 169 | _STARPROJECTREQUEST = _descriptor.Descriptor( |
| 170 | name='StarProjectRequest', |
| 171 | full_name='monorail.v3.StarProjectRequest', |
| 172 | filename=None, |
| 173 | file=DESCRIPTOR, |
| 174 | containing_type=None, |
| 175 | create_key=_descriptor._internal_create_key, |
| 176 | fields=[ |
| 177 | _descriptor.FieldDescriptor( |
| 178 | name='project', full_name='monorail.v3.StarProjectRequest.project', index=0, |
| 179 | number=1, type=9, cpp_type=9, label=1, |
| 180 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 181 | message_type=None, enum_type=None, containing_type=None, |
| 182 | is_extension=False, extension_scope=None, |
| 183 | serialized_options=b'\372A\027\n\025api.crbug.com/Project\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 184 | ], |
| 185 | extensions=[ |
| 186 | ], |
| 187 | nested_types=[], |
| 188 | enum_types=[ |
| 189 | ], |
| 190 | serialized_options=None, |
| 191 | is_extendable=False, |
| 192 | syntax='proto3', |
| 193 | extension_ranges=[], |
| 194 | oneofs=[ |
| 195 | ], |
| 196 | serialized_start=528, |
| 197 | serialized_end=596, |
| 198 | ) |
| 199 | |
| 200 | |
| 201 | _UNSTARPROJECTREQUEST = _descriptor.Descriptor( |
| 202 | name='UnStarProjectRequest', |
| 203 | full_name='monorail.v3.UnStarProjectRequest', |
| 204 | filename=None, |
| 205 | file=DESCRIPTOR, |
| 206 | containing_type=None, |
| 207 | create_key=_descriptor._internal_create_key, |
| 208 | fields=[ |
| 209 | _descriptor.FieldDescriptor( |
| 210 | name='project', full_name='monorail.v3.UnStarProjectRequest.project', index=0, |
| 211 | number=1, type=9, cpp_type=9, label=1, |
| 212 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 213 | message_type=None, enum_type=None, containing_type=None, |
| 214 | is_extension=False, extension_scope=None, |
| 215 | serialized_options=b'\372A\027\n\025api.crbug.com/Project\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 216 | ], |
| 217 | extensions=[ |
| 218 | ], |
| 219 | nested_types=[], |
| 220 | enum_types=[ |
| 221 | ], |
| 222 | serialized_options=None, |
| 223 | is_extendable=False, |
| 224 | syntax='proto3', |
| 225 | extension_ranges=[], |
| 226 | oneofs=[ |
| 227 | ], |
| 228 | serialized_start=598, |
| 229 | serialized_end=668, |
| 230 | ) |
| 231 | |
| 232 | |
| 233 | _LISTPROJECTSTARSREQUEST = _descriptor.Descriptor( |
| 234 | name='ListProjectStarsRequest', |
| 235 | full_name='monorail.v3.ListProjectStarsRequest', |
| 236 | filename=None, |
| 237 | file=DESCRIPTOR, |
| 238 | containing_type=None, |
| 239 | create_key=_descriptor._internal_create_key, |
| 240 | fields=[ |
| 241 | _descriptor.FieldDescriptor( |
| 242 | name='parent', full_name='monorail.v3.ListProjectStarsRequest.parent', index=0, |
| 243 | number=1, type=9, cpp_type=9, label=1, |
| 244 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 245 | message_type=None, enum_type=None, containing_type=None, |
| 246 | is_extension=False, extension_scope=None, |
| 247 | serialized_options=b'\372A\024\n\022api.crbug.com/User\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 248 | _descriptor.FieldDescriptor( |
| 249 | name='page_size', full_name='monorail.v3.ListProjectStarsRequest.page_size', index=1, |
| 250 | number=2, type=5, cpp_type=1, label=1, |
| 251 | has_default_value=False, default_value=0, |
| 252 | message_type=None, enum_type=None, containing_type=None, |
| 253 | is_extension=False, extension_scope=None, |
| 254 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 255 | _descriptor.FieldDescriptor( |
| 256 | name='page_token', full_name='monorail.v3.ListProjectStarsRequest.page_token', index=2, |
| 257 | number=3, type=9, cpp_type=9, label=1, |
| 258 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 259 | message_type=None, enum_type=None, containing_type=None, |
| 260 | is_extension=False, extension_scope=None, |
| 261 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 262 | ], |
| 263 | extensions=[ |
| 264 | ], |
| 265 | nested_types=[], |
| 266 | enum_types=[ |
| 267 | ], |
| 268 | serialized_options=None, |
| 269 | is_extendable=False, |
| 270 | syntax='proto3', |
| 271 | extension_ranges=[], |
| 272 | oneofs=[ |
| 273 | ], |
| 274 | serialized_start=670, |
| 275 | serialized_end=778, |
| 276 | ) |
| 277 | |
| 278 | |
| 279 | _LISTPROJECTSTARSRESPONSE = _descriptor.Descriptor( |
| 280 | name='ListProjectStarsResponse', |
| 281 | full_name='monorail.v3.ListProjectStarsResponse', |
| 282 | filename=None, |
| 283 | file=DESCRIPTOR, |
| 284 | containing_type=None, |
| 285 | create_key=_descriptor._internal_create_key, |
| 286 | fields=[ |
| 287 | _descriptor.FieldDescriptor( |
| 288 | name='project_stars', full_name='monorail.v3.ListProjectStarsResponse.project_stars', index=0, |
| 289 | number=1, type=11, cpp_type=10, label=3, |
| 290 | has_default_value=False, default_value=[], |
| 291 | message_type=None, enum_type=None, containing_type=None, |
| 292 | is_extension=False, extension_scope=None, |
| 293 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 294 | _descriptor.FieldDescriptor( |
| 295 | name='next_page_token', full_name='monorail.v3.ListProjectStarsResponse.next_page_token', index=1, |
| 296 | number=2, type=9, cpp_type=9, label=1, |
| 297 | has_default_value=False, default_value=b"".decode('utf-8'), |
| 298 | message_type=None, enum_type=None, containing_type=None, |
| 299 | is_extension=False, extension_scope=None, |
| 300 | serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), |
| 301 | ], |
| 302 | extensions=[ |
| 303 | ], |
| 304 | nested_types=[], |
| 305 | enum_types=[ |
| 306 | ], |
| 307 | serialized_options=None, |
| 308 | is_extendable=False, |
| 309 | syntax='proto3', |
| 310 | extension_ranges=[], |
| 311 | oneofs=[ |
| 312 | ], |
| 313 | serialized_start=780, |
| 314 | serialized_end=880, |
| 315 | ) |
| 316 | |
| 317 | _BATCHGETUSERSRESPONSE.fields_by_name['users'].message_type = api_dot_v3_dot_api__proto_dot_user__objects__pb2._USER |
| 318 | _UPDATEUSERREQUEST.fields_by_name['user'].message_type = api_dot_v3_dot_api__proto_dot_user__objects__pb2._USER |
| 319 | _UPDATEUSERREQUEST.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK |
| 320 | _LISTPROJECTSTARSRESPONSE.fields_by_name['project_stars'].message_type = api_dot_v3_dot_api__proto_dot_user__objects__pb2._PROJECTSTAR |
| 321 | DESCRIPTOR.message_types_by_name['GetUserRequest'] = _GETUSERREQUEST |
| 322 | DESCRIPTOR.message_types_by_name['BatchGetUsersRequest'] = _BATCHGETUSERSREQUEST |
| 323 | DESCRIPTOR.message_types_by_name['BatchGetUsersResponse'] = _BATCHGETUSERSRESPONSE |
| 324 | DESCRIPTOR.message_types_by_name['UpdateUserRequest'] = _UPDATEUSERREQUEST |
| 325 | DESCRIPTOR.message_types_by_name['StarProjectRequest'] = _STARPROJECTREQUEST |
| 326 | DESCRIPTOR.message_types_by_name['UnStarProjectRequest'] = _UNSTARPROJECTREQUEST |
| 327 | DESCRIPTOR.message_types_by_name['ListProjectStarsRequest'] = _LISTPROJECTSTARSREQUEST |
| 328 | DESCRIPTOR.message_types_by_name['ListProjectStarsResponse'] = _LISTPROJECTSTARSRESPONSE |
| 329 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 330 | |
| 331 | GetUserRequest = _reflection.GeneratedProtocolMessageType('GetUserRequest', (_message.Message,), { |
| 332 | 'DESCRIPTOR' : _GETUSERREQUEST, |
| 333 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 334 | # @@protoc_insertion_point(class_scope:monorail.v3.GetUserRequest) |
| 335 | }) |
| 336 | _sym_db.RegisterMessage(GetUserRequest) |
| 337 | |
| 338 | BatchGetUsersRequest = _reflection.GeneratedProtocolMessageType('BatchGetUsersRequest', (_message.Message,), { |
| 339 | 'DESCRIPTOR' : _BATCHGETUSERSREQUEST, |
| 340 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 341 | # @@protoc_insertion_point(class_scope:monorail.v3.BatchGetUsersRequest) |
| 342 | }) |
| 343 | _sym_db.RegisterMessage(BatchGetUsersRequest) |
| 344 | |
| 345 | BatchGetUsersResponse = _reflection.GeneratedProtocolMessageType('BatchGetUsersResponse', (_message.Message,), { |
| 346 | 'DESCRIPTOR' : _BATCHGETUSERSRESPONSE, |
| 347 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 348 | # @@protoc_insertion_point(class_scope:monorail.v3.BatchGetUsersResponse) |
| 349 | }) |
| 350 | _sym_db.RegisterMessage(BatchGetUsersResponse) |
| 351 | |
| 352 | UpdateUserRequest = _reflection.GeneratedProtocolMessageType('UpdateUserRequest', (_message.Message,), { |
| 353 | 'DESCRIPTOR' : _UPDATEUSERREQUEST, |
| 354 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 355 | # @@protoc_insertion_point(class_scope:monorail.v3.UpdateUserRequest) |
| 356 | }) |
| 357 | _sym_db.RegisterMessage(UpdateUserRequest) |
| 358 | |
| 359 | StarProjectRequest = _reflection.GeneratedProtocolMessageType('StarProjectRequest', (_message.Message,), { |
| 360 | 'DESCRIPTOR' : _STARPROJECTREQUEST, |
| 361 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 362 | # @@protoc_insertion_point(class_scope:monorail.v3.StarProjectRequest) |
| 363 | }) |
| 364 | _sym_db.RegisterMessage(StarProjectRequest) |
| 365 | |
| 366 | UnStarProjectRequest = _reflection.GeneratedProtocolMessageType('UnStarProjectRequest', (_message.Message,), { |
| 367 | 'DESCRIPTOR' : _UNSTARPROJECTREQUEST, |
| 368 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 369 | # @@protoc_insertion_point(class_scope:monorail.v3.UnStarProjectRequest) |
| 370 | }) |
| 371 | _sym_db.RegisterMessage(UnStarProjectRequest) |
| 372 | |
| 373 | ListProjectStarsRequest = _reflection.GeneratedProtocolMessageType('ListProjectStarsRequest', (_message.Message,), { |
| 374 | 'DESCRIPTOR' : _LISTPROJECTSTARSREQUEST, |
| 375 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 376 | # @@protoc_insertion_point(class_scope:monorail.v3.ListProjectStarsRequest) |
| 377 | }) |
| 378 | _sym_db.RegisterMessage(ListProjectStarsRequest) |
| 379 | |
| 380 | ListProjectStarsResponse = _reflection.GeneratedProtocolMessageType('ListProjectStarsResponse', (_message.Message,), { |
| 381 | 'DESCRIPTOR' : _LISTPROJECTSTARSRESPONSE, |
| 382 | '__module__' : 'api.v3.api_proto.users_pb2' |
| 383 | # @@protoc_insertion_point(class_scope:monorail.v3.ListProjectStarsResponse) |
| 384 | }) |
| 385 | _sym_db.RegisterMessage(ListProjectStarsResponse) |
| 386 | |
| 387 | |
| 388 | DESCRIPTOR._options = None |
| 389 | _GETUSERREQUEST.fields_by_name['name']._options = None |
| 390 | _BATCHGETUSERSREQUEST.fields_by_name['names']._options = None |
| 391 | _UPDATEUSERREQUEST.fields_by_name['user']._options = None |
| 392 | _UPDATEUSERREQUEST.fields_by_name['update_mask']._options = None |
| 393 | _STARPROJECTREQUEST.fields_by_name['project']._options = None |
| 394 | _UNSTARPROJECTREQUEST.fields_by_name['project']._options = None |
| 395 | _LISTPROJECTSTARSREQUEST.fields_by_name['parent']._options = None |
| 396 | |
| 397 | _USERS = _descriptor.ServiceDescriptor( |
| 398 | name='Users', |
| 399 | full_name='monorail.v3.Users', |
| 400 | file=DESCRIPTOR, |
| 401 | index=0, |
| 402 | serialized_options=None, |
| 403 | create_key=_descriptor._internal_create_key, |
| 404 | serialized_start=883, |
| 405 | serialized_end=1361, |
| 406 | methods=[ |
| 407 | _descriptor.MethodDescriptor( |
| 408 | name='GetUser', |
| 409 | full_name='monorail.v3.Users.GetUser', |
| 410 | index=0, |
| 411 | containing_service=None, |
| 412 | input_type=_GETUSERREQUEST, |
| 413 | output_type=api_dot_v3_dot_api__proto_dot_user__objects__pb2._USER, |
| 414 | serialized_options=None, |
| 415 | create_key=_descriptor._internal_create_key, |
| 416 | ), |
| 417 | _descriptor.MethodDescriptor( |
| 418 | name='BatchGetUsers', |
| 419 | full_name='monorail.v3.Users.BatchGetUsers', |
| 420 | index=1, |
| 421 | containing_service=None, |
| 422 | input_type=_BATCHGETUSERSREQUEST, |
| 423 | output_type=_BATCHGETUSERSRESPONSE, |
| 424 | serialized_options=None, |
| 425 | create_key=_descriptor._internal_create_key, |
| 426 | ), |
| 427 | _descriptor.MethodDescriptor( |
| 428 | name='UpdateUser', |
| 429 | full_name='monorail.v3.Users.UpdateUser', |
| 430 | index=2, |
| 431 | containing_service=None, |
| 432 | input_type=_UPDATEUSERREQUEST, |
| 433 | output_type=api_dot_v3_dot_api__proto_dot_user__objects__pb2._USER, |
| 434 | serialized_options=None, |
| 435 | create_key=_descriptor._internal_create_key, |
| 436 | ), |
| 437 | _descriptor.MethodDescriptor( |
| 438 | name='StarProject', |
| 439 | full_name='monorail.v3.Users.StarProject', |
| 440 | index=3, |
| 441 | containing_service=None, |
| 442 | input_type=_STARPROJECTREQUEST, |
| 443 | output_type=api_dot_v3_dot_api__proto_dot_user__objects__pb2._PROJECTSTAR, |
| 444 | serialized_options=None, |
| 445 | create_key=_descriptor._internal_create_key, |
| 446 | ), |
| 447 | _descriptor.MethodDescriptor( |
| 448 | name='UnStarProject', |
| 449 | full_name='monorail.v3.Users.UnStarProject', |
| 450 | index=4, |
| 451 | containing_service=None, |
| 452 | input_type=_UNSTARPROJECTREQUEST, |
| 453 | output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, |
| 454 | serialized_options=None, |
| 455 | create_key=_descriptor._internal_create_key, |
| 456 | ), |
| 457 | _descriptor.MethodDescriptor( |
| 458 | name='ListProjectStars', |
| 459 | full_name='monorail.v3.Users.ListProjectStars', |
| 460 | index=5, |
| 461 | containing_service=None, |
| 462 | input_type=_LISTPROJECTSTARSREQUEST, |
| 463 | output_type=_LISTPROJECTSTARSRESPONSE, |
| 464 | serialized_options=None, |
| 465 | create_key=_descriptor._internal_create_key, |
| 466 | ), |
| 467 | ]) |
| 468 | _sym_db.RegisterServiceDescriptor(_USERS) |
| 469 | |
| 470 | DESCRIPTOR.services_by_name['Users'] = _USERS |
| 471 | |
| 472 | # @@protoc_insertion_point(module_scope) |