account_pb2.py 7.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: chatto/api/v1/account.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/api/v1/account.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 external_identities_pb2 as chatto_dot_api_dot_v1_dot_external__identities__pb2
  25. from chatto.api.v1 import presence_pb2 as chatto_dot_api_dot_v1_dot_presence__pb2
  26. from chatto.api.v1 import user_status_pb2 as chatto_dot_api_dot_v1_dot_user__status__pb2
  27. from chatto.api.v1 import users_pb2 as chatto_dot_api_dot_v1_dot_users__pb2
  28. from chatto.api.v1 import viewer_pb2 as chatto_dot_api_dot_v1_dot_viewer__pb2
  29. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63hatto/api/v1/account.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1a\x63hatto/api/v1/common.proto\x1a\'chatto/api/v1/external_identities.proto\x1a\x1c\x63hatto/api/v1/presence.proto\x1a\x1f\x63hatto/api/v1/user_status.proto\x1a\x19\x63hatto/api/v1/users.proto\x1a\x1a\x63hatto/api/v1/viewer.proto\"t\n\x14UpdateProfileRequest\x12\"\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x18 H\x00\x88\x01\x01\x12\x1d\n\x05login\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18 H\x01\x88\x01\x01\x42\x0f\n\r_display_nameB\x08\n\x06_login\":\n\x15UpdateProfileResponse\x12!\n\x04user\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.User\"^\n\x13UploadAvatarRequest\x12)\n\x05image\x18\x04 \x01(\x0b\x32\x1a.chatto.api.v1.ImageUploadJ\x04\x08\x01\x10\x04R\x08\x66ilenameR\x0c\x63ontent_type\"9\n\x14UploadAvatarResponse\x12!\n\x04user\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.User\"\x15\n\x13\x44\x65leteAvatarRequest\"9\n\x14\x44\x65leteAvatarResponse\x12!\n\x04user\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.User\"Y\n\x15UpdatePasswordRequest\x12\x1c\n\x08password\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x08\x18\x80\x01\x12\"\n\x10\x63urrent_password\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01\";\n\x16UpdatePasswordResponse\x12!\n\x04user\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.User\"\x80\x01\n\x15UpdateSettingsRequest\x12\x15\n\x08timezone\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x33\n\x0btime_format\x18\x02 \x01(\x0e\x32\x19.chatto.api.v1.TimeFormatH\x01\x88\x01\x01\x42\x0b\n\t_timezoneB\x0e\n\x0c_time_format\"G\n\x16UpdateSettingsResponse\x12-\n\x08settings\x18\x01 \x01(\x0b\x32\x1b.chatto.api.v1.UserSettings\"\x1f\n\x1dRequestAccountDeletionRequest\"<\n\x1eRequestAccountDeletionResponse\x12\x1a\n\x12\x63onfirmation_token\x18\x01 \x01(\t\"4\n\x16\x44\x65leteMyAccountRequest\x12\x1a\n\x12\x63onfirmation_token\x18\x01 \x01(\t\"*\n\x17\x44\x65leteMyAccountResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08\x32\xe7\n\n\x10MyAccountService\x12Z\n\rUpdateProfile\x12#.chatto.api.v1.UpdateProfileRequest\x1a$.chatto.api.v1.UpdateProfileResponse\x12W\n\x0cUploadAvatar\x12\".chatto.api.v1.UploadAvatarRequest\x1a#.chatto.api.v1.UploadAvatarResponse\x12W\n\x0c\x44\x65leteAvatar\x12\".chatto.api.v1.DeleteAvatarRequest\x1a#.chatto.api.v1.DeleteAvatarResponse\x12]\n\x0eUpdatePassword\x12$.chatto.api.v1.UpdatePasswordRequest\x1a%.chatto.api.v1.UpdatePasswordResponse\x12]\n\x0eUpdateSettings\x12$.chatto.api.v1.UpdateSettingsRequest\x1a%.chatto.api.v1.UpdateSettingsResponse\x12u\n\x16ListExternalIdentities\x12,.chatto.api.v1.ListExternalIdentitiesRequest\x1a-.chatto.api.v1.ListExternalIdentitiesResponse\x12~\n\x19StartExternalIdentityLink\x12/.chatto.api.v1.StartExternalIdentityLinkRequest\x1a\x30.chatto.api.v1.StartExternalIdentityLinkResponse\x12\x81\x01\n\x1a\x44isconnectExternalIdentity\x12\x30.chatto.api.v1.DisconnectExternalIdentityRequest\x1a\x31.chatto.api.v1.DisconnectExternalIdentityResponse\x12]\n\x0eUpdatePresence\x12$.chatto.api.v1.UpdatePresenceRequest\x1a%.chatto.api.v1.UpdatePresenceResponse\x12i\n\x12UpdateCustomStatus\x12(.chatto.api.v1.UpdateCustomStatusRequest\x1a).chatto.api.v1.UpdateCustomStatusResponse\x12i\n\x12\x44\x65leteCustomStatus\x12(.chatto.api.v1.DeleteCustomStatusRequest\x1a).chatto.api.v1.DeleteCustomStatusResponse\x12u\n\x16RequestAccountDeletion\x12,.chatto.api.v1.RequestAccountDeletionRequest\x1a-.chatto.api.v1.RequestAccountDeletionResponse\x12`\n\x0f\x44\x65leteMyAccount\x12%.chatto.api.v1.DeleteMyAccountRequest\x1a&.chatto.api.v1.DeleteMyAccountResponseb\x06proto3')
  30. _globals = globals()
  31. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  32. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.account_pb2', _globals)
  33. if not _descriptor._USE_C_DESCRIPTORS:
  34. DESCRIPTOR._loaded_options = None
  35. _globals['_UPDATEPROFILEREQUEST'].fields_by_name['display_name']._loaded_options = None
  36. _globals['_UPDATEPROFILEREQUEST'].fields_by_name['display_name']._serialized_options = b'\272H\004r\002\030 '
  37. _globals['_UPDATEPROFILEREQUEST'].fields_by_name['login']._loaded_options = None
  38. _globals['_UPDATEPROFILEREQUEST'].fields_by_name['login']._serialized_options = b'\272H\006r\004\020\002\030 '
  39. _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['password']._loaded_options = None
  40. _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['password']._serialized_options = b'\272H\007r\005\020\010\030\200\001'
  41. _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['current_password']._loaded_options = None
  42. _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['current_password']._serialized_options = b'\272H\005r\003\030\200\001'
  43. _globals['_UPDATEPROFILEREQUEST']._serialized_start=262
  44. _globals['_UPDATEPROFILEREQUEST']._serialized_end=378
  45. _globals['_UPDATEPROFILERESPONSE']._serialized_start=380
  46. _globals['_UPDATEPROFILERESPONSE']._serialized_end=438
  47. _globals['_UPLOADAVATARREQUEST']._serialized_start=440
  48. _globals['_UPLOADAVATARREQUEST']._serialized_end=534
  49. _globals['_UPLOADAVATARRESPONSE']._serialized_start=536
  50. _globals['_UPLOADAVATARRESPONSE']._serialized_end=593
  51. _globals['_DELETEAVATARREQUEST']._serialized_start=595
  52. _globals['_DELETEAVATARREQUEST']._serialized_end=616
  53. _globals['_DELETEAVATARRESPONSE']._serialized_start=618
  54. _globals['_DELETEAVATARRESPONSE']._serialized_end=675
  55. _globals['_UPDATEPASSWORDREQUEST']._serialized_start=677
  56. _globals['_UPDATEPASSWORDREQUEST']._serialized_end=766
  57. _globals['_UPDATEPASSWORDRESPONSE']._serialized_start=768
  58. _globals['_UPDATEPASSWORDRESPONSE']._serialized_end=827
  59. _globals['_UPDATESETTINGSREQUEST']._serialized_start=830
  60. _globals['_UPDATESETTINGSREQUEST']._serialized_end=958
  61. _globals['_UPDATESETTINGSRESPONSE']._serialized_start=960
  62. _globals['_UPDATESETTINGSRESPONSE']._serialized_end=1031
  63. _globals['_REQUESTACCOUNTDELETIONREQUEST']._serialized_start=1033
  64. _globals['_REQUESTACCOUNTDELETIONREQUEST']._serialized_end=1064
  65. _globals['_REQUESTACCOUNTDELETIONRESPONSE']._serialized_start=1066
  66. _globals['_REQUESTACCOUNTDELETIONRESPONSE']._serialized_end=1126
  67. _globals['_DELETEMYACCOUNTREQUEST']._serialized_start=1128
  68. _globals['_DELETEMYACCOUNTREQUEST']._serialized_end=1180
  69. _globals['_DELETEMYACCOUNTRESPONSE']._serialized_start=1182
  70. _globals['_DELETEMYACCOUNTRESPONSE']._serialized_end=1224
  71. _globals['_MYACCOUNTSERVICE']._serialized_start=1227
  72. _globals['_MYACCOUNTSERVICE']._serialized_end=2610
  73. # @@protoc_insertion_point(module_scope)