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 Details

    • getType

      public String getType()
      Gets the value of the 'type' field.
      Returns:
      The value.
    • getOptionalType

      public Optional<String> 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

      public String getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • getOptionalId

      public Optional<String> 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:
      build in interface org.apache.avro.data.RecordBuilder<IdlTestIntegrationReference>