General Setting for Stochastic Processes Associated with Quantum Fields