public static <T> Inner<T> create() {
    return new Inner<T>();
  }
@Test
  @Category(NeedsRunner.class)
  public void testFilterMultipleFields() {
    // Pass only elements where field1 + field2 >= 100.
    PCollection<AutoValue_FilterTest_Simple> filtered =
        pipeline
            .apply(
                Create.of(
                    new AutoValue_FilterTest_Simple("", 52, 48),
                    new AutoValue_FilterTest_Simple("", 52, 2),
                    new AutoValue_FilterTest_Simple("", 70, 33)))
            .apply(
                Filter.<AutoValue_FilterTest_Simple>create()
                    .whereFieldNames(
                        Lists.newArrayList("field2", "field3"),
                        r -> r.getInt32("field2") + r.getInt32("field3") >= 100));
    PAssert.that(filtered)
        .containsInAnyOrder(
            new AutoValue_FilterTest_Simple("", 52, 48),
            new AutoValue_FilterTest_Simple("", 70, 33));
    pipeline.run();
  }