it.auties.whatsapp.model.message.standard.ContactsMessageBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.message.standard;
public class ContactsMessageBuilder {
private java.lang.String name;
private java.util.List contacts;
private it.auties.whatsapp.model.info.ContextInfo contextInfo;
public ContactsMessageBuilder() {
name = null;
contacts = it.auties.protobuf.builtin.ProtobufRepeatedMixin.newList();
contextInfo = null;
}
public ContactsMessageBuilder name(java.lang.String name) {
this.name = name;
return this;
}
public ContactsMessageBuilder contacts(java.util.List contacts) {
this.contacts = contacts;
return this;
}
public ContactsMessageBuilder contextInfo(it.auties.whatsapp.model.info.ContextInfo contextInfo) {
this.contextInfo = contextInfo;
return this;
}
public it.auties.whatsapp.model.message.standard.ContactsMessage build() {
return new it.auties.whatsapp.model.message.standard.ContactsMessage(name, contacts, contextInfo);
}
}