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/permissions.proto |
| 4 | |
| 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 api.v3.api_proto import permission_objects_pb2 as api_dot_v3_dot_api__proto_dot_permission__objects__pb2 |
| 16 | |
| 17 | |
| 18 | DESCRIPTOR = _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 |
| 127 | DESCRIPTOR.message_types_by_name['GetPermissionSetRequest'] = _GETPERMISSIONSETREQUEST |
| 128 | DESCRIPTOR.message_types_by_name['BatchGetPermissionSetsRequest'] = _BATCHGETPERMISSIONSETSREQUEST |
| 129 | DESCRIPTOR.message_types_by_name['BatchGetPermissionSetsResponse'] = _BATCHGETPERMISSIONSETSRESPONSE |
| 130 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 131 | |
| 132 | GetPermissionSetRequest = _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 | |
| 139 | BatchGetPermissionSetsRequest = _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 | |
| 146 | BatchGetPermissionSetsResponse = _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 | |
| 154 | DESCRIPTOR._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 | |
| 191 | DESCRIPTOR.services_by_name['Permissions'] = _PERMISSIONS |
| 192 | |
| 193 | # @@protoc_insertion_point(module_scope) |