@Override
    public void getConfig(TranslogserverConfig.Builder builder) {
        Optional<NodeResources> nodeResources = getSpecifiedNodeResources();
        if (nodeResources.isPresent()) {
            if (nodeResources.get().storageType() == NodeResources.StorageType.remote) {
                builder.usefsync(false);
            }
        }
        builder.listenport(getTlsPort())
                .basedir(getTlsDir());
        if (syncTransactionLog != null)
            builder.usefsync(syncTransactionLog);
    }
Represents a search node (proton).
<p>
Due to the current disconnect between StorageNode and SearchNode, we have to
duplicate the set of RestartConfigs classes from StorageNode here, as SearchNode
runs in a content/storage node context without this being immediately obvious
in the model.

@author arnej27959
@author hmusum
config-model/src/main/java/com/yahoo/vespa/model/search/SearchNode.java