public RegistryConfig setIndex(String index) {
        this.index = index;
        return this;
    }
Is register boolean.

@return the boolean
core/api/src/main/java/com/alipay/sofa/rpc/config/RegistryConfig.java