Let session methods that write data take argument of TransmissionType so that it's clear at which transmission type the data is written. gfe-relnote: no behavior change. not protected. PiperOrigin-RevId: 298673372 Change-Id: Ibe1e680be7bce0e6310f8b6db50f7f86c4c8a206