static Builder builder() {
    return new AutoValue_CsvIOParseError.Builder();
  }
@Test
  public void usableInSingleOutput() {
    List<CsvIOParseError> want =
        Arrays.asList(
            CsvIOParseError.builder()
                .setMessage("error message")
                .setObservedTimestamp(Instant.now())
                .setStackTrace("stack trace")
                .build(),
            CsvIOParseError.builder()
                .setMessage("error message")
                .setObservedTimestamp(Instant.now())
                .setStackTrace("stack trace")
                .setFilename("filename")
                .setCsvRecord("csv record")
                .build());

    PCollection<CsvIOParseError> errors = pipeline.apply(Create.of(want));
    PAssert.that(errors).containsInAnyOrder(want);

    pipeline.run();
  }