| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # NO CHECKED-IN PROTOBUF GENCODE
- # source: chatto/api/v1/roles.proto
- # Protobuf Python Version: 7.34.1
- """Generated protocol buffer code."""
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import descriptor_pool as _descriptor_pool
- from google.protobuf import runtime_version as _runtime_version
- from google.protobuf import symbol_database as _symbol_database
- from google.protobuf.internal import builder as _builder
- _runtime_version.ValidateProtobufRuntimeVersion(
- _runtime_version.Domain.PUBLIC,
- 7,
- 34,
- 1,
- '',
- 'chatto/api/v1/roles.proto'
- )
- # @@protoc_insertion_point(imports)
- _sym_db = _symbol_database.Default()
- from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x63hatto/api/v1/roles.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\"v\n\x04Role\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tis_system\x18\x04 \x01(\x08\x12\x10\n\x08position\x18\x05 \x01(\x05\x12\x10\n\x08pingable\x18\x06 \x01(\x08\"\x12\n\x10ListRolesRequest\"7\n\x11ListRolesResponse\x12\"\n\x05roles\x18\x01 \x03(\x0b\x32\x13.chatto.api.v1.Role\"\'\n\x0eGetRoleRequest\x12\x15\n\x04name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"4\n\x0fGetRoleResponse\x12!\n\x04role\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.Role\"7\n\x14\x42\x61tchGetRolesRequest\x12\x1f\n\x05names\x18\x01 \x03(\tB\x10\xbaH\r\x92\x01\n\x08\x01\x10\x64\"\x04r\x02\x10\x01\";\n\x15\x42\x61tchGetRolesResponse\x12\"\n\x05roles\x18\x01 \x03(\x0b\x32\x13.chatto.api.v1.Role2\x83\x02\n\x0bRoleService\x12N\n\tListRoles\x12\x1f.chatto.api.v1.ListRolesRequest\x1a .chatto.api.v1.ListRolesResponse\x12H\n\x07GetRole\x12\x1d.chatto.api.v1.GetRoleRequest\x1a\x1e.chatto.api.v1.GetRoleResponse\x12Z\n\rBatchGetRoles\x12#.chatto.api.v1.BatchGetRolesRequest\x1a$.chatto.api.v1.BatchGetRolesResponseb\x06proto3')
- _globals = globals()
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.roles_pb2', _globals)
- if not _descriptor._USE_C_DESCRIPTORS:
- DESCRIPTOR._loaded_options = None
- _globals['_GETROLEREQUEST'].fields_by_name['name']._loaded_options = None
- _globals['_GETROLEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\004r\002\020\001'
- _globals['_BATCHGETROLESREQUEST'].fields_by_name['names']._loaded_options = None
- _globals['_BATCHGETROLESREQUEST'].fields_by_name['names']._serialized_options = b'\272H\r\222\001\n\010\001\020d\"\004r\002\020\001'
- _globals['_ROLE']._serialized_start=73
- _globals['_ROLE']._serialized_end=191
- _globals['_LISTROLESREQUEST']._serialized_start=193
- _globals['_LISTROLESREQUEST']._serialized_end=211
- _globals['_LISTROLESRESPONSE']._serialized_start=213
- _globals['_LISTROLESRESPONSE']._serialized_end=268
- _globals['_GETROLEREQUEST']._serialized_start=270
- _globals['_GETROLEREQUEST']._serialized_end=309
- _globals['_GETROLERESPONSE']._serialized_start=311
- _globals['_GETROLERESPONSE']._serialized_end=363
- _globals['_BATCHGETROLESREQUEST']._serialized_start=365
- _globals['_BATCHGETROLESREQUEST']._serialized_end=420
- _globals['_BATCHGETROLESRESPONSE']._serialized_start=422
- _globals['_BATCHGETROLESRESPONSE']._serialized_end=481
- _globals['_ROLESERVICE']._serialized_start=484
- _globals['_ROLESERVICE']._serialized_end=743
- # @@protoc_insertion_point(module_scope)
|