// Generated by the proto_extras plugin. DO NOT EDIT!
// source: components/optimization_guide/proto/model_execution.proto

#ifndef COMPONENTS_OPTIMIZATION_GUIDE_PROTO_MODEL_EXECUTION_TO_VALUE_H_
#define COMPONENTS_OPTIMIZATION_GUIDE_PROTO_MODEL_EXECUTION_TO_VALUE_H_

#include <optional>
#include <string_view>



namespace base {
class DictValue;
class Value;
}  // namespace base
namespace optimization_guide {
namespace proto {
class ErrorResponse;
class ExecuteRequest;
class ExecuteResponse;
class PrivateExecuteRequest;
}  // namespace proto
}  // namespace optimization_guide


namespace optimization_guide {
namespace proto {
base::Value ToValue(const ExecuteRequest& message);
void MaybeToValue(const std::optional<ExecuteRequest>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const PrivateExecuteRequest& message);
void MaybeToValue(const std::optional<PrivateExecuteRequest>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const ExecuteResponse& message);
void MaybeToValue(const std::optional<ExecuteResponse>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const ErrorResponse& message);
void MaybeToValue(const std::optional<ErrorResponse>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
}  // namespace proto
}  // namespace optimization_guide


#endif  // COMPONENTS_OPTIMIZATION_GUIDE_PROTO_MODEL_EXECUTION_TO_VALUE_H_
