fields

fieldSetFlags

data

validate

Validates that a particular value for a given field is valid according to
the following algorithm:
1. If the value is not null, or the field type is null, or the field type
is a union which accepts nulls, returns.
2. Else, if the field has a default value, returns.
3. Otherwise throws AvroRuntimeException.