# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/voice_calls.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/voice_calls.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 rooms_pb2 as chatto_dot_api_dot_v1_dot_rooms__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\x1f\x63hatto/api/v1/voice_calls.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x19\x63hatto/api/v1/rooms.proto\x1a\x19\x63hatto/api/v1/users.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x18\n\x16ListActiveCallsRequest\"C\n\x17ListActiveCallsResponse\x12(\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\x19.chatto.api.v1.ActiveCall\"\x8c\x01\n\nActiveCall\x12(\n\x04room\x18\x04 \x01(\x0b\x32\x1a.chatto.api.v1.RoomSummary\x12\x0f\n\x07\x63\x61ll_id\x18\x02 \x01(\t\x12\x34\n\x0cparticipants\x18\x03 \x03(\x0b\x32\x1e.chatto.api.v1.CallParticipantJ\x04\x08\x01\x10\x02R\x07room_id\"0\n\x14GetActiveCallRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"@\n\x15GetActiveCallResponse\x12\'\n\x04\x63\x61ll\x18\x01 \x01(\x0b\x32\x19.chatto.api.v1.ActiveCall\"@\n\x1a\x42\x61tchGetActiveCallsRequest\x12\"\n\x08room_ids\x18\x01 \x03(\tB\x10\xbaH\r\x92\x01\n\x08\x01\x10\x64\"\x04r\x02\x10\x01\"G\n\x1b\x42\x61tchGetActiveCallsResponse\x12(\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\x19.chatto.api.v1.ActiveCall\"7\n\x1bListCallParticipantsRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"T\n\x1cListCallParticipantsResponse\x12\x34\n\x0cparticipants\x18\x01 \x03(\x0b\x32\x1e.chatto.api.v1.CallParticipant\"t\n\x0f\x43\x61llParticipant\x12!\n\x04user\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.User\x12-\n\tjoined_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x63\x61ll_id\x18\x03 \x01(\t\"+\n\x0fJoinCallRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"\"\n\x10JoinCallResponse\x12\x0e\n\x06joined\x18\x01 \x01(\x08\"/\n\x13GetCallTokenRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"H\n\x14GetCallTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x10\n\x08\x65\x32\x65\x65_key\x18\x02 \x01(\t\x12\x0f\n\x07\x63\x61ll_id\x18\x03 \x01(\t\",\n\x10LeaveCallRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"!\n\x11LeaveCallResponse\x12\x0c\n\x04left\x18\x01 \x01(\x08\x32\xa5\x05\n\x10VoiceCallService\x12`\n\x0fListActiveCalls\x12%.chatto.api.v1.ListActiveCallsRequest\x1a&.chatto.api.v1.ListActiveCallsResponse\x12Z\n\rGetActiveCall\x12#.chatto.api.v1.GetActiveCallRequest\x1a$.chatto.api.v1.GetActiveCallResponse\x12l\n\x13\x42\x61tchGetActiveCalls\x12).chatto.api.v1.BatchGetActiveCallsRequest\x1a*.chatto.api.v1.BatchGetActiveCallsResponse\x12o\n\x14ListCallParticipants\x12*.chatto.api.v1.ListCallParticipantsRequest\x1a+.chatto.api.v1.ListCallParticipantsResponse\x12K\n\x08JoinCall\x12\x1e.chatto.api.v1.JoinCallRequest\x1a\x1f.chatto.api.v1.JoinCallResponse\x12W\n\x0cGetCallToken\x12\".chatto.api.v1.GetCallTokenRequest\x1a#.chatto.api.v1.GetCallTokenResponse\x12N\n\tLeaveCall\x12\x1f.chatto.api.v1.LeaveCallRequest\x1a .chatto.api.v1.LeaveCallResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.voice_calls_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_GETACTIVECALLREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETACTIVECALLREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_BATCHGETACTIVECALLSREQUEST'].fields_by_name['room_ids']._loaded_options = None
  _globals['_BATCHGETACTIVECALLSREQUEST'].fields_by_name['room_ids']._serialized_options = b'\272H\r\222\001\n\010\001\020d\"\004r\002\020\001'
  _globals['_LISTCALLPARTICIPANTSREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_LISTCALLPARTICIPANTSREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_JOINCALLREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_JOINCALLREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETCALLTOKENREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETCALLTOKENREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_LEAVECALLREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_LEAVECALLREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_LISTACTIVECALLSREQUEST']._serialized_start=166
  _globals['_LISTACTIVECALLSREQUEST']._serialized_end=190
  _globals['_LISTACTIVECALLSRESPONSE']._serialized_start=192
  _globals['_LISTACTIVECALLSRESPONSE']._serialized_end=259
  _globals['_ACTIVECALL']._serialized_start=262
  _globals['_ACTIVECALL']._serialized_end=402
  _globals['_GETACTIVECALLREQUEST']._serialized_start=404
  _globals['_GETACTIVECALLREQUEST']._serialized_end=452
  _globals['_GETACTIVECALLRESPONSE']._serialized_start=454
  _globals['_GETACTIVECALLRESPONSE']._serialized_end=518
  _globals['_BATCHGETACTIVECALLSREQUEST']._serialized_start=520
  _globals['_BATCHGETACTIVECALLSREQUEST']._serialized_end=584
  _globals['_BATCHGETACTIVECALLSRESPONSE']._serialized_start=586
  _globals['_BATCHGETACTIVECALLSRESPONSE']._serialized_end=657
  _globals['_LISTCALLPARTICIPANTSREQUEST']._serialized_start=659
  _globals['_LISTCALLPARTICIPANTSREQUEST']._serialized_end=714
  _globals['_LISTCALLPARTICIPANTSRESPONSE']._serialized_start=716
  _globals['_LISTCALLPARTICIPANTSRESPONSE']._serialized_end=800
  _globals['_CALLPARTICIPANT']._serialized_start=802
  _globals['_CALLPARTICIPANT']._serialized_end=918
  _globals['_JOINCALLREQUEST']._serialized_start=920
  _globals['_JOINCALLREQUEST']._serialized_end=963
  _globals['_JOINCALLRESPONSE']._serialized_start=965
  _globals['_JOINCALLRESPONSE']._serialized_end=999
  _globals['_GETCALLTOKENREQUEST']._serialized_start=1001
  _globals['_GETCALLTOKENREQUEST']._serialized_end=1048
  _globals['_GETCALLTOKENRESPONSE']._serialized_start=1050
  _globals['_GETCALLTOKENRESPONSE']._serialized_end=1122
  _globals['_LEAVECALLREQUEST']._serialized_start=1124
  _globals['_LEAVECALLREQUEST']._serialized_end=1168
  _globals['_LEAVECALLRESPONSE']._serialized_start=1170
  _globals['_LEAVECALLRESPONSE']._serialized_end=1203
  _globals['_VOICECALLSERVICE']._serialized_start=1206
  _globals['_VOICECALLSERVICE']._serialized_end=1883
# @@protoc_insertion_point(module_scope)
