Class EventProcessingFailedReferences.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<EventProcessingFailedReferences>
org.apache.avro.specific.SpecificRecordBuilderBase<EventProcessingFailedReferences>
ch.admin.bit.jeap.domainevent.avro.error.EventProcessingFailedReferences.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<EventProcessingFailedReferences>
Enclosing class:
EventProcessingFailedReferences

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

    • getMessage

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

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

      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.
    • getMessageBuilder

      public MessageReference.Builder getMessageBuilder()
      Gets the Builder instance for the 'message' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setMessageBuilder

      Sets the Builder instance for the 'message' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasMessageBuilder

      public boolean hasMessageBuilder()
      Checks whether the 'message' field has an active Builder instance
      Returns:
      True if the 'message' field has an active Builder instance
    • clearMessage

      Clears the value of the 'message' field.
      Returns:
      This builder.
    • getErrorType

      public ErrorTypeReference getErrorType()
      Gets the value of the 'errorType' field.
      Returns:
      The value.
    • getOptionalErrorType

      public Optional<ErrorTypeReference> getOptionalErrorType()
      Gets the value of the 'errorType' field as an Optional
      Returns:
      The Optional<value>.
    • setErrorType

      Sets the value of the 'errorType' field.
      Parameters:
      value - The value of 'errorType'.
      Returns:
      This builder.
    • hasErrorType

      public boolean hasErrorType()
      Checks whether the 'errorType' field has been set.
      Returns:
      True if the 'errorType' field has been set, false otherwise.
    • getErrorTypeBuilder

      public ErrorTypeReference.Builder getErrorTypeBuilder()
      Gets the Builder instance for the 'errorType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setErrorTypeBuilder

      Sets the Builder instance for the 'errorType' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasErrorTypeBuilder

      public boolean hasErrorTypeBuilder()
      Checks whether the 'errorType' field has an active Builder instance
      Returns:
      True if the 'errorType' field has an active Builder instance
    • clearErrorType

      public EventProcessingFailedReferences.Builder clearErrorType()
      Clears the value of the 'errorType' field.
      Returns:
      This builder.
    • build

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<EventProcessingFailedReferences>