Class IdlTestIntegrationPayload.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<IdlTestIntegrationPayload>
org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationPayload>
ch.admin.bit.jeap.messaging.avro.command.integration.idl.IdlTestIntegrationPayload.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<IdlTestIntegrationPayload>
Enclosing class:
IdlTestIntegrationPayload

public static class IdlTestIntegrationPayload.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<IdlTestIntegrationPayload> implements org.apache.avro.data.RecordBuilder<IdlTestIntegrationPayload>
RecordBuilder for IdlTestIntegrationPayload instances.
  • Method Details

    • getMessage

      public String getMessage()
      Gets the value of the 'message' field.
      Returns:
      The value.
    • getOptionalMessage

      public Optional<String> getOptionalMessage()
      Gets the value of the 'message' field as an Optional
      Returns:
      The Optional<value>.
    • setMessage

      public IdlTestIntegrationPayload.Builder setMessage(String value)
      Sets the value of the 'message' field.
      Parameters:
      value - The value of 'message'.
      Returns:
      This builder.
    • hasMessage

      public boolean hasMessage()
      Checks whether the 'message' field has been set.
      Returns:
      True if the 'message' field has been set, false otherwise.
    • clearMessage

      public IdlTestIntegrationPayload.Builder clearMessage()
      Clears the value of the 'message' field.
      Returns:
      This builder.
    • build

      public IdlTestIntegrationPayload build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<IdlTestIntegrationPayload>