setConfig(config) {
    for (let name in config) {
      if (config.hasOwnProperty(name)) {
        try {
          this.config_.update(name, config[name]);
        } catch (e) {
          log.error(`Invalid config: "${name}"`);
        }
      }
    }
  }
Validates and sets the plain configuration settting object.
@param {!Object} config The configuration setting object.