Class IdlTestIntegrationReference.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<IdlTestIntegrationReference>
org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationReference>
ch.admin.bit.jeap.domainevent.avro.event.integration.idl.IdlTestIntegrationReference.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<IdlTestIntegrationReference>
- Enclosing class:
IdlTestIntegrationReference
public static class IdlTestIntegrationReference.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationReference>
implements org.apache.avro.data.RecordBuilder<IdlTestIntegrationReference>
RecordBuilder for IdlTestIntegrationReference instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()clearId()Clears the value of the 'id' field.Clears the value of the 'type' field.getId()Gets the value of the 'id' field.Gets the value of the 'id' field as an OptionalGets the value of the 'type' field as an OptionalgetType()Gets the value of the 'type' field.booleanhasId()Checks whether the 'id' field has been set.booleanhasType()Checks whether the 'type' field has been set.Sets the value of the 'id' field.Sets the value of the 'type' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getType
Gets the value of the 'type' field.- Returns:
- The value.
-
getOptionalType
Gets the value of the 'type' field as an Optional- Returns:
- The Optional<value>.
-
setType
Sets the value of the 'type' field.- Parameters:
value- The value of 'type'.- Returns:
- This builder.
-
hasType
public boolean hasType()Checks whether the 'type' field has been set.- Returns:
- True if the 'type' field has been set, false otherwise.
-
clearType
Clears the value of the 'type' field.- Returns:
- This builder.
-
getId
Gets the value of the 'id' field.- Returns:
- The value.
-
getOptionalId
Gets the value of the 'id' field as an Optional- Returns:
- The Optional<value>.
-
setId
Sets the value of the 'id' field.- Parameters:
value- The value of 'id'.- Returns:
- This builder.
-
hasId
public boolean hasId()Checks whether the 'id' field has been set.- Returns:
- True if the 'id' field has been set, false otherwise.
-
clearId
Clears the value of the 'id' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<IdlTestIntegrationReference>
-