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


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x63hatto/api/v1/threads.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a!chatto/api/v1/message_types.proto\x1a\x1e\x63hatto/api/v1/pagination.proto\x1a\x1e\x63hatto/api/v1/read_state.proto\x1a!chatto/api/v1/room_timeline.proto\x1a\x19\x63hatto/api/v1/rooms.proto\"U\n\x11ThreadFollowState\x12\x0f\n\x07room_id\x18\x01 \x01(\t\x12\x1c\n\x14thread_root_event_id\x18\x02 \x01(\t\x12\x11\n\tfollowing\x18\x03 \x01(\x08\"V\n\x13\x46ollowThreadRequest\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\"Z\n\x14\x46ollowThreadResponse\x12\x11\n\tfollowing\x18\x01 \x01(\x08\x12/\n\x05state\x18\x02 \x01(\x0b\x32 .chatto.api.v1.ThreadFollowState\"X\n\x15UnfollowThreadRequest\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\"\\\n\x16UnfollowThreadResponse\x12\x11\n\tfollowing\x18\x01 \x01(\x08\x12/\n\x05state\x18\x02 \x01(\x0b\x32 .chatto.api.v1.ThreadFollowState\"\xf4\x01\n\x0e\x46ollowedThread\x12,\n\x0croot_message\x18\x04 \x01(\x0b\x32\x16.chatto.api.v1.Message\x12(\n\x04room\x18\x08 \x01(\x0b\x32\x1a.chatto.api.v1.RoomSummary\x12,\n\x06thread\x18\t \x01(\x0b\x32\x1c.chatto.api.v1.ThreadSummaryJ\x04\x08\x01\x10\x04J\x04\x08\x05\x10\x08R\x07room_idR\troom_nameR\x14thread_root_event_idR\x0breply_countR\rlast_reply_atR\nhas_unread\"v\n\x1aListFollowedThreadsRequest\x12(\n\x04page\x18\x03 \x01(\x0b\x32\x1a.chatto.api.v1.PageRequest\x12\x13\n\x0bunread_only\x18\x04 \x01(\x08J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x05limitR\x06offset\"\xe3\x01\n\x1bListFollowedThreadsResponse\x12.\n\x07threads\x18\x01 \x03(\x0b\x32\x1d.chatto.api.v1.FollowedThread\x12\x35\n\x08includes\x18\x04 \x01(\x0b\x32#.chatto.api.v1.RoomTimelineIncludes\x12%\n\x04page\x18\x05 \x01(\x0b\x32\x17.chatto.api.v1.PageInfo\x12\x13\n\x0bunread_only\x18\x06 \x01(\x08J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04R\x0btotal_countR\x08has_more2\xf0\x04\n\rThreadService\x12l\n\x13ListFollowedThreads\x12).chatto.api.v1.ListFollowedThreadsRequest\x1a*.chatto.api.v1.ListFollowedThreadsResponse\x12W\n\x0c\x46ollowThread\x12\".chatto.api.v1.FollowThreadRequest\x1a#.chatto.api.v1.FollowThreadResponse\x12]\n\x0eUnfollowThread\x12$.chatto.api.v1.UnfollowThreadRequest\x1a%.chatto.api.v1.UnfollowThreadResponse\x12`\n\x0fGetThreadEvents\x12%.chatto.api.v1.GetThreadEventsRequest\x1a&.chatto.api.v1.GetThreadEventsResponse\x12r\n\x15GetThreadEventsAround\x12+.chatto.api.v1.GetThreadEventsAroundRequest\x1a,.chatto.api.v1.GetThreadEventsAroundResponse\x12\x63\n\x10MarkThreadAsRead\x12&.chatto.api.v1.MarkThreadAsReadRequest\x1a\'.chatto.api.v1.MarkThreadAsReadResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.threads_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_FOLLOWTHREADREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_FOLLOWTHREADREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_FOLLOWTHREADREQUEST'].fields_by_name['thread_root_event_id']._loaded_options = None
  _globals['_FOLLOWTHREADREQUEST'].fields_by_name['thread_root_event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_UNFOLLOWTHREADREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_UNFOLLOWTHREADREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_UNFOLLOWTHREADREQUEST'].fields_by_name['thread_root_event_id']._loaded_options = None
  _globals['_UNFOLLOWTHREADREQUEST'].fields_by_name['thread_root_event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_THREADFOLLOWSTATE']._serialized_start=236
  _globals['_THREADFOLLOWSTATE']._serialized_end=321
  _globals['_FOLLOWTHREADREQUEST']._serialized_start=323
  _globals['_FOLLOWTHREADREQUEST']._serialized_end=409
  _globals['_FOLLOWTHREADRESPONSE']._serialized_start=411
  _globals['_FOLLOWTHREADRESPONSE']._serialized_end=501
  _globals['_UNFOLLOWTHREADREQUEST']._serialized_start=503
  _globals['_UNFOLLOWTHREADREQUEST']._serialized_end=591
  _globals['_UNFOLLOWTHREADRESPONSE']._serialized_start=593
  _globals['_UNFOLLOWTHREADRESPONSE']._serialized_end=685
  _globals['_FOLLOWEDTHREAD']._serialized_start=688
  _globals['_FOLLOWEDTHREAD']._serialized_end=932
  _globals['_LISTFOLLOWEDTHREADSREQUEST']._serialized_start=934
  _globals['_LISTFOLLOWEDTHREADSREQUEST']._serialized_end=1052
  _globals['_LISTFOLLOWEDTHREADSRESPONSE']._serialized_start=1055
  _globals['_LISTFOLLOWEDTHREADSRESPONSE']._serialized_end=1282
  _globals['_THREADSERVICE']._serialized_start=1285
  _globals['_THREADSERVICE']._serialized_end=1909
# @@protoc_insertion_point(module_scope)
