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

#ifndef COMPONENTS_OPTIMIZATION_GUIDE_PROTO_FEATURES_CONTENT_ANNOTATION_TO_VALUE_H_
#define COMPONENTS_OPTIMIZATION_GUIDE_PROTO_FEATURES_CONTENT_ANNOTATION_TO_VALUE_H_

#include <optional>
#include <string_view>



namespace base {
class DictValue;
class Value;
}  // namespace base
namespace optimization_guide {
namespace proto {
class CarRental;
class ContentAnnotation;
class ContentAnnotationLoggingData;
class ContentAnnotationRequest;
class ContentAnnotationResponse;
class Date;
class DynamicAttribute;
class FlightReservation;
class HotelBooking;
class Order;
class Product;
class Shipment;
class StructuredData;
}  // namespace proto
}  // namespace optimization_guide


namespace optimization_guide {
namespace proto {
base::Value ToValue(const ContentAnnotationLoggingData& message);
void MaybeToValue(const std::optional<ContentAnnotationLoggingData>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const ContentAnnotationRequest& message);
void MaybeToValue(const std::optional<ContentAnnotationRequest>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const ContentAnnotationResponse& message);
void MaybeToValue(const std::optional<ContentAnnotationResponse>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const ContentAnnotation& message);
void MaybeToValue(const std::optional<ContentAnnotation>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const StructuredData& message);
void MaybeToValue(const std::optional<StructuredData>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const Order& message);
void MaybeToValue(const std::optional<Order>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const Product& message);
void MaybeToValue(const std::optional<Product>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const Date& message);
void MaybeToValue(const std::optional<Date>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const Shipment& message);
void MaybeToValue(const std::optional<Shipment>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const FlightReservation& message);
void MaybeToValue(const std::optional<FlightReservation>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const HotelBooking& message);
void MaybeToValue(const std::optional<HotelBooking>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const CarRental& message);
void MaybeToValue(const std::optional<CarRental>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
base::Value ToValue(const DynamicAttribute& message);
void MaybeToValue(const std::optional<DynamicAttribute>& opt_message,
                  std::string_view output_dictionary_field_name,
                  base::DictValue& output_dictionary);
}  // namespace proto
}  // namespace optimization_guide


#endif  // COMPONENTS_OPTIMIZATION_GUIDE_PROTO_FEATURES_CONTENT_ANNOTATION_TO_VALUE_H_
