def add_ImageAnnotatorServicer_to_server(servicer, server):
    rpc_method_handlers = {'BatchAnnotateImages': grpc.unary_unary_rpc_method_handler(servicer.BatchAnnotateImages, request_deserializer=BatchAnnotateImagesRequest.FromString, response_serializer=BatchAnnotateImagesResponse.SerializeToString)}
    generic_handler = grpc.method_handlers_generic_handler('google.cloud.vision.v1p1beta1.ImageAnnotator', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
def add_ImageAnnotatorServicer_to_server(servicer, server):
    rpc_method_handlers = {'BatchAnnotateImages': grpc.unary_unary_rpc_method_handler(servicer.BatchAnnotateImages, request_deserializer=BatchAnnotateImagesRequest.FromString, response_serializer=BatchAnnotateImagesResponse.SerializeToString)}
    generic_handler = grpc.method_handlers_generic_handler('google.cloud.vision.v1p1beta1.ImageAnnotator', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))