# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/notification_preferences.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/notification_preferences.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,chatto/api/v1/notification_preferences.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\"\x84\x01\n\x16NotificationPreference\x12/\n\x05level\x18\x01 \x01(\x0e\x32 .chatto.api.v1.NotificationLevel\x12\x39\n\x0f\x65\x66\x66\x65\x63tive_level\x18\x02 \x01(\x0e\x32 .chatto.api.v1.NotificationLevel\"\x82\x01\n!GetNotificationPreferenceResponse\x12\x39\n\npreference\x18\x03 \x01(\x0b\x32%.chatto.api.v1.NotificationPreferenceJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x05levelR\x0f\x65\x66\x66\x65\x63tive_level\"\x85\x01\n$UpdateNotificationPreferenceResponse\x12\x39\n\npreference\x18\x03 \x01(\x0b\x32%.chatto.api.v1.NotificationPreferenceJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x05levelR\x0f\x65\x66\x66\x65\x63tive_level\"(\n&GetServerNotificationPreferenceRequest\"h\n)UpdateServerNotificationPreferenceRequest\x12;\n\x05level\x18\x01 \x01(\x0e\x32 .chatto.api.v1.NotificationLevelB\n\xbaH\x07\x82\x01\x04\x10\x01 \x00\"@\n$GetRoomNotificationPreferenceRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"\x80\x01\n\'UpdateRoomNotificationPreferenceRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12;\n\x05level\x18\x02 \x01(\x0e\x32 .chatto.api.v1.NotificationLevelB\n\xbaH\x07\x82\x01\x04\x10\x01 \x00*\xb9\x01\n\x11NotificationLevel\x12\"\n\x1eNOTIFICATION_LEVEL_UNSPECIFIED\x10\x00\x12\x1e\n\x1aNOTIFICATION_LEVEL_DEFAULT\x10\x01\x12\x1c\n\x18NOTIFICATION_LEVEL_MUTED\x10\x02\x12\x1d\n\x19NOTIFICATION_LEVEL_NORMAL\x10\x03\x12#\n\x1fNOTIFICATION_LEVEL_ALL_MESSAGES\x10\x04\x32\xde\x04\n\x1eNotificationPreferencesService\x12\x8a\x01\n\x1fGetServerNotificationPreference\x12\x35.chatto.api.v1.GetServerNotificationPreferenceRequest\x1a\x30.chatto.api.v1.GetNotificationPreferenceResponse\x12\x93\x01\n\"UpdateServerNotificationPreference\x12\x38.chatto.api.v1.UpdateServerNotificationPreferenceRequest\x1a\x33.chatto.api.v1.UpdateNotificationPreferenceResponse\x12\x86\x01\n\x1dGetRoomNotificationPreference\x12\x33.chatto.api.v1.GetRoomNotificationPreferenceRequest\x1a\x30.chatto.api.v1.GetNotificationPreferenceResponse\x12\x8f\x01\n UpdateRoomNotificationPreference\x12\x36.chatto.api.v1.UpdateRoomNotificationPreferenceRequest\x1a\x33.chatto.api.v1.UpdateNotificationPreferenceResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.notification_preferences_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_UPDATESERVERNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['level']._loaded_options = None
  _globals['_UPDATESERVERNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['level']._serialized_options = b'\272H\007\202\001\004\020\001 \000'
  _globals['_GETROOMNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETROOMNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_UPDATEROOMNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_UPDATEROOMNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_UPDATEROOMNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['level']._loaded_options = None
  _globals['_UPDATEROOMNOTIFICATIONPREFERENCEREQUEST'].fields_by_name['level']._serialized_options = b'\272H\007\202\001\004\020\001 \000'
  _globals['_NOTIFICATIONLEVEL']._serialized_start=842
  _globals['_NOTIFICATIONLEVEL']._serialized_end=1027
  _globals['_NOTIFICATIONPREFERENCE']._serialized_start=93
  _globals['_NOTIFICATIONPREFERENCE']._serialized_end=225
  _globals['_GETNOTIFICATIONPREFERENCERESPONSE']._serialized_start=228
  _globals['_GETNOTIFICATIONPREFERENCERESPONSE']._serialized_end=358
  _globals['_UPDATENOTIFICATIONPREFERENCERESPONSE']._serialized_start=361
  _globals['_UPDATENOTIFICATIONPREFERENCERESPONSE']._serialized_end=494
  _globals['_GETSERVERNOTIFICATIONPREFERENCEREQUEST']._serialized_start=496
  _globals['_GETSERVERNOTIFICATIONPREFERENCEREQUEST']._serialized_end=536
  _globals['_UPDATESERVERNOTIFICATIONPREFERENCEREQUEST']._serialized_start=538
  _globals['_UPDATESERVERNOTIFICATIONPREFERENCEREQUEST']._serialized_end=642
  _globals['_GETROOMNOTIFICATIONPREFERENCEREQUEST']._serialized_start=644
  _globals['_GETROOMNOTIFICATIONPREFERENCEREQUEST']._serialized_end=708
  _globals['_UPDATEROOMNOTIFICATIONPREFERENCEREQUEST']._serialized_start=711
  _globals['_UPDATEROOMNOTIFICATIONPREFERENCEREQUEST']._serialized_end=839
  _globals['_NOTIFICATIONPREFERENCESSERVICE']._serialized_start=1030
  _globals['_NOTIFICATIONPREFERENCESSERVICE']._serialized_end=1636
# @@protoc_insertion_point(module_scope)
