public void copyDefaultsFrom(final Security config) {
            if (this == config) {
                return;
            }
            if (this.clientAuthEnabled == null) {
                this.clientAuthEnabled = config.clientAuthEnabled;
            }
            if (this.certificateChain == null) {
                this.certificateChain = config.certificateChain;
            }
            if (this.privateKey == null) {
                this.privateKey = config.privateKey;
            }
            if (this.privateKeyPassword == null) {
                this.privateKeyPassword = config.privateKeyPassword;
            }
            if (this.keyStoreFormat == null) {
                this.keyStoreFormat = config.keyStoreFormat;
            }
            if (this.keyStore == null) {
                this.keyStore = config.keyStore;
            }
            if (this.keyStorePassword == null) {
                this.keyStorePassword = config.keyStorePassword;
            }
            if (this.trustCertCollection == null) {
                this.trustCertCollection = config.trustCertCollection;
            }
            if (this.trustStoreFormat == null) {
                this.trustStoreFormat = config.trustStoreFormat;
            }
            if (this.trustStore == null) {
                this.trustStore = config.trustStore;
            }
            if (this.trustStorePassword == null) {
                this.trustStorePassword = config.trustStorePassword;
            }
            if (this.authorityOverride == null) {
                this.authorityOverride = config.authorityOverride;
            }
            if (this.ciphers == null) {
                this.ciphers = config.ciphers;
            }
            if (this.protocols == null) {
                this.protocols = config.protocols;
            }
        }
Copies the defaults from the given configuration. Values are considered "default" if they are null. Please
note that the getters might return fallback values instead.

@param config The config to copy the defaults from.
grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java