# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from . import ManagerServer_pb2 as ManagerServer__pb2


class ManagerServiceStub(object):
    """Missing associated documentation comment in .proto file."""

    def __init__(self, channel):
        """Constructor.

        Args:
            channel: A grpc.Channel.
        """
        self.RpcGetRoomList = channel.unary_unary(
                '/MS.ManagerService/RpcGetRoomList',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.RoomListProto.FromString,
                )
        self.RpcCreateRoom = channel.unary_unary(
                '/MS.ManagerService/RpcCreateRoom',
                request_serializer=ManagerServer__pb2.RoomReqListProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyCreateProto.FromString,
                )
        self.RpcCreateRoomAsync = channel.unary_unary(
                '/MS.ManagerService/RpcCreateRoomAsync',
                request_serializer=ManagerServer__pb2.RoomReqListProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyCreateProto.FromString,
                )
        self.RpcCreateSingleRoom = channel.unary_unary(
                '/MS.ManagerService/RpcCreateSingleRoom',
                request_serializer=ManagerServer__pb2.RoomRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyCreateroomProto.FromString,
                )
        self.RpcDeleteRoom = channel.unary_unary(
                '/MS.ManagerService/RpcDeleteRoom',
                request_serializer=ManagerServer__pb2.RoomReqListProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyDeleteProto.FromString,
                )
        self.RpcGetRoomInfo = channel.unary_unary(
                '/MS.ManagerService/RpcGetRoomInfo',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.RoomInfoProto.FromString,
                )
        self.RpcUpdateRoomInfo = channel.unary_unary(
                '/MS.ManagerService/RpcUpdateRoomInfo',
                request_serializer=ManagerServer__pb2.RoomInfoProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcRegisterNode = channel.unary_unary(
                '/MS.ManagerService/RpcRegisterNode',
                request_serializer=ManagerServer__pb2.NodeInfoProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.RegisterNodeReply.FromString,
                )
        self.RpcUpdateNodeState = channel.unary_unary(
                '/MS.ManagerService/RpcUpdateNodeState',
                request_serializer=ManagerServer__pb2.NodeInfoProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcRegisterClient = channel.unary_unary(
                '/MS.ManagerService/RpcRegisterClient',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ClientIDProto.FromString,
                )
        self.RpcGetNodeState = channel.unary_unary(
                '/MS.ManagerService/RpcGetNodeState',
                request_serializer=ManagerServer__pb2.NodeReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.NodeStateProto.FromString,
                )
        self.RpcGetNodeList = channel.unary_unary(
                '/MS.ManagerService/RpcGetNodeList',
                request_serializer=ManagerServer__pb2.RequestProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.NodeListProto.FromString,
                )
        self.RpcDeleteNode = channel.unary_unary(
                '/MS.ManagerService/RpcDeleteNode',
                request_serializer=ManagerServer__pb2.NodeReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcJoinRoom = channel.unary_unary(
                '/MS.ManagerService/RpcJoinRoom',
                request_serializer=ManagerServer__pb2.JoinRoomRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcExitRoom = channel.unary_unary(
                '/MS.ManagerService/RpcExitRoom',
                request_serializer=ManagerServer__pb2.ExitRoomRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcSetSeat = channel.unary_unary(
                '/MS.ManagerService/RpcSetSeat',
                request_serializer=ManagerServer__pb2.SetSeatRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcSetRole = channel.unary_unary(
                '/MS.ManagerService/RpcSetRole',
                request_serializer=ManagerServer__pb2.SetRoleRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcChangeReadyState = channel.unary_unary(
                '/MS.ManagerService/RpcChangeReadyState',
                request_serializer=ManagerServer__pb2.ChangeReadyStateRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcGetScenarioConfig = channel.unary_unary(
                '/MS.ManagerService/RpcGetScenarioConfig',
                request_serializer=ManagerServer__pb2.GetScenarioConfigRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.GetScenarioConfigRePly.FromString,
                )
        self.RpcExportScenConfig = channel.unary_unary(
                '/MS.ManagerService/RpcExportScenConfig',
                request_serializer=ManagerServer__pb2.ExportScenConfigRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcStartGame = channel.unary_unary(
                '/MS.ManagerService/RpcStartGame',
                request_serializer=ManagerServer__pb2.StartGameRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcGetGameState = channel.unary_unary(
                '/MS.ManagerService/RpcGetGameState',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.GetGameStateRePly.FromString,
                )
        self.RpcSetParentId = channel.unary_unary(
                '/MS.ManagerService/RpcSetParentId',
                request_serializer=ManagerServer__pb2.ParentRoomIDRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcUpdateSitState = channel.unary_unary(
                '/MS.ManagerService/RpcUpdateSitState',
                request_serializer=ManagerServer__pb2.SitStateRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcGetSitStateList = channel.unary_unary(
                '/MS.ManagerService/RpcGetSitStateList',
                request_serializer=ManagerServer__pb2.RequestProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.SitStateListReply.FromString,
                )
        self.RpcAddBranchInfo = channel.unary_unary(
                '/MS.ManagerService/RpcAddBranchInfo',
                request_serializer=ManagerServer__pb2.BranchInfoRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcGetVersion = channel.unary_unary(
                '/MS.ManagerService/RpcGetVersion',
                request_serializer=ManagerServer__pb2.RequestProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcDownloadFile = channel.unary_stream(
                '/MS.ManagerService/RpcDownloadFile',
                request_serializer=ManagerServer__pb2.FileRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.FileChunk.FromString,
                )
        self.RpcInitConnect = channel.unary_unary(
                '/MS.ManagerService/RpcInitConnect',
                request_serializer=ManagerServer__pb2.InitConnectRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.InitConnectProto.FromString,
                )
        self.RpcAuthenticRoom = channel.unary_unary(
                '/MS.ManagerService/RpcAuthenticRoom',
                request_serializer=ManagerServer__pb2.AuthenticRoomRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.AuthenticRoomReply.FromString,
                )
        self.RpcResetRoom = channel.unary_unary(
                '/MS.ManagerService/RpcResetRoom',
                request_serializer=ManagerServer__pb2.ResetRoomRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ResetRoomProto.FromString,
                )
        self.RpcGetRoomState = channel.unary_unary(
                '/MS.ManagerService/RpcGetRoomState',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.RoomStateProto.FromString,
                )
        self.RpcGetRoomStateList = channel.unary_unary(
                '/MS.ManagerService/RpcGetRoomStateList',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.RoomStateListProto.FromString,
                )
        self.RpcGetRoomRelation = channel.unary_unary(
                '/MS.ManagerService/RpcGetRoomRelation',
                request_serializer=ManagerServer__pb2.RoomReqProto.SerializeToString,
                response_deserializer=ManagerServer__pb2.RoomRelationProto.FromString,
                )
        self.RpcSetRoomRelation = channel.unary_unary(
                '/MS.ManagerService/RpcSetRoomRelation',
                request_serializer=ManagerServer__pb2.SetRoomRelationRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )
        self.RpcHeartBeat = channel.unary_unary(
                '/MS.ManagerService/RpcHeartBeat',
                request_serializer=ManagerServer__pb2.HeartBeatRequest.SerializeToString,
                response_deserializer=ManagerServer__pb2.ReplyProto.FromString,
                )


class ManagerServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def RpcGetRoomList(self, request, context):
        """查询房间列表(包含房间基础信息)
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcCreateRoom(self, request, context):
        """创建房间
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcCreateRoomAsync(self, request, context):
        """创建房间（异步）
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcCreateSingleRoom(self, request, context):
        """创建单个房间
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcDeleteRoom(self, request, context):
        """删除房间
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetRoomInfo(self, request, context):
        """获取房间信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcUpdateRoomInfo(self, request, context):
        """修改房间信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcRegisterNode(self, request, context):
        """节点启动后，向管理服务器注册本节点信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcUpdateNodeState(self, request, context):
        """节点服务器周期调用，向管理服务器上报状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcRegisterClient(self, request, context):
        """客户端注册
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetNodeState(self, request, context):
        """获取节点状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetNodeList(self, request, context):
        """获取节点列表
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcDeleteNode(self, request, context):
        """删除节点信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcJoinRoom(self, request, context):
        """用户加入房间
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcExitRoom(self, request, context):
        """退出房间--用户退出
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcSetSeat(self, request, context):
        """席位设置-席位有导演席位、对抗席位、裁判席位等
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcSetRole(self, request, context):
        """角色设置
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcChangeReadyState(self, request, context):
        """对抗席准备状态改变
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetScenarioConfig(self, request, context):
        """获取想定配置信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcExportScenConfig(self, request, context):
        """导出想定配置信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcStartGame(self, request, context):
        """开始推演
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetGameState(self, request, context):
        """获取房间推演状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcSetParentId(self, request, context):
        """设置房间父分支ID
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcUpdateSitState(self, request, context):
        """更新推演状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetSitStateList(self, request, context):
        """获取所有仿真状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcAddBranchInfo(self, request, context):
        """添加分支信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetVersion(self, request, context):
        """获取服务器引擎版本
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcDownloadFile(self, request, context):
        """从服务端下载文件
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcInitConnect(self, request, context):
        """连接初始化
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcAuthenticRoom(self, request, context):
        """房间验证 实际返回房间信息
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcResetRoom(self, request, context):
        """根据房间id重置房间
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetRoomState(self, request, context):
        """获取单个房间状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetRoomStateList(self, request, context):
        """获取多个房间状态
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcGetRoomRelation(self, request, context):
        """获取房间关系
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcSetRoomRelation(self, request, context):
        """设置房间关系
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def RpcHeartBeat(self, request, context):
        """设置心跳
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_ManagerServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'RpcGetRoomList': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetRoomList,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.RoomListProto.SerializeToString,
            ),
            'RpcCreateRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcCreateRoom,
                    request_deserializer=ManagerServer__pb2.RoomReqListProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyCreateProto.SerializeToString,
            ),
            'RpcCreateRoomAsync': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcCreateRoomAsync,
                    request_deserializer=ManagerServer__pb2.RoomReqListProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyCreateProto.SerializeToString,
            ),
            'RpcCreateSingleRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcCreateSingleRoom,
                    request_deserializer=ManagerServer__pb2.RoomRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyCreateroomProto.SerializeToString,
            ),
            'RpcDeleteRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcDeleteRoom,
                    request_deserializer=ManagerServer__pb2.RoomReqListProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyDeleteProto.SerializeToString,
            ),
            'RpcGetRoomInfo': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetRoomInfo,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.RoomInfoProto.SerializeToString,
            ),
            'RpcUpdateRoomInfo': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcUpdateRoomInfo,
                    request_deserializer=ManagerServer__pb2.RoomInfoProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcRegisterNode': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcRegisterNode,
                    request_deserializer=ManagerServer__pb2.NodeInfoProto.FromString,
                    response_serializer=ManagerServer__pb2.RegisterNodeReply.SerializeToString,
            ),
            'RpcUpdateNodeState': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcUpdateNodeState,
                    request_deserializer=ManagerServer__pb2.NodeInfoProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcRegisterClient': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcRegisterClient,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.ClientIDProto.SerializeToString,
            ),
            'RpcGetNodeState': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetNodeState,
                    request_deserializer=ManagerServer__pb2.NodeReqProto.FromString,
                    response_serializer=ManagerServer__pb2.NodeStateProto.SerializeToString,
            ),
            'RpcGetNodeList': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetNodeList,
                    request_deserializer=ManagerServer__pb2.RequestProto.FromString,
                    response_serializer=ManagerServer__pb2.NodeListProto.SerializeToString,
            ),
            'RpcDeleteNode': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcDeleteNode,
                    request_deserializer=ManagerServer__pb2.NodeReqProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcJoinRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcJoinRoom,
                    request_deserializer=ManagerServer__pb2.JoinRoomRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcExitRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcExitRoom,
                    request_deserializer=ManagerServer__pb2.ExitRoomRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcSetSeat': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcSetSeat,
                    request_deserializer=ManagerServer__pb2.SetSeatRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcSetRole': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcSetRole,
                    request_deserializer=ManagerServer__pb2.SetRoleRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcChangeReadyState': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcChangeReadyState,
                    request_deserializer=ManagerServer__pb2.ChangeReadyStateRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcGetScenarioConfig': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetScenarioConfig,
                    request_deserializer=ManagerServer__pb2.GetScenarioConfigRequest.FromString,
                    response_serializer=ManagerServer__pb2.GetScenarioConfigRePly.SerializeToString,
            ),
            'RpcExportScenConfig': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcExportScenConfig,
                    request_deserializer=ManagerServer__pb2.ExportScenConfigRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcStartGame': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcStartGame,
                    request_deserializer=ManagerServer__pb2.StartGameRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcGetGameState': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetGameState,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.GetGameStateRePly.SerializeToString,
            ),
            'RpcSetParentId': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcSetParentId,
                    request_deserializer=ManagerServer__pb2.ParentRoomIDRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcUpdateSitState': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcUpdateSitState,
                    request_deserializer=ManagerServer__pb2.SitStateRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcGetSitStateList': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetSitStateList,
                    request_deserializer=ManagerServer__pb2.RequestProto.FromString,
                    response_serializer=ManagerServer__pb2.SitStateListReply.SerializeToString,
            ),
            'RpcAddBranchInfo': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcAddBranchInfo,
                    request_deserializer=ManagerServer__pb2.BranchInfoRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcGetVersion': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetVersion,
                    request_deserializer=ManagerServer__pb2.RequestProto.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcDownloadFile': grpc.unary_stream_rpc_method_handler(
                    servicer.RpcDownloadFile,
                    request_deserializer=ManagerServer__pb2.FileRequest.FromString,
                    response_serializer=ManagerServer__pb2.FileChunk.SerializeToString,
            ),
            'RpcInitConnect': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcInitConnect,
                    request_deserializer=ManagerServer__pb2.InitConnectRequest.FromString,
                    response_serializer=ManagerServer__pb2.InitConnectProto.SerializeToString,
            ),
            'RpcAuthenticRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcAuthenticRoom,
                    request_deserializer=ManagerServer__pb2.AuthenticRoomRequest.FromString,
                    response_serializer=ManagerServer__pb2.AuthenticRoomReply.SerializeToString,
            ),
            'RpcResetRoom': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcResetRoom,
                    request_deserializer=ManagerServer__pb2.ResetRoomRequest.FromString,
                    response_serializer=ManagerServer__pb2.ResetRoomProto.SerializeToString,
            ),
            'RpcGetRoomState': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetRoomState,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.RoomStateProto.SerializeToString,
            ),
            'RpcGetRoomStateList': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetRoomStateList,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.RoomStateListProto.SerializeToString,
            ),
            'RpcGetRoomRelation': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcGetRoomRelation,
                    request_deserializer=ManagerServer__pb2.RoomReqProto.FromString,
                    response_serializer=ManagerServer__pb2.RoomRelationProto.SerializeToString,
            ),
            'RpcSetRoomRelation': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcSetRoomRelation,
                    request_deserializer=ManagerServer__pb2.SetRoomRelationRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
            'RpcHeartBeat': grpc.unary_unary_rpc_method_handler(
                    servicer.RpcHeartBeat,
                    request_deserializer=ManagerServer__pb2.HeartBeatRequest.FromString,
                    response_serializer=ManagerServer__pb2.ReplyProto.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'MS.ManagerService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class ManagerService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def RpcGetRoomList(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetRoomList',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.RoomListProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcCreateRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcCreateRoom',
            ManagerServer__pb2.RoomReqListProto.SerializeToString,
            ManagerServer__pb2.ReplyCreateProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcCreateRoomAsync(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcCreateRoomAsync',
            ManagerServer__pb2.RoomReqListProto.SerializeToString,
            ManagerServer__pb2.ReplyCreateProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcCreateSingleRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcCreateSingleRoom',
            ManagerServer__pb2.RoomRequest.SerializeToString,
            ManagerServer__pb2.ReplyCreateroomProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcDeleteRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcDeleteRoom',
            ManagerServer__pb2.RoomReqListProto.SerializeToString,
            ManagerServer__pb2.ReplyDeleteProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetRoomInfo(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetRoomInfo',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.RoomInfoProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcUpdateRoomInfo(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcUpdateRoomInfo',
            ManagerServer__pb2.RoomInfoProto.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcRegisterNode(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcRegisterNode',
            ManagerServer__pb2.NodeInfoProto.SerializeToString,
            ManagerServer__pb2.RegisterNodeReply.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcUpdateNodeState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcUpdateNodeState',
            ManagerServer__pb2.NodeInfoProto.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcRegisterClient(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcRegisterClient',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.ClientIDProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetNodeState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetNodeState',
            ManagerServer__pb2.NodeReqProto.SerializeToString,
            ManagerServer__pb2.NodeStateProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetNodeList(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetNodeList',
            ManagerServer__pb2.RequestProto.SerializeToString,
            ManagerServer__pb2.NodeListProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcDeleteNode(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcDeleteNode',
            ManagerServer__pb2.NodeReqProto.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcJoinRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcJoinRoom',
            ManagerServer__pb2.JoinRoomRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcExitRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcExitRoom',
            ManagerServer__pb2.ExitRoomRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcSetSeat(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcSetSeat',
            ManagerServer__pb2.SetSeatRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcSetRole(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcSetRole',
            ManagerServer__pb2.SetRoleRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcChangeReadyState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcChangeReadyState',
            ManagerServer__pb2.ChangeReadyStateRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetScenarioConfig(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetScenarioConfig',
            ManagerServer__pb2.GetScenarioConfigRequest.SerializeToString,
            ManagerServer__pb2.GetScenarioConfigRePly.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcExportScenConfig(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcExportScenConfig',
            ManagerServer__pb2.ExportScenConfigRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcStartGame(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcStartGame',
            ManagerServer__pb2.StartGameRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetGameState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetGameState',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.GetGameStateRePly.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcSetParentId(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcSetParentId',
            ManagerServer__pb2.ParentRoomIDRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcUpdateSitState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcUpdateSitState',
            ManagerServer__pb2.SitStateRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetSitStateList(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetSitStateList',
            ManagerServer__pb2.RequestProto.SerializeToString,
            ManagerServer__pb2.SitStateListReply.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcAddBranchInfo(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcAddBranchInfo',
            ManagerServer__pb2.BranchInfoRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetVersion(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetVersion',
            ManagerServer__pb2.RequestProto.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcDownloadFile(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_stream(request, target, '/MS.ManagerService/RpcDownloadFile',
            ManagerServer__pb2.FileRequest.SerializeToString,
            ManagerServer__pb2.FileChunk.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcInitConnect(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcInitConnect',
            ManagerServer__pb2.InitConnectRequest.SerializeToString,
            ManagerServer__pb2.InitConnectProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcAuthenticRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcAuthenticRoom',
            ManagerServer__pb2.AuthenticRoomRequest.SerializeToString,
            ManagerServer__pb2.AuthenticRoomReply.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcResetRoom(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcResetRoom',
            ManagerServer__pb2.ResetRoomRequest.SerializeToString,
            ManagerServer__pb2.ResetRoomProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetRoomState(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetRoomState',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.RoomStateProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetRoomStateList(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetRoomStateList',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.RoomStateListProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcGetRoomRelation(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcGetRoomRelation',
            ManagerServer__pb2.RoomReqProto.SerializeToString,
            ManagerServer__pb2.RoomRelationProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcSetRoomRelation(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcSetRoomRelation',
            ManagerServer__pb2.SetRoomRelationRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def RpcHeartBeat(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(request, target, '/MS.ManagerService/RpcHeartBeat',
            ManagerServer__pb2.HeartBeatRequest.SerializeToString,
            ManagerServer__pb2.ReplyProto.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
