# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: chatto/api/v1/account.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/account.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 external_identities_pb2 as chatto_dot_api_dot_v1_dot_external__identities__pb2 from chatto.api.v1 import presence_pb2 as chatto_dot_api_dot_v1_dot_presence__pb2 from chatto.api.v1 import user_status_pb2 as chatto_dot_api_dot_v1_dot_user__status__pb2 from chatto.api.v1 import users_pb2 as chatto_dot_api_dot_v1_dot_users__pb2 from chatto.api.v1 import viewer_pb2 as chatto_dot_api_dot_v1_dot_viewer__pb2 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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.account_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: DESCRIPTOR._loaded_options = None _globals['_UPDATEPROFILEREQUEST'].fields_by_name['display_name']._loaded_options = None _globals['_UPDATEPROFILEREQUEST'].fields_by_name['display_name']._serialized_options = b'\272H\004r\002\030 ' _globals['_UPDATEPROFILEREQUEST'].fields_by_name['login']._loaded_options = None _globals['_UPDATEPROFILEREQUEST'].fields_by_name['login']._serialized_options = b'\272H\006r\004\020\002\030 ' _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['password']._loaded_options = None _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['password']._serialized_options = b'\272H\007r\005\020\010\030\200\001' _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['current_password']._loaded_options = None _globals['_UPDATEPASSWORDREQUEST'].fields_by_name['current_password']._serialized_options = b'\272H\005r\003\030\200\001' _globals['_UPDATEPROFILEREQUEST']._serialized_start=262 _globals['_UPDATEPROFILEREQUEST']._serialized_end=378 _globals['_UPDATEPROFILERESPONSE']._serialized_start=380 _globals['_UPDATEPROFILERESPONSE']._serialized_end=438 _globals['_UPLOADAVATARREQUEST']._serialized_start=440 _globals['_UPLOADAVATARREQUEST']._serialized_end=534 _globals['_UPLOADAVATARRESPONSE']._serialized_start=536 _globals['_UPLOADAVATARRESPONSE']._serialized_end=593 _globals['_DELETEAVATARREQUEST']._serialized_start=595 _globals['_DELETEAVATARREQUEST']._serialized_end=616 _globals['_DELETEAVATARRESPONSE']._serialized_start=618 _globals['_DELETEAVATARRESPONSE']._serialized_end=675 _globals['_UPDATEPASSWORDREQUEST']._serialized_start=677 _globals['_UPDATEPASSWORDREQUEST']._serialized_end=766 _globals['_UPDATEPASSWORDRESPONSE']._serialized_start=768 _globals['_UPDATEPASSWORDRESPONSE']._serialized_end=827 _globals['_UPDATESETTINGSREQUEST']._serialized_start=830 _globals['_UPDATESETTINGSREQUEST']._serialized_end=958 _globals['_UPDATESETTINGSRESPONSE']._serialized_start=960 _globals['_UPDATESETTINGSRESPONSE']._serialized_end=1031 _globals['_REQUESTACCOUNTDELETIONREQUEST']._serialized_start=1033 _globals['_REQUESTACCOUNTDELETIONREQUEST']._serialized_end=1064 _globals['_REQUESTACCOUNTDELETIONRESPONSE']._serialized_start=1066 _globals['_REQUESTACCOUNTDELETIONRESPONSE']._serialized_end=1126 _globals['_DELETEMYACCOUNTREQUEST']._serialized_start=1128 _globals['_DELETEMYACCOUNTREQUEST']._serialized_end=1180 _globals['_DELETEMYACCOUNTRESPONSE']._serialized_start=1182 _globals['_DELETEMYACCOUNTRESPONSE']._serialized_end=1224 _globals['_MYACCOUNTSERVICE']._serialized_start=1227 _globals['_MYACCOUNTSERVICE']._serialized_end=2610 # @@protoc_insertion_point(module_scope)