Class ErrorDescription.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder<ErrorDescription>
    Enclosing class:
    ErrorDescription

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

      • getErrorClass

        public java.lang.String getErrorClass()
        Gets the value of the 'error_class' field.
        Returns:
        The value.
      • setErrorClass

        public ErrorDescription.Builder setErrorClass​(java.lang.String value)
        Sets the value of the 'error_class' field.
        Parameters:
        value - The value of 'error_class'.
        Returns:
        This builder.
      • hasErrorClass

        public boolean hasErrorClass()
        Checks whether the 'error_class' field has been set.
        Returns:
        True if the 'error_class' field has been set, false otherwise.
      • clearErrorClass

        public ErrorDescription.Builder clearErrorClass()
        Clears the value of the 'error_class' field.
        Returns:
        This builder.
      • getMessage

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

        public ErrorDescription.Builder setMessage​(java.lang.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 ErrorDescription.Builder clearMessage()
        Clears the value of the 'message' field.
        Returns:
        This builder.
      • getStackTrace

        public java.lang.String getStackTrace()
        Gets the value of the 'stack_trace' field.
        Returns:
        The value.
      • setStackTrace

        public ErrorDescription.Builder setStackTrace​(java.lang.String value)
        Sets the value of the 'stack_trace' field.
        Parameters:
        value - The value of 'stack_trace'.
        Returns:
        This builder.
      • hasStackTrace

        public boolean hasStackTrace()
        Checks whether the 'stack_trace' field has been set.
        Returns:
        True if the 'stack_trace' field has been set, false otherwise.
      • clearStackTrace

        public ErrorDescription.Builder clearStackTrace()
        Clears the value of the 'stack_trace' field.
        Returns:
        This builder.