public static RowCoder of(Schema schema) {
    return new RowCoder(schema);
  }
@Test
  public void testIterableOfRow() throws Exception {
    Schema nestedSchema = Schema.builder().addInt32Field("f1_int").addStringField("f1_str").build();
    FieldType collectionElementType = FieldType.row(nestedSchema);
    Schema schema = Schema.builder().addIterableField("f_iter", collectionElementType).build();
    Row row =
        Row.withSchema(schema)
            .addIterable(
                ImmutableList.of(
                    Row.withSchema(nestedSchema).addValues(1, "one").build(),
                    Row.withSchema(nestedSchema).addValues(2, "two").build(),
                    Row.withSchema(nestedSchema).addValues(3, "three").build()))
            .build();

    CoderProperties.coderDecodeEncodeEqual(RowCoder.of(schema), row);
  }