I am using JavaBeanSchema.schemaFor() to generate beam schema. The Pojo
class I have has all fields declared as "Long" or "String", so all fields
are optional. When I inspected the schema returned by
the JavaBeanSchema.schemaFor() all fields are non nullable.
To workaround this I have to loop and update field type to be nullable -
```
Schema.Builder newSchemaWithNullableFields = Schema.builder();
for (Schema.Field field : outputSchema.getFields()) {
newSchemaWithNullableFields.addField(Schema.Field.nullable(field.getName(),
field.getType()));
}
return newSchemaWithNullableFields.build();
```
is there another api I am supposed to be using to directly get nullable
fields?