#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2fcommerce_2fcore_2fproto_2fprice_5ftracking_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2fcommerce_2fcore_2fproto_2fprice_5ftracking_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_enum_util.h>
#include "components/commerce/core/proto/product_category.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2fcommerce_2fcore_2fproto_2fprice_5ftracking_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2fcommerce_2fcore_2fproto_2fprice_5ftracking_2eproto { … };
namespace commerce {
class BuyableProduct;
struct BuyableProductDefaultTypeInternal;
extern BuyableProductDefaultTypeInternal _BuyableProduct_default_instance_;
class PriceDropNotificationPayload;
struct PriceDropNotificationPayloadDefaultTypeInternal;
extern PriceDropNotificationPayloadDefaultTypeInternal _PriceDropNotificationPayload_default_instance_;
class PriceTrackingData;
struct PriceTrackingDataDefaultTypeInternal;
extern PriceTrackingDataDefaultTypeInternal _PriceTrackingData_default_instance_;
class ProductPrice;
struct ProductPriceDefaultTypeInternal;
extern ProductPriceDefaultTypeInternal _ProductPrice_default_instance_;
class ProductPriceUpdate;
struct ProductPriceUpdateDefaultTypeInternal;
extern ProductPriceUpdateDefaultTypeInternal _ProductPriceUpdate_default_instance_;
}
PROTOBUF_NAMESPACE_OPEN
template<> ::commerce::BuyableProduct* Arena::CreateMaybeMessage<::commerce::BuyableProduct>(Arena*);
template<> ::commerce::PriceDropNotificationPayload* Arena::CreateMaybeMessage<::commerce::PriceDropNotificationPayload>(Arena*);
template<> ::commerce::PriceTrackingData* Arena::CreateMaybeMessage<::commerce::PriceTrackingData>(Arena*);
template<> ::commerce::ProductPrice* Arena::CreateMaybeMessage<::commerce::ProductPrice>(Arena*);
template<> ::commerce::ProductPriceUpdate* Arena::CreateMaybeMessage<::commerce::ProductPriceUpdate>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace commerce {
enum BuyableProduct_ProductReferenceType : int { … };
bool BuyableProduct_ProductReferenceType_IsValid(int value);
constexpr BuyableProduct_ProductReferenceType BuyableProduct_ProductReferenceType_ProductReferenceType_MIN = …;
constexpr BuyableProduct_ProductReferenceType BuyableProduct_ProductReferenceType_ProductReferenceType_MAX = …;
constexpr int BuyableProduct_ProductReferenceType_ProductReferenceType_ARRAYSIZE = …;
const std::string& BuyableProduct_ProductReferenceType_Name(BuyableProduct_ProductReferenceType value);
template<typename T>
inline const std::string& BuyableProduct_ProductReferenceType_Name(T enum_t_value) { … }
bool BuyableProduct_ProductReferenceType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BuyableProduct_ProductReferenceType* value);
class PriceTrackingData final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class BuyableProduct final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ProductPriceUpdate final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ProductPrice final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class PriceDropNotificationPayload final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool PriceTrackingData::_internal_has_buyable_product() const { … }
inline bool PriceTrackingData::has_buyable_product() const { … }
inline void PriceTrackingData::clear_buyable_product() { … }
inline const ::commerce::BuyableProduct& PriceTrackingData::_internal_buyable_product() const { … }
inline const ::commerce::BuyableProduct& PriceTrackingData::buyable_product() const { … }
inline void PriceTrackingData::unsafe_arena_set_allocated_buyable_product(
::commerce::BuyableProduct* buyable_product) { … }
inline ::commerce::BuyableProduct* PriceTrackingData::release_buyable_product() { … }
inline ::commerce::BuyableProduct* PriceTrackingData::unsafe_arena_release_buyable_product() { … }
inline ::commerce::BuyableProduct* PriceTrackingData::_internal_mutable_buyable_product() { … }
inline ::commerce::BuyableProduct* PriceTrackingData::mutable_buyable_product() { … }
inline void PriceTrackingData::set_allocated_buyable_product(::commerce::BuyableProduct* buyable_product) { … }
inline bool PriceTrackingData::_internal_has_product_update() const { … }
inline bool PriceTrackingData::has_product_update() const { … }
inline void PriceTrackingData::clear_product_update() { … }
inline const ::commerce::ProductPriceUpdate& PriceTrackingData::_internal_product_update() const { … }
inline const ::commerce::ProductPriceUpdate& PriceTrackingData::product_update() const { … }
inline void PriceTrackingData::unsafe_arena_set_allocated_product_update(
::commerce::ProductPriceUpdate* product_update) { … }
inline ::commerce::ProductPriceUpdate* PriceTrackingData::release_product_update() { … }
inline ::commerce::ProductPriceUpdate* PriceTrackingData::unsafe_arena_release_product_update() { … }
inline ::commerce::ProductPriceUpdate* PriceTrackingData::_internal_mutable_product_update() { … }
inline ::commerce::ProductPriceUpdate* PriceTrackingData::mutable_product_update() { … }
inline void PriceTrackingData::set_allocated_product_update(::commerce::ProductPriceUpdate* product_update) { … }
inline bool BuyableProduct::_internal_has_title() const { … }
inline bool BuyableProduct::has_title() const { … }
inline void BuyableProduct::clear_title() { … }
inline const std::string& BuyableProduct::title() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void BuyableProduct::set_title(ArgT0&& arg0, ArgT... args) { … }
inline std::string* BuyableProduct::mutable_title() { … }
inline const std::string& BuyableProduct::_internal_title() const { … }
inline void BuyableProduct::_internal_set_title(const std::string& value) { … }
inline std::string* BuyableProduct::_internal_mutable_title() { … }
inline std::string* BuyableProduct::release_title() { … }
inline void BuyableProduct::set_allocated_title(std::string* title) { … }
inline bool BuyableProduct::_internal_has_image_url() const { … }
inline bool BuyableProduct::has_image_url() const { … }
inline void BuyableProduct::clear_image_url() { … }
inline const std::string& BuyableProduct::image_url() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void BuyableProduct::set_image_url(ArgT0&& arg0, ArgT... args) { … }
inline std::string* BuyableProduct::mutable_image_url() { … }
inline const std::string& BuyableProduct::_internal_image_url() const { … }
inline void BuyableProduct::_internal_set_image_url(const std::string& value) { … }
inline std::string* BuyableProduct::_internal_mutable_image_url() { … }
inline std::string* BuyableProduct::release_image_url() { … }
inline void BuyableProduct::set_allocated_image_url(std::string* image_url) { … }
inline bool BuyableProduct::_internal_has_current_price() const { … }
inline bool BuyableProduct::has_current_price() const { … }
inline void BuyableProduct::clear_current_price() { … }
inline const ::commerce::ProductPrice& BuyableProduct::_internal_current_price() const { … }
inline const ::commerce::ProductPrice& BuyableProduct::current_price() const { … }
inline void BuyableProduct::unsafe_arena_set_allocated_current_price(
::commerce::ProductPrice* current_price) { … }
inline ::commerce::ProductPrice* BuyableProduct::release_current_price() { … }
inline ::commerce::ProductPrice* BuyableProduct::unsafe_arena_release_current_price() { … }
inline ::commerce::ProductPrice* BuyableProduct::_internal_mutable_current_price() { … }
inline ::commerce::ProductPrice* BuyableProduct::mutable_current_price() { … }
inline void BuyableProduct::set_allocated_current_price(::commerce::ProductPrice* current_price) { … }
inline bool BuyableProduct::_internal_has_reference_type() const { … }
inline bool BuyableProduct::has_reference_type() const { … }
inline void BuyableProduct::clear_reference_type() { … }
inline ::commerce::BuyableProduct_ProductReferenceType BuyableProduct::_internal_reference_type() const { … }
inline ::commerce::BuyableProduct_ProductReferenceType BuyableProduct::reference_type() const { … }
inline void BuyableProduct::_internal_set_reference_type(::commerce::BuyableProduct_ProductReferenceType value) { … }
inline void BuyableProduct::set_reference_type(::commerce::BuyableProduct_ProductReferenceType value) { … }
inline bool BuyableProduct::_internal_has_offer_id() const { … }
inline bool BuyableProduct::has_offer_id() const { … }
inline void BuyableProduct::clear_offer_id() { … }
inline uint64_t BuyableProduct::_internal_offer_id() const { … }
inline uint64_t BuyableProduct::offer_id() const { … }
inline void BuyableProduct::_internal_set_offer_id(uint64_t value) { … }
inline void BuyableProduct::set_offer_id(uint64_t value) { … }
inline bool BuyableProduct::_internal_has_product_cluster_id() const { … }
inline bool BuyableProduct::has_product_cluster_id() const { … }
inline void BuyableProduct::clear_product_cluster_id() { … }
inline uint64_t BuyableProduct::_internal_product_cluster_id() const { … }
inline uint64_t BuyableProduct::product_cluster_id() const { … }
inline void BuyableProduct::_internal_set_product_cluster_id(uint64_t value) { … }
inline void BuyableProduct::set_product_cluster_id(uint64_t value) { … }
inline bool BuyableProduct::_internal_has_country_code() const { … }
inline bool BuyableProduct::has_country_code() const { … }
inline void BuyableProduct::clear_country_code() { … }
inline const std::string& BuyableProduct::country_code() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void BuyableProduct::set_country_code(ArgT0&& arg0, ArgT... args) { … }
inline std::string* BuyableProduct::mutable_country_code() { … }
inline const std::string& BuyableProduct::_internal_country_code() const { … }
inline void BuyableProduct::_internal_set_country_code(const std::string& value) { … }
inline std::string* BuyableProduct::_internal_mutable_country_code() { … }
inline std::string* BuyableProduct::release_country_code() { … }
inline void BuyableProduct::set_allocated_country_code(std::string* country_code) { … }
inline bool BuyableProduct::_internal_has_gpc_title() const { … }
inline bool BuyableProduct::has_gpc_title() const { … }
inline void BuyableProduct::clear_gpc_title() { … }
inline const std::string& BuyableProduct::gpc_title() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void BuyableProduct::set_gpc_title(ArgT0&& arg0, ArgT... args) { … }
inline std::string* BuyableProduct::mutable_gpc_title() { … }
inline const std::string& BuyableProduct::_internal_gpc_title() const { … }
inline void BuyableProduct::_internal_set_gpc_title(const std::string& value) { … }
inline std::string* BuyableProduct::_internal_mutable_gpc_title() { … }
inline std::string* BuyableProduct::release_gpc_title() { … }
inline void BuyableProduct::set_allocated_gpc_title(std::string* gpc_title) { … }
inline bool BuyableProduct::_internal_has_category_data() const { … }
inline bool BuyableProduct::has_category_data() const { … }
inline const ::commerce::CategoryData& BuyableProduct::_internal_category_data() const { … }
inline const ::commerce::CategoryData& BuyableProduct::category_data() const { … }
inline void BuyableProduct::unsafe_arena_set_allocated_category_data(
::commerce::CategoryData* category_data) { … }
inline ::commerce::CategoryData* BuyableProduct::release_category_data() { … }
inline ::commerce::CategoryData* BuyableProduct::unsafe_arena_release_category_data() { … }
inline ::commerce::CategoryData* BuyableProduct::_internal_mutable_category_data() { … }
inline ::commerce::CategoryData* BuyableProduct::mutable_category_data() { … }
inline void BuyableProduct::set_allocated_category_data(::commerce::CategoryData* category_data) { … }
inline bool ProductPriceUpdate::_internal_has_offer_id() const { … }
inline bool ProductPriceUpdate::has_offer_id() const { … }
inline void ProductPriceUpdate::clear_offer_id() { … }
inline uint64_t ProductPriceUpdate::_internal_offer_id() const { … }
inline uint64_t ProductPriceUpdate::offer_id() const { … }
inline void ProductPriceUpdate::_internal_set_offer_id(uint64_t value) { … }
inline void ProductPriceUpdate::set_offer_id(uint64_t value) { … }
inline bool ProductPriceUpdate::_internal_has_old_price() const { … }
inline bool ProductPriceUpdate::has_old_price() const { … }
inline void ProductPriceUpdate::clear_old_price() { … }
inline const ::commerce::ProductPrice& ProductPriceUpdate::_internal_old_price() const { … }
inline const ::commerce::ProductPrice& ProductPriceUpdate::old_price() const { … }
inline void ProductPriceUpdate::unsafe_arena_set_allocated_old_price(
::commerce::ProductPrice* old_price) { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::release_old_price() { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::unsafe_arena_release_old_price() { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::_internal_mutable_old_price() { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::mutable_old_price() { … }
inline void ProductPriceUpdate::set_allocated_old_price(::commerce::ProductPrice* old_price) { … }
inline bool ProductPriceUpdate::_internal_has_new_price() const { … }
inline bool ProductPriceUpdate::has_new_price() const { … }
inline void ProductPriceUpdate::clear_new_price() { … }
inline const ::commerce::ProductPrice& ProductPriceUpdate::_internal_new_price() const { … }
inline const ::commerce::ProductPrice& ProductPriceUpdate::new_price() const { … }
inline void ProductPriceUpdate::unsafe_arena_set_allocated_new_price(
::commerce::ProductPrice* new_price) { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::release_new_price() { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::unsafe_arena_release_new_price() { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::_internal_mutable_new_price() { … }
inline ::commerce::ProductPrice* ProductPriceUpdate::mutable_new_price() { … }
inline void ProductPriceUpdate::set_allocated_new_price(::commerce::ProductPrice* new_price) { … }
inline bool ProductPrice::_internal_has_currency_code() const { … }
inline bool ProductPrice::has_currency_code() const { … }
inline void ProductPrice::clear_currency_code() { … }
inline const std::string& ProductPrice::currency_code() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ProductPrice::set_currency_code(ArgT0&& arg0, ArgT... args) { … }
inline std::string* ProductPrice::mutable_currency_code() { … }
inline const std::string& ProductPrice::_internal_currency_code() const { … }
inline void ProductPrice::_internal_set_currency_code(const std::string& value) { … }
inline std::string* ProductPrice::_internal_mutable_currency_code() { … }
inline std::string* ProductPrice::release_currency_code() { … }
inline void ProductPrice::set_allocated_currency_code(std::string* currency_code) { … }
inline bool ProductPrice::_internal_has_amount_micros() const { … }
inline bool ProductPrice::has_amount_micros() const { … }
inline void ProductPrice::clear_amount_micros() { … }
inline int64_t ProductPrice::_internal_amount_micros() const { … }
inline int64_t ProductPrice::amount_micros() const { … }
inline void ProductPrice::_internal_set_amount_micros(int64_t value) { … }
inline void ProductPrice::set_amount_micros(int64_t value) { … }
inline bool PriceDropNotificationPayload::_internal_has_product_name() const { … }
inline bool PriceDropNotificationPayload::has_product_name() const { … }
inline void PriceDropNotificationPayload::clear_product_name() { … }
inline const std::string& PriceDropNotificationPayload::product_name() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PriceDropNotificationPayload::set_product_name(ArgT0&& arg0, ArgT... args) { … }
inline std::string* PriceDropNotificationPayload::mutable_product_name() { … }
inline const std::string& PriceDropNotificationPayload::_internal_product_name() const { … }
inline void PriceDropNotificationPayload::_internal_set_product_name(const std::string& value) { … }
inline std::string* PriceDropNotificationPayload::_internal_mutable_product_name() { … }
inline std::string* PriceDropNotificationPayload::release_product_name() { … }
inline void PriceDropNotificationPayload::set_allocated_product_name(std::string* product_name) { … }
inline bool PriceDropNotificationPayload::_internal_has_offer_id() const { … }
inline bool PriceDropNotificationPayload::has_offer_id() const { … }
inline void PriceDropNotificationPayload::clear_offer_id() { … }
inline uint64_t PriceDropNotificationPayload::_internal_offer_id() const { … }
inline uint64_t PriceDropNotificationPayload::offer_id() const { … }
inline void PriceDropNotificationPayload::_internal_set_offer_id(uint64_t value) { … }
inline void PriceDropNotificationPayload::set_offer_id(uint64_t value) { … }
inline bool PriceDropNotificationPayload::_internal_has_destination_url() const { … }
inline bool PriceDropNotificationPayload::has_destination_url() const { … }
inline void PriceDropNotificationPayload::clear_destination_url() { … }
inline const std::string& PriceDropNotificationPayload::destination_url() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PriceDropNotificationPayload::set_destination_url(ArgT0&& arg0, ArgT... args) { … }
inline std::string* PriceDropNotificationPayload::mutable_destination_url() { … }
inline const std::string& PriceDropNotificationPayload::_internal_destination_url() const { … }
inline void PriceDropNotificationPayload::_internal_set_destination_url(const std::string& value) { … }
inline std::string* PriceDropNotificationPayload::_internal_mutable_destination_url() { … }
inline std::string* PriceDropNotificationPayload::release_destination_url() { … }
inline void PriceDropNotificationPayload::set_allocated_destination_url(std::string* destination_url) { … }
inline bool PriceDropNotificationPayload::_internal_has_current_price() const { … }
inline bool PriceDropNotificationPayload::has_current_price() const { … }
inline void PriceDropNotificationPayload::clear_current_price() { … }
inline const ::commerce::ProductPrice& PriceDropNotificationPayload::_internal_current_price() const { … }
inline const ::commerce::ProductPrice& PriceDropNotificationPayload::current_price() const { … }
inline void PriceDropNotificationPayload::unsafe_arena_set_allocated_current_price(
::commerce::ProductPrice* current_price) { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::release_current_price() { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::unsafe_arena_release_current_price() { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::_internal_mutable_current_price() { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::mutable_current_price() { … }
inline void PriceDropNotificationPayload::set_allocated_current_price(::commerce::ProductPrice* current_price) { … }
inline bool PriceDropNotificationPayload::_internal_has_previous_price() const { … }
inline bool PriceDropNotificationPayload::has_previous_price() const { … }
inline void PriceDropNotificationPayload::clear_previous_price() { … }
inline const ::commerce::ProductPrice& PriceDropNotificationPayload::_internal_previous_price() const { … }
inline const ::commerce::ProductPrice& PriceDropNotificationPayload::previous_price() const { … }
inline void PriceDropNotificationPayload::unsafe_arena_set_allocated_previous_price(
::commerce::ProductPrice* previous_price) { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::release_previous_price() { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::unsafe_arena_release_previous_price() { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::_internal_mutable_previous_price() { … }
inline ::commerce::ProductPrice* PriceDropNotificationPayload::mutable_previous_price() { … }
inline void PriceDropNotificationPayload::set_allocated_previous_price(::commerce::ProductPrice* previous_price) { … }
inline bool PriceDropNotificationPayload::_internal_has_product_cluster_id() const { … }
inline bool PriceDropNotificationPayload::has_product_cluster_id() const { … }
inline void PriceDropNotificationPayload::clear_product_cluster_id() { … }
inline uint64_t PriceDropNotificationPayload::_internal_product_cluster_id() const { … }
inline uint64_t PriceDropNotificationPayload::product_cluster_id() const { … }
inline void PriceDropNotificationPayload::_internal_set_product_cluster_id(uint64_t value) { … }
inline void PriceDropNotificationPayload::set_product_cluster_id(uint64_t value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::commerce::BuyableProduct_ProductReferenceType> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif