Add a SampleQueue method to discard from the write side of the queue by timestamp PiperOrigin-RevId: 329303714