# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: chatto/admin/v1/server.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/admin/v1/server.proto' ) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 from chatto.api.v1 import common_pb2 as chatto_dot_api_dot_v1_dot_common__pb2 from chatto.api.v1 import server_pb2 as chatto_dot_api_dot_v1_dot_server__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63hatto/admin/v1/server.proto\x12\x0f\x63hatto.admin.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1a\x63hatto/api/v1/common.proto\x1a\x1a\x63hatto/api/v1/server.proto\"_\n\x0cServerConfig\x12\x13\n\x0bserver_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04motd\x18\x03 \x01(\t\x12\x17\n\x0fwelcome_message\x18\x04 \x01(\t\"\x18\n\x16GetServerConfigRequest\"\x93\x01\n\x17GetServerConfigResponse\x12-\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1d.chatto.admin.v1.ServerConfig\x12:\n\x0epublic_profile\x18\x03 \x01(\x0b\x32\".chatto.api.v1.ServerPublicProfileJ\x04\x08\x02\x10\x03R\x07profile\"\xe4\x01\n\x19UpdateServerConfigRequest\x12!\n\x0bserver_name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x18PH\x00\x88\x01\x01\x12\"\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01\x88\x01\x01\x12\x1b\n\x04motd\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xe8\x07H\x02\x88\x01\x01\x12&\n\x0fwelcome_message\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\x90NH\x03\x88\x01\x01\x42\x0e\n\x0c_server_nameB\x0e\n\x0c_descriptionB\x07\n\x05_motdB\x12\n\x10_welcome_message\"\x96\x01\n\x1aUpdateServerConfigResponse\x12:\n\x0epublic_profile\x18\x03 \x01(\x0b\x32\".chatto.api.v1.ServerPublicProfile\x12-\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1d.chatto.admin.v1.ServerConfigJ\x04\x08\x01\x10\x02R\x07profile\"b\n\x17UploadServerLogoRequest\x12)\n\x05image\x18\x04 \x01(\x0b\x32\x1a.chatto.api.v1.ImageUploadJ\x04\x08\x01\x10\x04R\x08\x66ilenameR\x0c\x63ontent_type\"e\n\x18UploadServerLogoResponse\x12:\n\x0epublic_profile\x18\x02 \x01(\x0b\x32\".chatto.api.v1.ServerPublicProfileJ\x04\x08\x01\x10\x02R\x07profile\"\x19\n\x17\x44\x65leteServerLogoRequest\"e\n\x18\x44\x65leteServerLogoResponse\x12:\n\x0epublic_profile\x18\x02 \x01(\x0b\x32\".chatto.api.v1.ServerPublicProfileJ\x04\x08\x01\x10\x02R\x07profile\"d\n\x19UploadServerBannerRequest\x12)\n\x05image\x18\x04 \x01(\x0b\x32\x1a.chatto.api.v1.ImageUploadJ\x04\x08\x01\x10\x04R\x08\x66ilenameR\x0c\x63ontent_type\"g\n\x1aUploadServerBannerResponse\x12:\n\x0epublic_profile\x18\x02 \x01(\x0b\x32\".chatto.api.v1.ServerPublicProfileJ\x04\x08\x01\x10\x02R\x07profile\"\x1b\n\x19\x44\x65leteServerBannerRequest\"g\n\x1a\x44\x65leteServerBannerResponse\x12:\n\x0epublic_profile\x18\x02 \x01(\x0b\x32\".chatto.api.v1.ServerPublicProfileJ\x04\x08\x01\x10\x02R\x07profile\" \n\x1eGetServerSecurityConfigRequest\"<\n\x1fGetServerSecurityConfigResponse\x12\x19\n\x11\x62locked_usernames\x18\x01 \x03(\t\"E\n\x1dUpdateBlockedUsernamesRequest\x12$\n\x11\x62locked_usernames\x18\x01 \x03(\tB\t\xbaH\x06\x92\x01\x03\x10\xe8\x07\";\n\x1eUpdateBlockedUsernamesResponse\x12\x19\n\x11\x62locked_usernames\x18\x01 \x03(\t2\x92\x07\n\x12\x41\x64minServerService\x12\x64\n\x0fGetServerConfig\x12\'.chatto.admin.v1.GetServerConfigRequest\x1a(.chatto.admin.v1.GetServerConfigResponse\x12m\n\x12UpdateServerConfig\x12*.chatto.admin.v1.UpdateServerConfigRequest\x1a+.chatto.admin.v1.UpdateServerConfigResponse\x12g\n\x10UploadServerLogo\x12(.chatto.admin.v1.UploadServerLogoRequest\x1a).chatto.admin.v1.UploadServerLogoResponse\x12g\n\x10\x44\x65leteServerLogo\x12(.chatto.admin.v1.DeleteServerLogoRequest\x1a).chatto.admin.v1.DeleteServerLogoResponse\x12m\n\x12UploadServerBanner\x12*.chatto.admin.v1.UploadServerBannerRequest\x1a+.chatto.admin.v1.UploadServerBannerResponse\x12m\n\x12\x44\x65leteServerBanner\x12*.chatto.admin.v1.DeleteServerBannerRequest\x1a+.chatto.admin.v1.DeleteServerBannerResponse\x12|\n\x17GetServerSecurityConfig\x12/.chatto.admin.v1.GetServerSecurityConfigRequest\x1a\x30.chatto.admin.v1.GetServerSecurityConfigResponse\x12y\n\x16UpdateBlockedUsernames\x12..chatto.admin.v1.UpdateBlockedUsernamesRequest\x1a/.chatto.admin.v1.UpdateBlockedUsernamesResponseb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.admin.v1.server_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: DESCRIPTOR._loaded_options = None _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['server_name']._loaded_options = None _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['server_name']._serialized_options = b'\272H\004r\002\030P' _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['description']._loaded_options = None _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\364\003' _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['motd']._loaded_options = None _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['motd']._serialized_options = b'\272H\005r\003\030\350\007' _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['welcome_message']._loaded_options = None _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['welcome_message']._serialized_options = b'\272H\005r\003\030\220N' _globals['_UPDATEBLOCKEDUSERNAMESREQUEST'].fields_by_name['blocked_usernames']._loaded_options = None _globals['_UPDATEBLOCKEDUSERNAMESREQUEST'].fields_by_name['blocked_usernames']._serialized_options = b'\272H\006\222\001\003\020\350\007' _globals['_SERVERCONFIG']._serialized_start=134 _globals['_SERVERCONFIG']._serialized_end=229 _globals['_GETSERVERCONFIGREQUEST']._serialized_start=231 _globals['_GETSERVERCONFIGREQUEST']._serialized_end=255 _globals['_GETSERVERCONFIGRESPONSE']._serialized_start=258 _globals['_GETSERVERCONFIGRESPONSE']._serialized_end=405 _globals['_UPDATESERVERCONFIGREQUEST']._serialized_start=408 _globals['_UPDATESERVERCONFIGREQUEST']._serialized_end=636 _globals['_UPDATESERVERCONFIGRESPONSE']._serialized_start=639 _globals['_UPDATESERVERCONFIGRESPONSE']._serialized_end=789 _globals['_UPLOADSERVERLOGOREQUEST']._serialized_start=791 _globals['_UPLOADSERVERLOGOREQUEST']._serialized_end=889 _globals['_UPLOADSERVERLOGORESPONSE']._serialized_start=891 _globals['_UPLOADSERVERLOGORESPONSE']._serialized_end=992 _globals['_DELETESERVERLOGOREQUEST']._serialized_start=994 _globals['_DELETESERVERLOGOREQUEST']._serialized_end=1019 _globals['_DELETESERVERLOGORESPONSE']._serialized_start=1021 _globals['_DELETESERVERLOGORESPONSE']._serialized_end=1122 _globals['_UPLOADSERVERBANNERREQUEST']._serialized_start=1124 _globals['_UPLOADSERVERBANNERREQUEST']._serialized_end=1224 _globals['_UPLOADSERVERBANNERRESPONSE']._serialized_start=1226 _globals['_UPLOADSERVERBANNERRESPONSE']._serialized_end=1329 _globals['_DELETESERVERBANNERREQUEST']._serialized_start=1331 _globals['_DELETESERVERBANNERREQUEST']._serialized_end=1358 _globals['_DELETESERVERBANNERRESPONSE']._serialized_start=1360 _globals['_DELETESERVERBANNERRESPONSE']._serialized_end=1463 _globals['_GETSERVERSECURITYCONFIGREQUEST']._serialized_start=1465 _globals['_GETSERVERSECURITYCONFIGREQUEST']._serialized_end=1497 _globals['_GETSERVERSECURITYCONFIGRESPONSE']._serialized_start=1499 _globals['_GETSERVERSECURITYCONFIGRESPONSE']._serialized_end=1559 _globals['_UPDATEBLOCKEDUSERNAMESREQUEST']._serialized_start=1561 _globals['_UPDATEBLOCKEDUSERNAMESREQUEST']._serialized_end=1630 _globals['_UPDATEBLOCKEDUSERNAMESRESPONSE']._serialized_start=1632 _globals['_UPDATEBLOCKEDUSERNAMESRESPONSE']._serialized_end=1691 _globals['_ADMINSERVERSERVICE']._serialized_start=1694 _globals['_ADMINSERVERSERVICE']._serialized_end=2608 # @@protoc_insertion_point(module_scope)