@Override
    public int hashCode() {
        return Objects.hash(registry, appName, port, this.isGray(), group, version);
    }
Sets the version.

@param version version
shenyu-common/src/main/java/org/apache/shenyu/common/dto/convert/selector/DubboUpstream.java