- endRecord
End adding fields to this record, returning control to the context that this
record builder was crea
- name
Add a field with the given name.
- requiredString
Shortcut for creating a string field with the given name and no default.This is
equivalent to:
name
- optionalString
Shortcut for creating an optional string field: a union of null and string with
null default. This i
- requiredInt
Shortcut for creating an int field with the given name and no default.This is
equivalent to:
name(f
- requiredDouble
Shortcut for creating a double field with the given name and no default.This is
equivalent to:
name
- <init>
- nullableString
Shortcut for creating a nullable string field: a union of string and null with a
string default. Thi
- optionalInt
Shortcut for creating an optional int field: a union of null and int with null
default. This is equi
- requiredBytes
Shortcut for creating a bytes field with the given name and no default.This is
equivalent to:
name(
- optionalBoolean
Shortcut for creating an optional boolean field: a union of null and boolean
with null default. This
- optionalDouble
Shortcut for creating an optional double field: a union of null and double with
null default. This i