Space-time descriptions of quantum fields interacting with optical cavities