14#ifndef ORTOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_
15#define ORTOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_
17#include "absl/container/flat_hash_set.h"
18#include "absl/status/status.h"
49 const absl::flat_hash_set<CallbackEventProto>& supported_events);
absl::Status ValidateCallbackResultProto(const CallbackResultProto &callback_result, const CallbackEventProto callback_event, const CallbackRegistrationProto &callback_registration, const ModelSummary &model_summary)
absl::Status CheckRegisteredCallbackEvents(const CallbackRegistrationProto ®istration, const absl::flat_hash_set< CallbackEventProto > &supported_events)
absl::Status ValidateCallbackDataProto(const CallbackDataProto &cb_data, const CallbackRegistrationProto &callback_registration, const ModelSummary &model_summary)
absl::Status ValidateCallbackRegistration(const CallbackRegistrationProto &callback_registration, const ModelSummary &model_summary)