public void copyDefaultsFrom(final GrpcChannelProperties config) {
        if (this == config) {
            return;
        }
        if (this.address == null) {
            this.address = config.address;
        }
        if (this.defaultRequestTimeout == null) {
            this.defaultRequestTimeout = config.defaultRequestTimeout;
        }
        if (this.defaultLoadBalancingPolicy == null) {
            this.defaultLoadBalancingPolicy = config.defaultLoadBalancingPolicy;
        }
        if (this.enableKeepAlive == null) {
            this.enableKeepAlive = config.enableKeepAlive;
        }
        if (this.keepAliveTime == null) {
            this.keepAliveTime = config.keepAliveTime;
        }
        if (this.keepAliveTimeout == null) {
            this.keepAliveTimeout = config.keepAliveTimeout;
        }
        if (this.keepAliveWithoutCalls == null) {
            this.keepAliveWithoutCalls = config.keepAliveWithoutCalls;
        }
        if (this.shutdownGracePeriod == null) {
            this.shutdownGracePeriod = config.shutdownGracePeriod;
        }
        if (this.maxInboundMessageSize == null) {
            this.maxInboundMessageSize = config.maxInboundMessageSize;
        }
        if (this.maxInboundMetadataSize == null) {
            this.maxInboundMetadataSize = config.maxInboundMetadataSize;
        }
        if (this.negotiationType == null) {
            this.negotiationType = config.negotiationType;
        }
        if (this.immediateConnectTimeout == null) {
            this.immediateConnectTimeout = config.immediateConnectTimeout;
        }
        if (this.userAgent == null) {
            this.userAgent = config.userAgent;
        }
        this.security.copyDefaultsFrom(config.security);
    }
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