All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.signal.message.SenderKeyMessageBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.signal.message;

public class SenderKeyMessageBuilder {
    private java.lang.Integer id;
    private java.lang.Integer iteration;
    private byte[] cipherText;

    public SenderKeyMessageBuilder() {
        id = null;
        iteration = null;
        cipherText = null;
    }

    public SenderKeyMessageBuilder id(java.lang.Integer id) {
        this.id = id;
        return this;
    }

    public SenderKeyMessageBuilder iteration(java.lang.Integer iteration) {
        this.iteration = iteration;
        return this;
    }

    public SenderKeyMessageBuilder cipherText(byte[] cipherText) {
        this.cipherText = cipherText;
        return this;
    }

    public it.auties.whatsapp.model.signal.message.SenderKeyMessage build() {
        return new it.auties.whatsapp.model.signal.message.SenderKeyMessage(id, iteration, cipherText);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy