presto-client/src/main/java/io/prestosql/client/Warning.java/Warning/equals
class Warning:    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) {
            return true;
        }
        if ((obj == null) || (getClass() != obj.getClass())) {
            return false;
        }
        Warning that = (Warning) obj;
        return Objects.equals(warningCode, that.warningCode) &&
                Objects.equals(message, that.message);
    }