blob: dc5ff4c2ffbefcdcbd00805e3ec715d7302f9c1e [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/permissions.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 api.v3.api_proto import permission_objects_pb2 as api_dot_v3_dot_api__proto_dot_permission__objects__pb2
16
17
18DESCRIPTOR = _descriptor.FileDescriptor(
19 name='api/v3/api_proto/permissions.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/permissions.proto\x12\x0bmonorail.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a)api/v3/api_proto/permission_objects.proto\",\n\x17GetPermissionSetRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"3\n\x1d\x42\x61tchGetPermissionSetsRequest\x12\x12\n\x05names\x18\x01 \x03(\tB\x03\xe0\x41\x02\"U\n\x1e\x42\x61tchGetPermissionSetsResponse\x12\x33\n\x0fpermission_sets\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.PermissionSet2\xda\x01\n\x0bPermissions\x12V\n\x10GetPermissionSet\x12$.monorail.v3.GetPermissionSetRequest\x1a\x1a.monorail.v3.PermissionSet\"\x00\x12s\n\x16\x42\x61tchGetPermissionSets\x12*.monorail.v3.BatchGetPermissionSetsRequest\x1a+.monorail.v3.BatchGetPermissionSetsResponse\"\x00\x42\x12Z\x10\x61pi/v3/api_protob\x06proto3'
25 ,
26 dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,api_dot_v3_dot_api__proto_dot_permission__objects__pb2.DESCRIPTOR,])
27
28
29
30
31_GETPERMISSIONSETREQUEST = _descriptor.Descriptor(
32 name='GetPermissionSetRequest',
33 full_name='monorail.v3.GetPermissionSetRequest',
34 filename=None,
35 file=DESCRIPTOR,
36 containing_type=None,
37 create_key=_descriptor._internal_create_key,
38 fields=[
39 _descriptor.FieldDescriptor(
40 name='name', full_name='monorail.v3.GetPermissionSetRequest.name', index=0,
41 number=1, type=9, cpp_type=9, label=1,
42 has_default_value=False, default_value=b"".decode('utf-8'),
43 message_type=None, enum_type=None, containing_type=None,
44 is_extension=False, extension_scope=None,
45 serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
46 ],
47 extensions=[
48 ],
49 nested_types=[],
50 enum_types=[
51 ],
52 serialized_options=None,
53 is_extendable=False,
54 syntax='proto3',
55 extension_ranges=[],
56 oneofs=[
57 ],
58 serialized_start=127,
59 serialized_end=171,
60)
61
62
63_BATCHGETPERMISSIONSETSREQUEST = _descriptor.Descriptor(
64 name='BatchGetPermissionSetsRequest',
65 full_name='monorail.v3.BatchGetPermissionSetsRequest',
66 filename=None,
67 file=DESCRIPTOR,
68 containing_type=None,
69 create_key=_descriptor._internal_create_key,
70 fields=[
71 _descriptor.FieldDescriptor(
72 name='names', full_name='monorail.v3.BatchGetPermissionSetsRequest.names', index=0,
73 number=1, type=9, cpp_type=9, label=3,
74 has_default_value=False, default_value=[],
75 message_type=None, enum_type=None, containing_type=None,
76 is_extension=False, extension_scope=None,
77 serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
78 ],
79 extensions=[
80 ],
81 nested_types=[],
82 enum_types=[
83 ],
84 serialized_options=None,
85 is_extendable=False,
86 syntax='proto3',
87 extension_ranges=[],
88 oneofs=[
89 ],
90 serialized_start=173,
91 serialized_end=224,
92)
93
94
95_BATCHGETPERMISSIONSETSRESPONSE = _descriptor.Descriptor(
96 name='BatchGetPermissionSetsResponse',
97 full_name='monorail.v3.BatchGetPermissionSetsResponse',
98 filename=None,
99 file=DESCRIPTOR,
100 containing_type=None,
101 create_key=_descriptor._internal_create_key,
102 fields=[
103 _descriptor.FieldDescriptor(
104 name='permission_sets', full_name='monorail.v3.BatchGetPermissionSetsResponse.permission_sets', index=0,
105 number=1, type=11, cpp_type=10, label=3,
106 has_default_value=False, default_value=[],
107 message_type=None, enum_type=None, containing_type=None,
108 is_extension=False, extension_scope=None,
109 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
110 ],
111 extensions=[
112 ],
113 nested_types=[],
114 enum_types=[
115 ],
116 serialized_options=None,
117 is_extendable=False,
118 syntax='proto3',
119 extension_ranges=[],
120 oneofs=[
121 ],
122 serialized_start=226,
123 serialized_end=311,
124)
125
126_BATCHGETPERMISSIONSETSRESPONSE.fields_by_name['permission_sets'].message_type = api_dot_v3_dot_api__proto_dot_permission__objects__pb2._PERMISSIONSET
127DESCRIPTOR.message_types_by_name['GetPermissionSetRequest'] = _GETPERMISSIONSETREQUEST
128DESCRIPTOR.message_types_by_name['BatchGetPermissionSetsRequest'] = _BATCHGETPERMISSIONSETSREQUEST
129DESCRIPTOR.message_types_by_name['BatchGetPermissionSetsResponse'] = _BATCHGETPERMISSIONSETSRESPONSE
130_sym_db.RegisterFileDescriptor(DESCRIPTOR)
131
132GetPermissionSetRequest = _reflection.GeneratedProtocolMessageType('GetPermissionSetRequest', (_message.Message,), {
133 'DESCRIPTOR' : _GETPERMISSIONSETREQUEST,
134 '__module__' : 'api.v3.api_proto.permissions_pb2'
135 # @@protoc_insertion_point(class_scope:monorail.v3.GetPermissionSetRequest)
136 })
137_sym_db.RegisterMessage(GetPermissionSetRequest)
138
139BatchGetPermissionSetsRequest = _reflection.GeneratedProtocolMessageType('BatchGetPermissionSetsRequest', (_message.Message,), {
140 'DESCRIPTOR' : _BATCHGETPERMISSIONSETSREQUEST,
141 '__module__' : 'api.v3.api_proto.permissions_pb2'
142 # @@protoc_insertion_point(class_scope:monorail.v3.BatchGetPermissionSetsRequest)
143 })
144_sym_db.RegisterMessage(BatchGetPermissionSetsRequest)
145
146BatchGetPermissionSetsResponse = _reflection.GeneratedProtocolMessageType('BatchGetPermissionSetsResponse', (_message.Message,), {
147 'DESCRIPTOR' : _BATCHGETPERMISSIONSETSRESPONSE,
148 '__module__' : 'api.v3.api_proto.permissions_pb2'
149 # @@protoc_insertion_point(class_scope:monorail.v3.BatchGetPermissionSetsResponse)
150 })
151_sym_db.RegisterMessage(BatchGetPermissionSetsResponse)
152
153
154DESCRIPTOR._options = None
155_GETPERMISSIONSETREQUEST.fields_by_name['name']._options = None
156_BATCHGETPERMISSIONSETSREQUEST.fields_by_name['names']._options = None
157
158_PERMISSIONS = _descriptor.ServiceDescriptor(
159 name='Permissions',
160 full_name='monorail.v3.Permissions',
161 file=DESCRIPTOR,
162 index=0,
163 serialized_options=None,
164 create_key=_descriptor._internal_create_key,
165 serialized_start=314,
166 serialized_end=532,
167 methods=[
168 _descriptor.MethodDescriptor(
169 name='GetPermissionSet',
170 full_name='monorail.v3.Permissions.GetPermissionSet',
171 index=0,
172 containing_service=None,
173 input_type=_GETPERMISSIONSETREQUEST,
174 output_type=api_dot_v3_dot_api__proto_dot_permission__objects__pb2._PERMISSIONSET,
175 serialized_options=None,
176 create_key=_descriptor._internal_create_key,
177 ),
178 _descriptor.MethodDescriptor(
179 name='BatchGetPermissionSets',
180 full_name='monorail.v3.Permissions.BatchGetPermissionSets',
181 index=1,
182 containing_service=None,
183 input_type=_BATCHGETPERMISSIONSETSREQUEST,
184 output_type=_BATCHGETPERMISSIONSETSRESPONSE,
185 serialized_options=None,
186 create_key=_descriptor._internal_create_key,
187 ),
188])
189_sym_db.RegisterServiceDescriptor(_PERMISSIONS)
190
191DESCRIPTOR.services_by_name['Permissions'] = _PERMISSIONS
192
193# @@protoc_insertion_point(module_scope)