chromium/out/Default/gen/components/commerce/core/proto/discounts.pb.h

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: components/commerce/core/proto/discounts.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2fcommerce_2fcore_2fproto_2fdiscounts_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2fcommerce_2fcore_2fproto_2fdiscounts_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>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_util.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2fcommerce_2fcore_2fproto_2fdiscounts_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_components_2fcommerce_2fcore_2fproto_2fdiscounts_2eproto {};
namespace commerce {
class Discount;
struct DiscountDefaultTypeInternal;
extern DiscountDefaultTypeInternal _Discount_default_instance_;
class DiscountCluster;
struct DiscountClusterDefaultTypeInternal;
extern DiscountClusterDefaultTypeInternal _DiscountCluster_default_instance_;
class Discount_Description;
struct Discount_DescriptionDefaultTypeInternal;
extern Discount_DescriptionDefaultTypeInternal _Discount_Description_default_instance_;
class DiscountsData;
struct DiscountsDataDefaultTypeInternal;
extern DiscountsDataDefaultTypeInternal _DiscountsData_default_instance_;
}  // namespace commerce
PROTOBUF_NAMESPACE_OPEN
template<> ::commerce::Discount* Arena::CreateMaybeMessage<::commerce::Discount>(Arena*);
template<> ::commerce::DiscountCluster* Arena::CreateMaybeMessage<::commerce::DiscountCluster>(Arena*);
template<> ::commerce::Discount_Description* Arena::CreateMaybeMessage<::commerce::Discount_Description>(Arena*);
template<> ::commerce::DiscountsData* Arena::CreateMaybeMessage<::commerce::DiscountsData>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace commerce {

enum DiscountCluster_ClusterType : int {};
bool DiscountCluster_ClusterType_IsValid(int value);
constexpr DiscountCluster_ClusterType DiscountCluster_ClusterType_ClusterType_MIN =;
constexpr DiscountCluster_ClusterType DiscountCluster_ClusterType_ClusterType_MAX =;
constexpr int DiscountCluster_ClusterType_ClusterType_ARRAYSIZE =;

const std::string& DiscountCluster_ClusterType_Name(DiscountCluster_ClusterType value);
template<typename T>
inline const std::string& DiscountCluster_ClusterType_Name(T enum_t_value) {}
bool DiscountCluster_ClusterType_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DiscountCluster_ClusterType* value);
enum Discount_Type : int {};
bool Discount_Type_IsValid(int value);
constexpr Discount_Type Discount_Type_Type_MIN =;
constexpr Discount_Type Discount_Type_Type_MAX =;
constexpr int Discount_Type_Type_ARRAYSIZE =;

const std::string& Discount_Type_Name(Discount_Type value);
template<typename T>
inline const std::string& Discount_Type_Name(T enum_t_value) {}
bool Discount_Type_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Discount_Type* value);
// ===================================================================

class DiscountsData final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:commerce.DiscountsData) */ {};
// -------------------------------------------------------------------

class DiscountCluster final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:commerce.DiscountCluster) */ {};
// -------------------------------------------------------------------

class Discount_Description final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:commerce.Discount.Description) */ {};
// -------------------------------------------------------------------

class Discount final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:commerce.Discount) */ {};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// DiscountsData

// repeated .commerce.DiscountCluster discount_clusters = 1;
inline int DiscountsData::_internal_discount_clusters_size() const {}
inline int DiscountsData::discount_clusters_size() const {}
inline void DiscountsData::clear_discount_clusters() {}
inline ::commerce::DiscountCluster* DiscountsData::mutable_discount_clusters(int index) {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::commerce::DiscountCluster >*
DiscountsData::mutable_discount_clusters() {}
inline const ::commerce::DiscountCluster& DiscountsData::_internal_discount_clusters(int index) const {}
inline const ::commerce::DiscountCluster& DiscountsData::discount_clusters(int index) const {}
inline ::commerce::DiscountCluster* DiscountsData::_internal_add_discount_clusters() {}
inline ::commerce::DiscountCluster* DiscountsData::add_discount_clusters() {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::commerce::DiscountCluster >&
DiscountsData::discount_clusters() const {}

// -------------------------------------------------------------------

// DiscountCluster

// optional .commerce.DiscountCluster.ClusterType cluster_type = 1;
inline bool DiscountCluster::_internal_has_cluster_type() const {}
inline bool DiscountCluster::has_cluster_type() const {}
inline void DiscountCluster::clear_cluster_type() {}
inline ::commerce::DiscountCluster_ClusterType DiscountCluster::_internal_cluster_type() const {}
inline ::commerce::DiscountCluster_ClusterType DiscountCluster::cluster_type() const {}
inline void DiscountCluster::_internal_set_cluster_type(::commerce::DiscountCluster_ClusterType value) {}
inline void DiscountCluster::set_cluster_type(::commerce::DiscountCluster_ClusterType value) {}

// repeated .commerce.Discount discounts = 2;
inline int DiscountCluster::_internal_discounts_size() const {}
inline int DiscountCluster::discounts_size() const {}
inline void DiscountCluster::clear_discounts() {}
inline ::commerce::Discount* DiscountCluster::mutable_discounts(int index) {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::commerce::Discount >*
DiscountCluster::mutable_discounts() {}
inline const ::commerce::Discount& DiscountCluster::_internal_discounts(int index) const {}
inline const ::commerce::Discount& DiscountCluster::discounts(int index) const {}
inline ::commerce::Discount* DiscountCluster::_internal_add_discounts() {}
inline ::commerce::Discount* DiscountCluster::add_discounts() {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::commerce::Discount >&
DiscountCluster::discounts() const {}

// -------------------------------------------------------------------

// Discount_Description

// optional string language_code = 1;
inline bool Discount_Description::_internal_has_language_code() const {}
inline bool Discount_Description::has_language_code() const {}
inline void Discount_Description::clear_language_code() {}
inline const std::string& Discount_Description::language_code() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Discount_Description::set_language_code(ArgT0&& arg0, ArgT... args) {}
inline std::string* Discount_Description::mutable_language_code() {}
inline const std::string& Discount_Description::_internal_language_code() const {}
inline void Discount_Description::_internal_set_language_code(const std::string& value) {}
inline std::string* Discount_Description::_internal_mutable_language_code() {}
inline std::string* Discount_Description::release_language_code() {}
inline void Discount_Description::set_allocated_language_code(std::string* language_code) {}

// optional string detail = 2;
inline bool Discount_Description::_internal_has_detail() const {}
inline bool Discount_Description::has_detail() const {}
inline void Discount_Description::clear_detail() {}
inline const std::string& Discount_Description::detail() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Discount_Description::set_detail(ArgT0&& arg0, ArgT... args) {}
inline std::string* Discount_Description::mutable_detail() {}
inline const std::string& Discount_Description::_internal_detail() const {}
inline void Discount_Description::_internal_set_detail(const std::string& value) {}
inline std::string* Discount_Description::_internal_mutable_detail() {}
inline std::string* Discount_Description::release_detail() {}
inline void Discount_Description::set_allocated_detail(std::string* detail) {}

// optional string terms_and_conditions = 3;
inline bool Discount_Description::_internal_has_terms_and_conditions() const {}
inline bool Discount_Description::has_terms_and_conditions() const {}
inline void Discount_Description::clear_terms_and_conditions() {}
inline const std::string& Discount_Description::terms_and_conditions() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Discount_Description::set_terms_and_conditions(ArgT0&& arg0, ArgT... args) {}
inline std::string* Discount_Description::mutable_terms_and_conditions() {}
inline const std::string& Discount_Description::_internal_terms_and_conditions() const {}
inline void Discount_Description::_internal_set_terms_and_conditions(const std::string& value) {}
inline std::string* Discount_Description::_internal_mutable_terms_and_conditions() {}
inline std::string* Discount_Description::release_terms_and_conditions() {}
inline void Discount_Description::set_allocated_terms_and_conditions(std::string* terms_and_conditions) {}

// optional string value_text = 4;
inline bool Discount_Description::_internal_has_value_text() const {}
inline bool Discount_Description::has_value_text() const {}
inline void Discount_Description::clear_value_text() {}
inline const std::string& Discount_Description::value_text() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Discount_Description::set_value_text(ArgT0&& arg0, ArgT... args) {}
inline std::string* Discount_Description::mutable_value_text() {}
inline const std::string& Discount_Description::_internal_value_text() const {}
inline void Discount_Description::_internal_set_value_text(const std::string& value) {}
inline std::string* Discount_Description::_internal_mutable_value_text() {}
inline std::string* Discount_Description::release_value_text() {}
inline void Discount_Description::set_allocated_value_text(std::string* value_text) {}

// -------------------------------------------------------------------

// Discount

// optional uint64 id = 1;
inline bool Discount::_internal_has_id() const {}
inline bool Discount::has_id() const {}
inline void Discount::clear_id() {}
inline uint64_t Discount::_internal_id() const {}
inline uint64_t Discount::id() const {}
inline void Discount::_internal_set_id(uint64_t value) {}
inline void Discount::set_id(uint64_t value) {}

// optional .commerce.Discount.Type type = 2;
inline bool Discount::_internal_has_type() const {}
inline bool Discount::has_type() const {}
inline void Discount::clear_type() {}
inline ::commerce::Discount_Type Discount::_internal_type() const {}
inline ::commerce::Discount_Type Discount::type() const {}
inline void Discount::_internal_set_type(::commerce::Discount_Type value) {}
inline void Discount::set_type(::commerce::Discount_Type value) {}

// optional .commerce.Discount.Description description = 3;
inline bool Discount::_internal_has_description() const {}
inline bool Discount::has_description() const {}
inline void Discount::clear_description() {}
inline const ::commerce::Discount_Description& Discount::_internal_description() const {}
inline const ::commerce::Discount_Description& Discount::description() const {}
inline void Discount::unsafe_arena_set_allocated_description(
    ::commerce::Discount_Description* description) {}
inline ::commerce::Discount_Description* Discount::release_description() {}
inline ::commerce::Discount_Description* Discount::unsafe_arena_release_description() {}
inline ::commerce::Discount_Description* Discount::_internal_mutable_description() {}
inline ::commerce::Discount_Description* Discount::mutable_description() {}
inline void Discount::set_allocated_description(::commerce::Discount_Description* description) {}

// optional double expiry_time_sec = 4;
inline bool Discount::_internal_has_expiry_time_sec() const {}
inline bool Discount::has_expiry_time_sec() const {}
inline void Discount::clear_expiry_time_sec() {}
inline double Discount::_internal_expiry_time_sec() const {}
inline double Discount::expiry_time_sec() const {}
inline void Discount::_internal_set_expiry_time_sec(double value) {}
inline void Discount::set_expiry_time_sec(double value) {}

// optional bool is_merchant_wide = 5;
inline bool Discount::_internal_has_is_merchant_wide() const {}
inline bool Discount::has_is_merchant_wide() const {}
inline void Discount::clear_is_merchant_wide() {}
inline bool Discount::_internal_is_merchant_wide() const {}
inline bool Discount::is_merchant_wide() const {}
inline void Discount::_internal_set_is_merchant_wide(bool value) {}
inline void Discount::set_is_merchant_wide(bool value) {}

// optional string discount_code = 6;
inline bool Discount::_internal_has_discount_code() const {}
inline bool Discount::has_discount_code() const {}
inline void Discount::clear_discount_code() {}
inline const std::string& Discount::discount_code() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Discount::set_discount_code(ArgT0&& arg0, ArgT... args) {}
inline std::string* Discount::mutable_discount_code() {}
inline const std::string& Discount::_internal_discount_code() const {}
inline void Discount::_internal_set_discount_code(const std::string& value) {}
inline std::string* Discount::_internal_mutable_discount_code() {}
inline std::string* Discount::release_discount_code() {}
inline void Discount::set_allocated_discount_code(std::string* discount_code) {}

// optional fixed64 offer_id = 7;
inline bool Discount::_internal_has_offer_id() const {}
inline bool Discount::has_offer_id() const {}
inline void Discount::clear_offer_id() {}
inline uint64_t Discount::_internal_offer_id() const {}
inline uint64_t Discount::offer_id() const {}
inline void Discount::_internal_set_offer_id(uint64_t value) {}
inline void Discount::set_offer_id(uint64_t value) {}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace commerce

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::commerce::DiscountCluster_ClusterType> : ::std::true_type {};
template <> struct is_proto_enum< ::commerce::Discount_Type> : ::std::true_type {};

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_components_2fcommerce_2fcore_2fproto_2fdiscounts_2eproto