Class InboundUnauthenticatedMessageHeader.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class InboundUnauthenticatedMessageHeader.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for InboundUnauthenticatedMessageHeader instances.

    • Constructor Detail

    • Method Detail

      • getSubsystem

         String getSubsystem()

        Gets the value of the 'subsystem' field. This value identifies the upstream user of the p2p layer that this message is sent from and should be received by. It can be used to filter incoming messages from the p2p layer and process only the ones destined for a specific system.

      • setSubsystem

         InboundUnauthenticatedMessageHeader.Builder setSubsystem(String value)

        Sets the value of the 'subsystem' field. This value identifies the upstream user of the p2p layer that this message is sent from and should be received by. It can be used to filter incoming messages from the p2p layer and process only the ones destined for a specific system.

        Parameters:
        value - The value of 'subsystem'.
      • getMessageId

         String getMessageId()

        Gets the value of the 'messageId' field. A unique identifier for this message. This will be used by the p2p layer to identify the message in the logs.

      • hasSubsystem

         boolean hasSubsystem()

        Checks whether the 'subsystem' field has been set. This value identifies the upstream user of the p2p layer that this message is sent from and should be received by. It can be used to filter incoming messages from the p2p layer and process only the ones destined for a specific system.

      • clearSubsystem

         InboundUnauthenticatedMessageHeader.Builder clearSubsystem()

        Clears the value of the 'subsystem' field. This value identifies the upstream user of the p2p layer that this message is sent from and should be received by. It can be used to filter incoming messages from the p2p layer and process only the ones destined for a specific system.

      • hasMessageId

         boolean hasMessageId()

        Checks whether the 'messageId' field has been set. A unique identifier for this message. This will be used by the p2p layer to identify the message in the logs.