# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/room_timeline.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_timeline.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 message_types_pb2 as chatto_dot_api_dot_v1_dot_message__types__pb2
from chatto.api.v1 import users_pb2 as chatto_dot_api_dot_v1_dot_users__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!chatto/api/v1/room_timeline.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a!chatto/api/v1/message_types.proto\x1a\x19\x63hatto/api/v1/users.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x01\n\x14RoomTimelineIncludes\x12=\n\x05users\x18\x01 \x03(\x0b\x32..chatto.api.v1.RoomTimelineIncludes.UsersEntry\x1a\x41\n\nUsersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.chatto.api.v1.User:\x02\x38\x01\"(\n\x15RoomTimelineRoomEvent\x12\x0f\n\x07room_id\x18\x01 \x01(\t\"<\n\x11RoomMessagePosted\x12\'\n\x07message\x18\x01 \x01(\x0b\x32\x16.chatto.api.v1.Message\"\xe2\x04\n\x11RoomTimelineEvent\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x61\x63tor_id\x18\x03 \x01(\t\x12:\n\x0emessage_posted\x18\n \x01(\x0b\x32 .chatto.api.v1.RoomMessagePostedH\x00\x12<\n\x0croom_created\x18\x14 \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x12<\n\x0croom_updated\x18\x15 \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x12<\n\x0croom_deleted\x18\x16 \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x12=\n\rroom_archived\x18\x17 \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x12?\n\x0froom_unarchived\x18\x18 \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x12@\n\x10user_joined_room\x18\x1e \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x12>\n\x0euser_left_room\x18\x1f \x01(\x0b\x32$.chatto.api.v1.RoomTimelineRoomEventH\x00\x42\x07\n\x05\x65vent\"\xcb\x01\n\x10RoomTimelinePage\x12\x30\n\x06\x65vents\x18\x01 \x03(\x0b\x32 .chatto.api.v1.RoomTimelineEvent\x12\x14\n\x0cstart_cursor\x18\x02 \x01(\t\x12\x12\n\nend_cursor\x18\x03 \x01(\t\x12\x11\n\thas_older\x18\x04 \x01(\x08\x12\x11\n\thas_newer\x18\x05 \x01(\x08\x12\x35\n\x08includes\x18\x06 \x01(\x0b\x32#.chatto.api.v1.RoomTimelineIncludes\"l\n\x14GetRoomEventsRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\r\n\x05limit\x18\x02 \x01(\x05\x12\x10\n\x06\x62\x65\x66ore\x18\x03 \x01(\tH\x00\x12\x0f\n\x05\x61\x66ter\x18\x04 \x01(\tH\x00\x42\x08\n\x06\x63ursor\"F\n\x15GetRoomEventsResponse\x12-\n\x04page\x18\x01 \x01(\x0b\x32\x1f.chatto.api.v1.RoomTimelinePage\"`\n\x1aGetRoomEventsAroundRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x19\n\x08\x65vent_id\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\r\n\x05limit\x18\x03 \x01(\x05\"b\n\x1bGetRoomEventsAroundResponse\x12-\n\x04page\x18\x01 \x01(\x0b\x32\x1f.chatto.api.v1.RoomTimelinePage\x12\x14\n\x0ctarget_index\x18\x02 \x01(\x05\"\x95\x01\n\x16GetThreadEventsRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12%\n\x14thread_root_event_id\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x10\n\x06\x62\x65\x66ore\x18\x04 \x01(\tH\x00\x12\x0f\n\x05\x61\x66ter\x18\x05 \x01(\tH\x00\x42\x08\n\x06\x63ursor\"H\n\x17GetThreadEventsResponse\x12-\n\x04page\x18\x01 \x01(\x0b\x32\x1f.chatto.api.v1.RoomTimelinePage\"\x89\x01\n\x1cGetThreadEventsAroundRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12%\n\x14thread_root_event_id\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x19\n\x08\x65vent_id\x18\x03 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\r\n\x05limit\x18\x04 \x01(\x05\"d\n\x1dGetThreadEventsAroundResponse\x12-\n\x04page\x18\x01 \x01(\x0b\x32\x1f.chatto.api.v1.RoomTimelinePage\x12\x14\n\x0ctarget_index\x18\x02 \x01(\x05\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.room_timeline_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_ROOMTIMELINEINCLUDES_USERSENTRY']._loaded_options = None
  _globals['_ROOMTIMELINEINCLUDES_USERSENTRY']._serialized_options = b'8\001'
  _globals['_GETROOMEVENTSREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETROOMEVENTSREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETROOMEVENTSAROUNDREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETROOMEVENTSAROUNDREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETROOMEVENTSAROUNDREQUEST'].fields_by_name['event_id']._loaded_options = None
  _globals['_GETROOMEVENTSAROUNDREQUEST'].fields_by_name['event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETTHREADEVENTSREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETTHREADEVENTSREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETTHREADEVENTSREQUEST'].fields_by_name['thread_root_event_id']._loaded_options = None
  _globals['_GETTHREADEVENTSREQUEST'].fields_by_name['thread_root_event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETTHREADEVENTSAROUNDREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETTHREADEVENTSAROUNDREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETTHREADEVENTSAROUNDREQUEST'].fields_by_name['thread_root_event_id']._loaded_options = None
  _globals['_GETTHREADEVENTSAROUNDREQUEST'].fields_by_name['thread_root_event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETTHREADEVENTSAROUNDREQUEST'].fields_by_name['event_id']._loaded_options = None
  _globals['_GETTHREADEVENTSAROUNDREQUEST'].fields_by_name['event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_ROOMTIMELINEINCLUDES']._serialized_start=177
  _globals['_ROOMTIMELINEINCLUDES']._serialized_end=329
  _globals['_ROOMTIMELINEINCLUDES_USERSENTRY']._serialized_start=264
  _globals['_ROOMTIMELINEINCLUDES_USERSENTRY']._serialized_end=329
  _globals['_ROOMTIMELINEROOMEVENT']._serialized_start=331
  _globals['_ROOMTIMELINEROOMEVENT']._serialized_end=371
  _globals['_ROOMMESSAGEPOSTED']._serialized_start=373
  _globals['_ROOMMESSAGEPOSTED']._serialized_end=433
  _globals['_ROOMTIMELINEEVENT']._serialized_start=436
  _globals['_ROOMTIMELINEEVENT']._serialized_end=1046
  _globals['_ROOMTIMELINEPAGE']._serialized_start=1049
  _globals['_ROOMTIMELINEPAGE']._serialized_end=1252
  _globals['_GETROOMEVENTSREQUEST']._serialized_start=1254
  _globals['_GETROOMEVENTSREQUEST']._serialized_end=1362
  _globals['_GETROOMEVENTSRESPONSE']._serialized_start=1364
  _globals['_GETROOMEVENTSRESPONSE']._serialized_end=1434
  _globals['_GETROOMEVENTSAROUNDREQUEST']._serialized_start=1436
  _globals['_GETROOMEVENTSAROUNDREQUEST']._serialized_end=1532
  _globals['_GETROOMEVENTSAROUNDRESPONSE']._serialized_start=1534
  _globals['_GETROOMEVENTSAROUNDRESPONSE']._serialized_end=1632
  _globals['_GETTHREADEVENTSREQUEST']._serialized_start=1635
  _globals['_GETTHREADEVENTSREQUEST']._serialized_end=1784
  _globals['_GETTHREADEVENTSRESPONSE']._serialized_start=1786
  _globals['_GETTHREADEVENTSRESPONSE']._serialized_end=1858
  _globals['_GETTHREADEVENTSAROUNDREQUEST']._serialized_start=1861
  _globals['_GETTHREADEVENTSAROUNDREQUEST']._serialized_end=1998
  _globals['_GETTHREADEVENTSAROUNDRESPONSE']._serialized_start=2000
  _globals['_GETTHREADEVENTSAROUNDRESPONSE']._serialized_end=2100
# @@protoc_insertion_point(module_scope)
