private ComponentId namespace() {
        var owner = getParent().getParent();
        return (owner instanceof Chain<?> chain) ? chain.getGlobalComponentId() : null;
    }
@author Tony Vaagenes
@author gjoranv

Base class for all ChainedComponent config producers.
config-model/src/main/java/com/yahoo/vespa/model/container/component/chain/ChainedComponent.java