# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/member_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/member_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 pagination_pb2 as chatto_dot_api_dot_v1_dot_pagination__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/member_directory.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63hatto/api/v1/pagination.proto\x1a\x19\x63hatto/api/v1/users.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"s\n\x0f\x44irectoryMember\x12!\n\x04user\x18\x01 \x01(\x0b\x32\x13.chatto.api.v1.User\x12\r\n\x05roles\x18\x02 \x03(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"p\n\x10ListUsersRequest\x12\x17\n\x06search\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x18\x64\x12(\n\x04page\x18\x04 \x01(\x0b\x32\x1a.chatto.api.v1.PageRequestJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04R\x05limitR\x06offset\"\x8c\x01\n\x11ListUsersResponse\x12-\n\x05users\x18\x01 \x03(\x0b\x32\x1e.chatto.api.v1.DirectoryMember\x12%\n\x04page\x18\x04 \x01(\x0b\x32\x17.chatto.api.v1.PageInfoJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04R\x0btotal_countR\x08has_more\"P\n\x0eGetUserRequest\x12\x1a\n\x07user_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01H\x00\x12\x18\n\x05login\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01H\x00\x42\x08\n\x06target\"?\n\x0fGetUserResponse\x12,\n\x04user\x18\x01 \x01(\x0b\x32\x1e.chatto.api.v1.DirectoryMember\":\n\x14\x42\x61tchGetUsersRequest\x12\"\n\x08user_ids\x18\x01 \x03(\tB\x10\xbaH\r\x92\x01\n\x08\x01\x10\x64\"\x04r\x02\x10\x01\"F\n\x15\x42\x61tchGetUsersResponse\x12-\n\x05users\x18\x01 \x03(\x0b\x32\x1e.chatto.api.v1.DirectoryMember\"\x90\x01\n\x16ListRoomMembersRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x17\n\x06search\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x18\x64\x12(\n\x04page\x18\x05 \x01(\x0b\x32\x1a.chatto.api.v1.PageRequestJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05R\x05limitR\x06offset\"\x94\x01\n\x17ListRoomMembersResponse\x12/\n\x07members\x18\x01 \x03(\x0b\x32\x1e.chatto.api.v1.DirectoryMember\x12%\n\x04page\x18\x04 \x01(\x0b\x32\x17.chatto.api.v1.PageInfoJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04R\x0btotal_countR\x08has_more\"J\n\x14GetRoomMemberRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x18\n\x07user_id\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"G\n\x15GetRoomMemberResponse\x12.\n\x06member\x18\x01 \x01(\x0b\x32\x1e.chatto.api.v1.DirectoryMember\"Z\n\x1a\x42\x61tchGetRoomMembersRequest\x12\x18\n\x07room_id\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\"\n\x08user_ids\x18\x02 \x03(\tB\x10\xbaH\r\x92\x01\n\x08\x01\x10\x64\"\x04r\x02\x10\x01\"N\n\x1b\x42\x61tchGetRoomMembersResponse\x12/\n\x07members\x18\x01 \x03(\x0b\x32\x1e.chatto.api.v1.DirectoryMember2\x83\x02\n\x0bUserService\x12N\n\tListUsers\x12\x1f.chatto.api.v1.ListUsersRequest\x1a .chatto.api.v1.ListUsersResponse\x12H\n\x07GetUser\x12\x1d.chatto.api.v1.GetUserRequest\x1a\x1e.chatto.api.v1.GetUserResponse\x12Z\n\rBatchGetUsers\x12#.chatto.api.v1.BatchGetUsersRequest\x1a$.chatto.api.v1.BatchGetUsersResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.member_directory_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_LISTUSERSREQUEST'].fields_by_name['search']._loaded_options = None
  _globals['_LISTUSERSREQUEST'].fields_by_name['search']._serialized_options = b'\272H\004r\002\030d'
  _globals['_GETUSERREQUEST'].fields_by_name['user_id']._loaded_options = None
  _globals['_GETUSERREQUEST'].fields_by_name['user_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETUSERREQUEST'].fields_by_name['login']._loaded_options = None
  _globals['_GETUSERREQUEST'].fields_by_name['login']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_BATCHGETUSERSREQUEST'].fields_by_name['user_ids']._loaded_options = None
  _globals['_BATCHGETUSERSREQUEST'].fields_by_name['user_ids']._serialized_options = b'\272H\r\222\001\n\010\001\020d\"\004r\002\020\001'
  _globals['_LISTROOMMEMBERSREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_LISTROOMMEMBERSREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_LISTROOMMEMBERSREQUEST'].fields_by_name['search']._loaded_options = None
  _globals['_LISTROOMMEMBERSREQUEST'].fields_by_name['search']._serialized_options = b'\272H\004r\002\030d'
  _globals['_GETROOMMEMBERREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_GETROOMMEMBERREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_GETROOMMEMBERREQUEST'].fields_by_name['user_id']._loaded_options = None
  _globals['_GETROOMMEMBERREQUEST'].fields_by_name['user_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_BATCHGETROOMMEMBERSREQUEST'].fields_by_name['room_id']._loaded_options = None
  _globals['_BATCHGETROOMMEMBERSREQUEST'].fields_by_name['room_id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_BATCHGETROOMMEMBERSREQUEST'].fields_by_name['user_ids']._loaded_options = None
  _globals['_BATCHGETROOMMEMBERSREQUEST'].fields_by_name['user_ids']._serialized_options = b'\272H\r\222\001\n\010\001\020d\"\004r\002\020\001'
  _globals['_DIRECTORYMEMBER']._serialized_start=176
  _globals['_DIRECTORYMEMBER']._serialized_end=291
  _globals['_LISTUSERSREQUEST']._serialized_start=293
  _globals['_LISTUSERSREQUEST']._serialized_end=405
  _globals['_LISTUSERSRESPONSE']._serialized_start=408
  _globals['_LISTUSERSRESPONSE']._serialized_end=548
  _globals['_GETUSERREQUEST']._serialized_start=550
  _globals['_GETUSERREQUEST']._serialized_end=630
  _globals['_GETUSERRESPONSE']._serialized_start=632
  _globals['_GETUSERRESPONSE']._serialized_end=695
  _globals['_BATCHGETUSERSREQUEST']._serialized_start=697
  _globals['_BATCHGETUSERSREQUEST']._serialized_end=755
  _globals['_BATCHGETUSERSRESPONSE']._serialized_start=757
  _globals['_BATCHGETUSERSRESPONSE']._serialized_end=827
  _globals['_LISTROOMMEMBERSREQUEST']._serialized_start=830
  _globals['_LISTROOMMEMBERSREQUEST']._serialized_end=974
  _globals['_LISTROOMMEMBERSRESPONSE']._serialized_start=977
  _globals['_LISTROOMMEMBERSRESPONSE']._serialized_end=1125
  _globals['_GETROOMMEMBERREQUEST']._serialized_start=1127
  _globals['_GETROOMMEMBERREQUEST']._serialized_end=1201
  _globals['_GETROOMMEMBERRESPONSE']._serialized_start=1203
  _globals['_GETROOMMEMBERRESPONSE']._serialized_end=1274
  _globals['_BATCHGETROOMMEMBERSREQUEST']._serialized_start=1276
  _globals['_BATCHGETROOMMEMBERSREQUEST']._serialized_end=1366
  _globals['_BATCHGETROOMMEMBERSRESPONSE']._serialized_start=1368
  _globals['_BATCHGETROOMMEMBERSRESPONSE']._serialized_end=1446
  _globals['_USERSERVICE']._serialized_start=1449
  _globals['_USERSERVICE']._serialized_end=1708
# @@protoc_insertion_point(module_scope)
