Class EventId.Builder

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

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

      • getId

        public String getId()
        Gets the value of the 'id' field. a unique identifier
        Returns:
        The value.
      • setId

        public EventId.Builder setId​(String value)
        Sets the value of the 'id' field. a unique identifier
        Parameters:
        value - The value of 'id'.
        Returns:
        This builder.
      • hasId

        public boolean hasId()
        Checks whether the 'id' field has been set. a unique identifier
        Returns:
        True if the 'id' field has been set, false otherwise.
      • clearId

        public EventId.Builder clearId()
        Clears the value of the 'id' field. a unique identifier
        Returns:
        This builder.
      • getNonce

        public long getNonce()
        Gets the value of the 'nonce' field. the number of the transactions for the user
        Returns:
        The value.
      • setNonce

        public EventId.Builder setNonce​(long value)
        Sets the value of the 'nonce' field. the number of the transactions for the user
        Parameters:
        value - The value of 'nonce'.
        Returns:
        This builder.
      • hasNonce

        public boolean hasNonce()
        Checks whether the 'nonce' field has been set. the number of the transactions for the user
        Returns:
        True if the 'nonce' field has been set, false otherwise.
      • clearNonce

        public EventId.Builder clearNonce()
        Clears the value of the 'nonce' field. the number of the transactions for the user
        Returns:
        This builder.
      • getDerived

        public boolean getDerived()
        Gets the value of the 'derived' field. indicate if the event is derived from event processor
        Returns:
        The value.
      • setDerived

        public EventId.Builder setDerived​(boolean value)
        Sets the value of the 'derived' field. indicate if the event is derived from event processor
        Parameters:
        value - The value of 'derived'.
        Returns:
        This builder.
      • hasDerived

        public boolean hasDerived()
        Checks whether the 'derived' field has been set. indicate if the event is derived from event processor
        Returns:
        True if the 'derived' field has been set, false otherwise.
      • clearDerived

        public EventId.Builder clearDerived()
        Clears the value of the 'derived' field. indicate if the event is derived from event processor
        Returns:
        This builder.
      • build

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