# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/read_state.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/read_state.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63hatto/api/v1/read_state.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"I\n\x15MarkRoomAsReadRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x16\n\x0eup_to_event_id\x18\x02 \x01(\t\"\x85\x01\n\x16MarkRoomAsReadResponse\x12\x30\n\x0clast_read_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15previous_last_read_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"r\n\x17MarkThreadAsReadRequest\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\x16\n\x0eup_to_event_id\x18\x03 \x01(\t\"P\n\x18MarkThreadAsReadResponse\x12\x34\n\x10previous_read_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestampb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.read_state_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_MARKROOMASREADREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_MARKROOMASREADREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_MARKTHREADASREADREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_MARKTHREADASREADREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_MARKTHREADASREADREQUEST'].fields_by_name['thread_root_event_id']._loaded_options = None
  _globals['_MARKTHREADASREADREQUEST'].fields_by_name['thread_root_event_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_MARKROOMASREADREQUEST']._serialized_start=111
  _globals['_MARKROOMASREADREQUEST']._serialized_end=184
  _globals['_MARKROOMASREADRESPONSE']._serialized_start=187
  _globals['_MARKROOMASREADRESPONSE']._serialized_end=320
  _globals['_MARKTHREADASREADREQUEST']._serialized_start=322
  _globals['_MARKTHREADASREADREQUEST']._serialized_end=436
  _globals['_MARKTHREADASREADRESPONSE']._serialized_start=438
  _globals['_MARKTHREADASREADRESPONSE']._serialized_end=518
# @@protoc_insertion_point(module_scope)
