Class SessionEvent.Builder

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

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

    RecordBuilder for SessionEvent instances.

    • Constructor Detail

    • Method Detail

      • getMessageDirection

         MessageDirection getMessageDirection()

        Gets the value of the 'messageDirection' field. INBOUND for messages originating from a counterparty. OUTBOUND for messages to be sent to a counterparty.

      • setMessageDirection

         SessionEvent.Builder setMessageDirection(MessageDirection value)

        Sets the value of the 'messageDirection' field. INBOUND for messages originating from a counterparty. OUTBOUND for messages to be sent to a counterparty.

        Parameters:
        value - The value of 'messageDirection'.
      • getTimestamp

         Instant getTimestamp()

        Gets the value of the 'timestamp' field. Time ([Instant]) in milliseconds when the session event was created

      • setTimestamp

         SessionEvent.Builder setTimestamp(Instant value)

        Sets the value of the 'timestamp' field. Time ([Instant]) in milliseconds when the session event was created

        Parameters:
        value - The value of 'timestamp'.
      • getSessionId

         String getSessionId()

        Gets the value of the 'sessionId' field. UUID for the session. The initiated party sessionID will have a suffix of `-INITIATED`

      • setSessionId

         SessionEvent.Builder setSessionId(String value)

        Sets the value of the 'sessionId' field. UUID for the session. The initiated party sessionID will have a suffix of `-INITIATED`

        Parameters:
        value - The value of 'sessionId'.
      • getSequenceNum

         Integer getSequenceNum()

        Gets the value of the 'sequenceNum' field. Unique id for a message sent to a party. sequenceNum is not bidirectional. Each party will track outbound/inbound sequence numbers separately.

      • setSequenceNum

         SessionEvent.Builder setSequenceNum(Integer value)

        Sets the value of the 'sequenceNum' field. Unique id for a message sent to a party. sequenceNum is not bidirectional. Each party will track outbound/inbound sequence numbers separately.

        Parameters:
        value - The value of 'sequenceNum'.
      • getContextSessionProperties

         KeyValuePairList getContextSessionProperties()

        Gets the value of the 'contextSessionProperties' field. A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.

      • setContextSessionProperties

         SessionEvent.Builder setContextSessionProperties(KeyValuePairList value)

        Sets the value of the 'contextSessionProperties' field. A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.

        Parameters:
        value - The value of 'contextSessionProperties'.
      • getContextSessionPropertiesBuilder

         KeyValuePairList.Builder getContextSessionPropertiesBuilder()

        Gets the Builder instance for the 'contextSessionProperties' field and creates one if it doesn't exist yet. A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.

      • setContextSessionPropertiesBuilder

         SessionEvent.Builder setContextSessionPropertiesBuilder(KeyValuePairList.Builder value)

        Sets the Builder instance for the 'contextSessionProperties' field A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.

        Parameters:
        value - The builder instance that must be set.
      • hasMessageDirection

         boolean hasMessageDirection()

        Checks whether the 'messageDirection' field has been set. INBOUND for messages originating from a counterparty. OUTBOUND for messages to be sent to a counterparty.

      • clearMessageDirection

         SessionEvent.Builder clearMessageDirection()

        Clears the value of the 'messageDirection' field. INBOUND for messages originating from a counterparty. OUTBOUND for messages to be sent to a counterparty.

      • hasTimestamp

         boolean hasTimestamp()

        Checks whether the 'timestamp' field has been set. Time ([Instant]) in milliseconds when the session event was created

      • hasSessionId

         boolean hasSessionId()

        Checks whether the 'sessionId' field has been set. UUID for the session. The initiated party sessionID will have a suffix of `-INITIATED`

      • clearSessionId

         SessionEvent.Builder clearSessionId()

        Clears the value of the 'sessionId' field. UUID for the session. The initiated party sessionID will have a suffix of `-INITIATED`

      • hasSequenceNum

         boolean hasSequenceNum()

        Checks whether the 'sequenceNum' field has been set. Unique id for a message sent to a party. sequenceNum is not bidirectional. Each party will track outbound/inbound sequence numbers separately.

      • clearSequenceNum

         SessionEvent.Builder clearSequenceNum()

        Clears the value of the 'sequenceNum' field. Unique id for a message sent to a party. sequenceNum is not bidirectional. Each party will track outbound/inbound sequence numbers separately.

      • hasInitiatingIdentity

         boolean hasInitiatingIdentity()

        Checks whether the 'initiatingIdentity' field has been set. Identity of party who started a session.

      • hasInitiatingIdentityBuilder

         boolean hasInitiatingIdentityBuilder()

        Checks whether the 'initiatingIdentity' field has an active Builder instance Identity of party who started a session.

      • hasInitiatedIdentity

         boolean hasInitiatedIdentity()

        Checks whether the 'initiatedIdentity' field has been set. Identity of party in the session who was initiated.

      • hasInitiatedIdentityBuilder

         boolean hasInitiatedIdentityBuilder()

        Checks whether the 'initiatedIdentity' field has an active Builder instance Identity of party in the session who was initiated.

      • hasPayload

         boolean hasPayload()

        Checks whether the 'payload' field has been set.

      • hasContextSessionProperties

         boolean hasContextSessionProperties()

        Checks whether the 'contextSessionProperties' field has been set. A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.

      • hasContextSessionPropertiesBuilder

         boolean hasContextSessionPropertiesBuilder()

        Checks whether the 'contextSessionProperties' field has an active Builder instance A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.

      • clearContextSessionProperties

         SessionEvent.Builder clearContextSessionProperties()

        Clears the value of the 'contextSessionProperties' field. A map of context properties received from a counterparty related to this flow session. This is static data and will be set to null when previously sent.