public S setRegistry(List<RegistryConfig> registry) {
        this.registry = registry;
        return castThis();
    }
Sets serialization.

@param serialization the serialization
@return the serialization
core/api/src/main/java/com/alipay/sofa/rpc/config/AbstractInterfaceConfig.java