Method Build
Build()
Creates a record from the fields set so far, and the defaults of the others. Each call creates a new record with its own copy of each default; the values set are shared, not copied.
public GenericRecord Build()
Returns
Exceptions
- AvroException
A field is not set and has no default; the message names it.