@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof MessagesWithTotal other)) {
            return super.equals(obj);
        }

        if (getTotal() != other.getTotal()) {
            return false;
        }
        if (getIsGroupMessage() != other.getIsGroupMessage()) {
            return false;
        }
        return getFromId() == other.getFromId()
                && getMessagesList().equals(other.getMessagesList())
                && getUnknownFields().equals(other.getUnknownFields());
    }
<code>repeated .im.turms.proto.Message messages = 4;</code>
turms-server-common/src/main/java/im/turms/server/common/access/client/dto/model/message/MessagesWithTotal.java