public static <T extends ConfigInstance> JRTClientConfigRequest createFromSub(JRTConfigSubscription<T> sub,
                                                                                  Trace trace,
                                                                                  CompressionType compressionType,
                                                                                  Optional<VespaVersion> vespaVersion) {
        ConfigSubscription.ConfigState<T> configState = sub.getConfigState();
        return createWithParams(sub.getKey(),
                                sub.getDefContent(),
                                ConfigUtils.getCanonicalHostName(),
                                configState.getChecksums(),
                                configState.getGeneration(),
                                sub.timingValues().getSubscribeTimeout(),
                                trace,
                                compressionType,
                                vespaVersion);
    }
Represents version 3 config request for config clients. Provides methods for inspecting request and response
values.

See {@link JRTServerConfigRequestV3} for protocol details.

@author Ulf Lilleengen
config/src/main/java/com/yahoo/vespa/config/protocol/JRTClientConfigRequestV3.java