perxis.roles.roles_pb2
Generated protocol buffer code.
1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# NO CHECKED-IN PROTOBUF GENCODE 4# source: roles/roles.proto 5# Protobuf Python Version: 5.27.2 6"""Generated protocol buffer code.""" 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import descriptor_pool as _descriptor_pool 9from google.protobuf import runtime_version as _runtime_version 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf.internal import builder as _builder 12_runtime_version.ValidateProtobufRuntimeVersion( 13 _runtime_version.Domain.PUBLIC, 14 5, 15 27, 16 2, 17 '', 18 'roles/roles.proto' 19) 20# @@protoc_insertion_point(imports) 21 22_sym_db = _symbol_database.Default() 23 24 25from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 26from perxis.common import common_pb2 as common_dot_common__pb2 27 28 29DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11roles/roles.proto\x12\rcontent.roles\x1a\x1bgoogle/protobuf/empty.proto\x1a\x13\x63ommon/common.proto\"\x86\x01\n\x04Role\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x05rules\x18\x04 \x03(\x0b\x32\x0c.common.Rule\x12\x14\n\x0c\x65nvironments\x18\x05 \x03(\t\x12\x18\n\x10\x61llow_management\x18\n \x01(\x08\"2\n\rCreateRequest\x12!\n\x04role\x18\x01 \x01(\x0b\x32\x13.content.roles.Role\"6\n\x0e\x43reateResponse\x12$\n\x07\x63reated\x18\x01 \x01(\x0b\x32\x13.content.roles.Role\"/\n\nGetRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0f\n\x07role_id\x18\x02 \x01(\t\"0\n\x0bGetResponse\x12!\n\x04role\x18\x01 \x01(\x0b\x32\x13.content.roles.Role\"2\n\rUpdateRequest\x12!\n\x04role\x18\x01 \x01(\x0b\x32\x13.content.roles.Role\"\x1f\n\x0bListRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\"2\n\x0cListResponse\x12\"\n\x05roles\x18\x01 \x03(\x0b\x32\x13.content.roles.Role\"2\n\rDeleteRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0f\n\x07role_id\x18\x02 \x01(\t2\xd7\x02\n\x05Roles\x12G\n\x06\x43reate\x12\x1c.content.roles.CreateRequest\x1a\x1d.content.roles.CreateResponse\"\x00\x12>\n\x03Get\x12\x19.content.roles.GetRequest\x1a\x1a.content.roles.GetResponse\"\x00\x12@\n\x06Update\x12\x1c.content.roles.UpdateRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x41\n\x04List\x12\x1a.content.roles.ListRequest\x1a\x1b.content.roles.ListResponse\"\x00\x12@\n\x06\x44\x65lete\x12\x1c.content.roles.DeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\x30Z.git.perx.ru/perxis/perxis-go/proto/roles;rolesb\x06proto3') 30 31_globals = globals() 32_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 33_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'roles.roles_pb2', _globals) 34if not _descriptor._USE_C_DESCRIPTORS: 35 _globals['DESCRIPTOR']._loaded_options = None 36 _globals['DESCRIPTOR']._serialized_options = b'Z.git.perx.ru/perxis/perxis-go/proto/roles;roles' 37 _globals['_ROLE']._serialized_start=87 38 _globals['_ROLE']._serialized_end=221 39 _globals['_CREATEREQUEST']._serialized_start=223 40 _globals['_CREATEREQUEST']._serialized_end=273 41 _globals['_CREATERESPONSE']._serialized_start=275 42 _globals['_CREATERESPONSE']._serialized_end=329 43 _globals['_GETREQUEST']._serialized_start=331 44 _globals['_GETREQUEST']._serialized_end=378 45 _globals['_GETRESPONSE']._serialized_start=380 46 _globals['_GETRESPONSE']._serialized_end=428 47 _globals['_UPDATEREQUEST']._serialized_start=430 48 _globals['_UPDATEREQUEST']._serialized_end=480 49 _globals['_LISTREQUEST']._serialized_start=482 50 _globals['_LISTREQUEST']._serialized_end=513 51 _globals['_LISTRESPONSE']._serialized_start=515 52 _globals['_LISTRESPONSE']._serialized_end=565 53 _globals['_DELETEREQUEST']._serialized_start=567 54 _globals['_DELETEREQUEST']._serialized_end=617 55 _globals['_ROLES']._serialized_start=620 56 _globals['_ROLES']._serialized_end=963 57# @@protoc_insertion_point(module_scope)
DESCRIPTOR =
<google.protobuf.descriptor.FileDescriptor object>