public boolean matches(PayloadChecksums other) {
        if (getForType(XXHASH64) != null) return getForType(XXHASH64).equals(other.getForType(XXHASH64));
        if (getForType(MD5) != null) return getForType(MD5).equals(other.getForType(MD5));
        return true;
    }
Checksums for config payload, typically 1 for each PayloadChecksum type (md5 and xxhash64).
Initialized with empty checksum for each existing type.

@author hmusum
config/src/main/java/com/yahoo/vespa/config/PayloadChecksums.java