# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/room_directory.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/room_directory.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 permissions_pb2 as chatto_dot_api_dot_v1_dot_permissions__pb2
from chatto.api.v1 import rooms_pb2 as chatto_dot_api_dot_v1_dot_rooms__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"chatto/api/v1/room_directory.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1f\x63hatto/api/v1/permissions.proto\x1a\x19\x63hatto/api/v1/rooms.proto\"m\n\x0fRoomViewerState\x12\x11\n\tis_member\x18\x01 \x01(\x08\x12\x12\n\nhas_unread\x18\x02 \x01(\x08\x12\x33\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x1e.chatto.api.v1.PermissionGrant\"\xba\x02\n\x13RoomWithViewerState\x12!\n\x04room\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.Room\x12\x34\n\x0cviewer_state\x18\x0e \x01(\x0b\x32\x1e.chatto.api.v1.RoomViewerStateJ\x04\x08\x02\x10\x0eR\tis_memberR\nhas_unreadR\rcan_list_roomR\rcan_join_roomR\x10\x63\x61n_post_messageR\x12\x63\x61n_post_in_threadR\ncan_attachR\tcan_reactR\x10\x63\x61n_echo_messageR\x19\x63\x61n_manage_others_messageR\x0f\x63\x61n_manage_roomR\x14\x63\x61n_ban_room_members\"5\n\x0bSidebarLink\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\"\x7f\n\rRoomGroupItem\x12\x32\n\x04room\x18\x01 \x01(\x0b\x32\".chatto.api.v1.RoomWithViewerStateH\x00\x12\x32\n\x0csidebar_link\x18\x02 \x01(\x0b\x32\x1a.chatto.api.v1.SidebarLinkH\x00\x42\x06\n\x04item\"b\n\x14RoomGroupViewerState\x12\x33\n\x0bpermissions\x18\x02 \x03(\x0b\x32\x1e.chatto.api.v1.PermissionGrantJ\x04\x08\x01\x10\x02R\x0f\x63\x61n_create_room\"\xaf\x01\n\tRoomGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12+\n\x05items\x18\x05 \x03(\x0b\x32\x1c.chatto.api.v1.RoomGroupItem\x12\x39\n\x0cviewer_state\x18\x06 \x01(\x0b\x32#.chatto.api.v1.RoomGroupViewerStateJ\x04\x08\x04\x10\x05R\x05rooms\"N\n\x10ListRoomsRequest\x12:\n\x05scope\x18\x01 \x01(\x0e\x32!.chatto.api.v1.RoomDirectoryScopeB\x08\xbaH\x05\x82\x01\x02\x10\x01\"F\n\x11ListRoomsResponse\x12\x31\n\x05rooms\x18\x01 \x03(\x0b\x32\".chatto.api.v1.RoomWithViewerState\"5\n\x15ListRoomGroupsRequestJ\x04\x08\x01\x10\x02R\x16include_archived_rooms\"B\n\x16ListRoomGroupsResponse\x12(\n\x06groups\x18\x01 \x03(\x0b\x32\x18.chatto.api.v1.RoomGroup\"N\n\x13GetRoomGroupRequest\x12\x19\n\x08group_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01J\x04\x08\x02\x10\x03R\x16include_archived_rooms\"?\n\x14GetRoomGroupResponse\x12\'\n\x05group\x18\x01 \x01(\x0b\x32\x18.chatto.api.v1.RoomGroup\"^\n\x19\x42\x61tchGetRoomGroupsRequest\x12#\n\tgroup_ids\x18\x01 \x03(\tB\x10\xbaH\r\x92\x01\n\x08\x01\x10\x64\"\x04r\x02\x10\x01J\x04\x08\x02\x10\x03R\x16include_archived_rooms\"F\n\x1a\x42\x61tchGetRoomGroupsResponse\x12(\n\x06groups\x18\x01 \x03(\x0b\x32\x18.chatto.api.v1.RoomGroup\"*\n\x0eGetRoomRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"C\n\x0fGetRoomResponse\x12\x30\n\x04room\x18\x01 \x01(\x0b\x32\".chatto.api.v1.RoomWithViewerState\":\n\x14\x42\x61tchGetRoomsRequest\x12\"\n\x08room_ids\x18\x01 \x03(\tB\x10\xbaH\r\x92\x01\n\x08\x01\x10\x64\"\x04r\x02\x10\x01\"J\n\x15\x42\x61tchGetRoomsResponse\x12\x31\n\x05rooms\x18\x01 \x03(\x0b\x32\".chatto.api.v1.RoomWithViewerState*\x99\x01\n\x12RoomDirectoryScope\x12$\n ROOM_DIRECTORY_SCOPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18ROOM_DIRECTORY_SCOPE_ALL\x10\x01\x12!\n\x1dROOM_DIRECTORY_SCOPE_CHANNELS\x10\x02\x12\x1c\n\x18ROOM_DIRECTORY_SCOPE_DMS\x10\x03\x32\xaf\x04\n\x14RoomDirectoryService\x12N\n\tListRooms\x12\x1f.chatto.api.v1.ListRoomsRequest\x1a .chatto.api.v1.ListRoomsResponse\x12]\n\x0eListRoomGroups\x12$.chatto.api.v1.ListRoomGroupsRequest\x1a%.chatto.api.v1.ListRoomGroupsResponse\x12W\n\x0cGetRoomGroup\x12\".chatto.api.v1.GetRoomGroupRequest\x1a#.chatto.api.v1.GetRoomGroupResponse\x12i\n\x12\x42\x61tchGetRoomGroups\x12(.chatto.api.v1.BatchGetRoomGroupsRequest\x1a).chatto.api.v1.BatchGetRoomGroupsResponse\x12H\n\x07GetRoom\x12\x1d.chatto.api.v1.GetRoomRequest\x1a\x1e.chatto.api.v1.GetRoomResponse\x12Z\n\rBatchGetRooms\x12#.chatto.api.v1.BatchGetRoomsRequest\x1a$.chatto.api.v1.BatchGetRoomsResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.room_directory_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_LISTROOMSREQUEST'].fields_by_name['scope']._loaded_options = None
  _globals['_LISTROOMSREQUEST'].fields_by_name['scope']._serialized_options = b'\272H\005\202\001\002\020\001'
  _globals['_GETROOMGROUPREQUEST'].fields_by_name['group_id']._loaded_options = None
  _globals['_GETROOMGROUPREQUEST'].fields_by_name['group_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_BATCHGETROOMGROUPSREQUEST'].fields_by_name['group_ids']._loaded_options = None
  _globals['_BATCHGETROOMGROUPSREQUEST'].fields_by_name['group_ids']._serialized_options = b'\272H\r\222\001\n\010\001\020d\"\004r\002\020\001'
  _globals['_GETROOMREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETROOMREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_BATCHGETROOMSREQUEST'].fields_by_name['room_ids']._loaded_options = None
  _globals['_BATCHGETROOMSREQUEST'].fields_by_name['room_ids']._serialized_options = b'\272H\r\222\001\n\010\001\020d\"\004r\002\020\001'
  _globals['_ROOMDIRECTORYSCOPE']._serialized_start=1870
  _globals['_ROOMDIRECTORYSCOPE']._serialized_end=2023
  _globals['_ROOMVIEWERSTATE']._serialized_start=142
  _globals['_ROOMVIEWERSTATE']._serialized_end=251
  _globals['_ROOMWITHVIEWERSTATE']._serialized_start=254
  _globals['_ROOMWITHVIEWERSTATE']._serialized_end=568
  _globals['_SIDEBARLINK']._serialized_start=570
  _globals['_SIDEBARLINK']._serialized_end=623
  _globals['_ROOMGROUPITEM']._serialized_start=625
  _globals['_ROOMGROUPITEM']._serialized_end=752
  _globals['_ROOMGROUPVIEWERSTATE']._serialized_start=754
  _globals['_ROOMGROUPVIEWERSTATE']._serialized_end=852
  _globals['_ROOMGROUP']._serialized_start=855
  _globals['_ROOMGROUP']._serialized_end=1030
  _globals['_LISTROOMSREQUEST']._serialized_start=1032
  _globals['_LISTROOMSREQUEST']._serialized_end=1110
  _globals['_LISTROOMSRESPONSE']._serialized_start=1112
  _globals['_LISTROOMSRESPONSE']._serialized_end=1182
  _globals['_LISTROOMGROUPSREQUEST']._serialized_start=1184
  _globals['_LISTROOMGROUPSREQUEST']._serialized_end=1237
  _globals['_LISTROOMGROUPSRESPONSE']._serialized_start=1239
  _globals['_LISTROOMGROUPSRESPONSE']._serialized_end=1305
  _globals['_GETROOMGROUPREQUEST']._serialized_start=1307
  _globals['_GETROOMGROUPREQUEST']._serialized_end=1385
  _globals['_GETROOMGROUPRESPONSE']._serialized_start=1387
  _globals['_GETROOMGROUPRESPONSE']._serialized_end=1450
  _globals['_BATCHGETROOMGROUPSREQUEST']._serialized_start=1452
  _globals['_BATCHGETROOMGROUPSREQUEST']._serialized_end=1546
  _globals['_BATCHGETROOMGROUPSRESPONSE']._serialized_start=1548
  _globals['_BATCHGETROOMGROUPSRESPONSE']._serialized_end=1618
  _globals['_GETROOMREQUEST']._serialized_start=1620
  _globals['_GETROOMREQUEST']._serialized_end=1662
  _globals['_GETROOMRESPONSE']._serialized_start=1664
  _globals['_GETROOMRESPONSE']._serialized_end=1731
  _globals['_BATCHGETROOMSREQUEST']._serialized_start=1733
  _globals['_BATCHGETROOMSREQUEST']._serialized_end=1791
  _globals['_BATCHGETROOMSRESPONSE']._serialized_start=1793
  _globals['_BATCHGETROOMSRESPONSE']._serialized_end=1867
  _globals['_ROOMDIRECTORYSERVICE']._serialized_start=2026
  _globals['_ROOMDIRECTORYSERVICE']._serialized_end=2585
# @@protoc_insertion_point(module_scope)
