it.auties.whatsapp.model.sync.PushNameBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.sync;
public class PushNameBuilder {
private java.lang.String id;
private java.util.Optional name;
public PushNameBuilder() {
id = null;
name = it.auties.protobuf.builtin.ProtobufOptionalMixin.newOptional();
}
public PushNameBuilder id(java.lang.String id) {
this.id = id;
return this;
}
public PushNameBuilder name(java.lang.String name) {
this.name = it.auties.protobuf.builtin.ProtobufOptionalMixin.ofOptional(name);
return this;
}
public it.auties.whatsapp.model.sync.PushName build() {
return new it.auties.whatsapp.model.sync.PushName(id, name);
}
}