def METHOD_NAME(config):
    """Validates `config` against the protobuf spec."""
    _utils.json_to_proto(
        config,
        _ConfigProtos.Config,
        ignore_unknown_fields=True,  # TODO: reset to False when protos are impl
    )