Class NetworkEvent.Builder

    • Constructor Detail

      • Builder

        Builder()
        Deprecated.
    • Method Detail

      • setKernelTimestamp

        public abstract NetworkEvent.Builder setKernelTimestamp​(@Nullable
                                                                Timestamp kernelTimestamp)
        Deprecated.
        Sets the kernel timestamp.
        Parameters:
        kernelTimestamp - The kernel timestamp of the event.
        Returns:
        this.
        Since:
        0.5
      • setMessageSize

        @Deprecated
        public NetworkEvent.Builder setMessageSize​(long messageSize)
        Sets the uncompressed message size.
        Parameters:
        messageSize - represents the uncompressed size in bytes of this message.
        Returns:
        this.
        Since:
        0.5
      • setUncompressedMessageSize

        public abstract NetworkEvent.Builder setUncompressedMessageSize​(long uncompressedMessageSize)
        Deprecated.
        Sets the uncompressed message size.
        Parameters:
        uncompressedMessageSize - represents the uncompressed size in bytes of this message.
        Returns:
        this.
        Since:
        0.6
      • setCompressedMessageSize

        public abstract NetworkEvent.Builder setCompressedMessageSize​(long compressedMessageSize)
        Deprecated.
        Sets the compressed message size.
        Parameters:
        compressedMessageSize - represents the compressed size in bytes of this message.
        Returns:
        this.
        Since:
        0.6
      • build

        public abstract NetworkEvent build()
        Deprecated.
        Builds and returns a NetworkEvent with the desired values.
        Returns:
        a NetworkEvent with the desired values.
        Since:
        0.5