public void updateTask(TaskResult taskResult) {
        Preconditions.checkNotNull(taskResult, "Task result cannot be null");
        stub.updateTask(
                TaskServicePb.UpdateTaskRequest.newBuilder()
                        .setResult(protoMapper.toProto(taskResult))
                        .build());
    }
Updates the result of a task execution.

@param taskResult TaskResults to be updated.
grpc-client/src/main/java/com/netflix/conductor/client/grpc/TaskClient.java