An Alameda County sheriff's deputy was shot in Union City