public void setType(final String type) {
        this.type = type;
    }
Sets type.

@param type the type
shenyu-register-center/shenyu-register-common/src/main/java/org/apache/shenyu/register/common/config/ShenyuDiscoveryConfig.java