blob: 52f4c4d47bd56b86321202a6c85f30fb3c42c326 [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/users.proto
Adrià Vilanova Martínezf5e10392021-12-07 22:55:40 +01004"""Generated protocol buffer code."""
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01005from google.protobuf.internal import builder as _builder
Copybara854996b2021-09-07 19:36:02 +00006from google.protobuf import descriptor as _descriptor
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01007from google.protobuf import descriptor_pool as _descriptor_pool
Copybara854996b2021-09-07 19:36:02 +00008from 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 user_objects_pb2 as api_dot_v3_dot_api__proto_dot_user__objects__pb2
17from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
18from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
19
20
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +010021DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(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#Z!infra/monorailv2/api/v3/api_protob\x06proto3')
Copybara854996b2021-09-07 19:36:02 +000022
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +010023_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
24_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api.v3.api_proto.users_pb2', globals())
25if _descriptor._USE_C_DESCRIPTORS == False:
Copybara854996b2021-09-07 19:36:02 +000026
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +010027 DESCRIPTOR._options = None
28 DESCRIPTOR._serialized_options = b'Z!infra/monorailv2/api/v3/api_proto'
29 _GETUSERREQUEST.fields_by_name['name']._options = None
30 _GETUSERREQUEST.fields_by_name['name']._serialized_options = b'\372A\024\n\022api.crbug.com/User\340A\002'
31 _BATCHGETUSERSREQUEST.fields_by_name['names']._options = None
32 _BATCHGETUSERSREQUEST.fields_by_name['names']._serialized_options = b'\372A\024\n\022api.crbug.com/User\340A\002'
33 _UPDATEUSERREQUEST.fields_by_name['user']._options = None
34 _UPDATEUSERREQUEST.fields_by_name['user']._serialized_options = b'\340A\002\372A\024\n\022api.crbug.com/User'
35 _UPDATEUSERREQUEST.fields_by_name['update_mask']._options = None
36 _UPDATEUSERREQUEST.fields_by_name['update_mask']._serialized_options = b'\340A\002'
37 _STARPROJECTREQUEST.fields_by_name['project']._options = None
38 _STARPROJECTREQUEST.fields_by_name['project']._serialized_options = b'\372A\027\n\025api.crbug.com/Project\340A\002'
39 _UNSTARPROJECTREQUEST.fields_by_name['project']._options = None
40 _UNSTARPROJECTREQUEST.fields_by_name['project']._serialized_options = b'\372A\027\n\025api.crbug.com/Project\340A\002'
41 _LISTPROJECTSTARSREQUEST.fields_by_name['parent']._options = None
42 _LISTPROJECTSTARSREQUEST.fields_by_name['parent']._serialized_options = b'\372A\024\n\022api.crbug.com/User\340A\002'
43 _GETUSERREQUEST._serialized_start=205
44 _GETUSERREQUEST._serialized_end=263
45 _BATCHGETUSERSREQUEST._serialized_start=265
46 _BATCHGETUSERSREQUEST._serialized_end=330
47 _BATCHGETUSERSRESPONSE._serialized_start=332
48 _BATCHGETUSERSRESPONSE._serialized_end=389
49 _UPDATEUSERREQUEST._serialized_start=392
50 _UPDATEUSERREQUEST._serialized_end=526
51 _STARPROJECTREQUEST._serialized_start=528
52 _STARPROJECTREQUEST._serialized_end=596
53 _UNSTARPROJECTREQUEST._serialized_start=598
54 _UNSTARPROJECTREQUEST._serialized_end=668
55 _LISTPROJECTSTARSREQUEST._serialized_start=670
56 _LISTPROJECTSTARSREQUEST._serialized_end=778
57 _LISTPROJECTSTARSRESPONSE._serialized_start=780
58 _LISTPROJECTSTARSRESPONSE._serialized_end=880
59 _USERS._serialized_start=883
60 _USERS._serialized_end=1361
Copybara854996b2021-09-07 19:36:02 +000061# @@protoc_insertion_point(module_scope)