@Test
 public void testCompressionTypeIsSet() throws Exception {
   TextIO.Read.Bound<String> read = TextIO.Read.from("gs://bucket/test");
   assertEquals(CompressionType.AUTO, read.getCompressionType());
   read = TextIO.Read.from("gs://bucket/test").withCompressionType(CompressionType.GZIP);
   assertEquals(CompressionType.GZIP, read.getCompressionType());
 }
 @Test
 public void testReadWithoutValidationFlag() throws Exception {
   TextIO.Read.Bound<String> read = TextIO.Read.from("gs://bucket/foo*/baz");
   assertTrue(read.needsValidation());
   assertFalse(read.withoutValidation().needsValidation());
 }