server_pb2.py 8.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: chatto/admin/v1/server.proto
  5. # Protobuf Python Version: 7.34.1
  6. """Generated protocol buffer code."""
  7. from google.protobuf import descriptor as _descriptor
  8. from google.protobuf import descriptor_pool as _descriptor_pool
  9. from google.protobuf import runtime_version as _runtime_version
  10. from google.protobuf import symbol_database as _symbol_database
  11. from google.protobuf.internal import builder as _builder
  12. _runtime_version.ValidateProtobufRuntimeVersion(
  13. _runtime_version.Domain.PUBLIC,
  14. 7,
  15. 34,
  16. 1,
  17. '',
  18. 'chatto/admin/v1/server.proto'
  19. )
  20. # @@protoc_insertion_point(imports)
  21. _sym_db = _symbol_database.Default()
  22. from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
  23. from chatto.api.v1 import common_pb2 as chatto_dot_api_dot_v1_dot_common__pb2
  24. from chatto.api.v1 import server_pb2 as chatto_dot_api_dot_v1_dot_server__pb2
  25. 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')
  26. _globals = globals()
  27. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  28. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.admin.v1.server_pb2', _globals)
  29. if not _descriptor._USE_C_DESCRIPTORS:
  30. DESCRIPTOR._loaded_options = None
  31. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['server_name']._loaded_options = None
  32. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['server_name']._serialized_options = b'\272H\004r\002\030P'
  33. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['description']._loaded_options = None
  34. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\364\003'
  35. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['motd']._loaded_options = None
  36. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['motd']._serialized_options = b'\272H\005r\003\030\350\007'
  37. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['welcome_message']._loaded_options = None
  38. _globals['_UPDATESERVERCONFIGREQUEST'].fields_by_name['welcome_message']._serialized_options = b'\272H\005r\003\030\220N'
  39. _globals['_UPDATEBLOCKEDUSERNAMESREQUEST'].fields_by_name['blocked_usernames']._loaded_options = None
  40. _globals['_UPDATEBLOCKEDUSERNAMESREQUEST'].fields_by_name['blocked_usernames']._serialized_options = b'\272H\006\222\001\003\020\350\007'
  41. _globals['_SERVERCONFIG']._serialized_start=134
  42. _globals['_SERVERCONFIG']._serialized_end=229
  43. _globals['_GETSERVERCONFIGREQUEST']._serialized_start=231
  44. _globals['_GETSERVERCONFIGREQUEST']._serialized_end=255
  45. _globals['_GETSERVERCONFIGRESPONSE']._serialized_start=258
  46. _globals['_GETSERVERCONFIGRESPONSE']._serialized_end=405
  47. _globals['_UPDATESERVERCONFIGREQUEST']._serialized_start=408
  48. _globals['_UPDATESERVERCONFIGREQUEST']._serialized_end=636
  49. _globals['_UPDATESERVERCONFIGRESPONSE']._serialized_start=639
  50. _globals['_UPDATESERVERCONFIGRESPONSE']._serialized_end=789
  51. _globals['_UPLOADSERVERLOGOREQUEST']._serialized_start=791
  52. _globals['_UPLOADSERVERLOGOREQUEST']._serialized_end=889
  53. _globals['_UPLOADSERVERLOGORESPONSE']._serialized_start=891
  54. _globals['_UPLOADSERVERLOGORESPONSE']._serialized_end=992
  55. _globals['_DELETESERVERLOGOREQUEST']._serialized_start=994
  56. _globals['_DELETESERVERLOGOREQUEST']._serialized_end=1019
  57. _globals['_DELETESERVERLOGORESPONSE']._serialized_start=1021
  58. _globals['_DELETESERVERLOGORESPONSE']._serialized_end=1122
  59. _globals['_UPLOADSERVERBANNERREQUEST']._serialized_start=1124
  60. _globals['_UPLOADSERVERBANNERREQUEST']._serialized_end=1224
  61. _globals['_UPLOADSERVERBANNERRESPONSE']._serialized_start=1226
  62. _globals['_UPLOADSERVERBANNERRESPONSE']._serialized_end=1329
  63. _globals['_DELETESERVERBANNERREQUEST']._serialized_start=1331
  64. _globals['_DELETESERVERBANNERREQUEST']._serialized_end=1358
  65. _globals['_DELETESERVERBANNERRESPONSE']._serialized_start=1360
  66. _globals['_DELETESERVERBANNERRESPONSE']._serialized_end=1463
  67. _globals['_GETSERVERSECURITYCONFIGREQUEST']._serialized_start=1465
  68. _globals['_GETSERVERSECURITYCONFIGREQUEST']._serialized_end=1497
  69. _globals['_GETSERVERSECURITYCONFIGRESPONSE']._serialized_start=1499
  70. _globals['_GETSERVERSECURITYCONFIGRESPONSE']._serialized_end=1559
  71. _globals['_UPDATEBLOCKEDUSERNAMESREQUEST']._serialized_start=1561
  72. _globals['_UPDATEBLOCKEDUSERNAMESREQUEST']._serialized_end=1630
  73. _globals['_UPDATEBLOCKEDUSERNAMESRESPONSE']._serialized_start=1632
  74. _globals['_UPDATEBLOCKEDUSERNAMESRESPONSE']._serialized_end=1691
  75. _globals['_ADMINSERVERSERVICE']._serialized_start=1694
  76. _globals['_ADMINSERVERSERVICE']._serialized_end=2608
  77. # @@protoc_insertion_point(module_scope)