@Override
    public String toString() {
        return "DubboUpstream{"
                + "registry='" + registry
                + "', appName='" + appName
                + "', protocol='" + this.getProtocol()
                + "', port=" + port
                + ", upstreamUrl='" + this.getUpstreamUrl()
                + "', gray=" + this.isGray()
                + ", weight=" + weight
                + ", warmup=" + warmup
                + ", status=" + isStatus()
                + ", timestamp=" + getTimestamp()
                + ", group='" + group
                + ", version='" + version
                + "'}";
    }
Sets the version.

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