// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: components/commerce/core/proto/price_insights.proto
// Protobuf C++ Version: 7.35.1

#ifndef components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto_2epb_2eh
#define components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.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)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto {
  static const ::uint32_t offsets[];
};
namespace commerce {
enum PriceInsightsData_PriceBucket : int;
extern const uint32_t PriceInsightsData_PriceBucket_internal_data_[];
class PriceHistory;
struct PriceHistoryGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PriceHistoryGlobalsTypeInternal PriceHistory_globals_;
extern const ::google::protobuf::internal::ClassDataLite PriceHistory_class_data_;
#else
extern const PriceHistoryGlobalsTypeInternal PriceHistory_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PriceInsightsData;
struct PriceInsightsDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PriceInsightsDataGlobalsTypeInternal PriceInsightsData_globals_;
extern const ::google::protobuf::internal::ClassDataLite PriceInsightsData_class_data_;
#else
extern const PriceInsightsDataGlobalsTypeInternal PriceInsightsData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PricePoint;
struct PricePointGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PricePointGlobalsTypeInternal PricePoint_globals_;
extern const ::google::protobuf::internal::ClassDataLite PricePoint_class_data_;
#else
extern const PricePointGlobalsTypeInternal PricePoint_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PriceRange;
struct PriceRangeGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PriceRangeGlobalsTypeInternal PriceRange_globals_;
extern const ::google::protobuf::internal::ClassDataLite PriceRange_class_data_;
#else
extern const PriceRangeGlobalsTypeInternal PriceRange_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace commerce
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::commerce::PriceInsightsData_PriceBucket_internal_data_>
    internal::EnumTraitsImpl::value<::commerce::PriceInsightsData_PriceBucket>;
}  // namespace protobuf
}  // namespace google

namespace commerce {
enum PriceInsightsData_PriceBucket : int {
  PriceInsightsData_PriceBucket_UNKNOWN = 0,
  PriceInsightsData_PriceBucket_LOW_PRICE = 1,
  PriceInsightsData_PriceBucket_TYPICAL_PRICE = 2,
  PriceInsightsData_PriceBucket_HIGH_PRICE = 3,
};

extern const uint32_t PriceInsightsData_PriceBucket_internal_data_[];
inline constexpr PriceInsightsData_PriceBucket PriceInsightsData_PriceBucket_PriceBucket_MIN =
    static_cast<PriceInsightsData_PriceBucket>(0);
inline constexpr PriceInsightsData_PriceBucket PriceInsightsData_PriceBucket_PriceBucket_MAX =
    static_cast<PriceInsightsData_PriceBucket>(3);
inline bool PriceInsightsData_PriceBucket_IsValid(int value) {
  return 0 <= value && value <= 3;
}
inline constexpr int PriceInsightsData_PriceBucket_PriceBucket_ARRAYSIZE = 3 + 1;
const ::std::string& PriceInsightsData_PriceBucket_Name(PriceInsightsData_PriceBucket value);
template <typename T>
const ::std::string& PriceInsightsData_PriceBucket_Name(T value) {
  static_assert(::std::is_same<T, PriceInsightsData_PriceBucket>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to PriceBucket_Name().");
  return PriceInsightsData_PriceBucket_Name(static_cast<PriceInsightsData_PriceBucket>(value));
}
bool PriceInsightsData_PriceBucket_Parse(
    ::absl::string_view name, PriceInsightsData_PriceBucket* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

class  PriceRange final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:commerce.PriceRange) */ {
 public:
  inline PriceRange() : PriceRange(nullptr) {}
  ~PriceRange() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PriceRange* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PriceRange));
  }
#endif

  template <typename = void>
  explicit constexpr PriceRange(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PriceRange(const PriceRange& from) : PriceRange(nullptr, from) {}
  inline PriceRange(PriceRange&& from) noexcept : PriceRange(nullptr, ::std::move(from)) {}
  inline PriceRange& operator=(const PriceRange& from) {
    CopyFrom(from);
    return *this;
  }
  inline PriceRange& operator=(PriceRange&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PriceRange& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PriceRange>(&PriceRange_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(PriceRange& a, PriceRange& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PriceRange* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PriceRange* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PriceRange* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PriceRange>(arena);
  }
  void CopyFrom(const PriceRange& from);
  void MergeFrom(const PriceRange& from) { PriceRange::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PriceRange* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "commerce.PriceRange"; }

  explicit PriceRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PriceRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PriceRange& from);
  PriceRange(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PriceRange&& from) noexcept
      : PriceRange(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kCurrencyCodeFieldNumber = 1,
    kLowestTypicalPriceMicrosFieldNumber = 2,
    kHighestTypicalPriceMicrosFieldNumber = 3,
  };
  // optional string currency_code = 1;
  bool has_currency_code()
      const;
  void clear_currency_code() ;
  const ::std::string& currency_code() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_currency_code(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_currency_code();
  ::std::string* PROTOBUF_NULLABLE release_currency_code();
  void set_allocated_currency_code(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_currency_code() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_currency_code(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_currency_code();

  public:
  // optional int64 lowest_typical_price_micros = 2;
  bool has_lowest_typical_price_micros()
      const;
  void clear_lowest_typical_price_micros() ;
  ::int64_t lowest_typical_price_micros() const;
  void set_lowest_typical_price_micros(::int64_t value);

  private:
  ::int64_t _internal_lowest_typical_price_micros() const;
  void _internal_set_lowest_typical_price_micros(::int64_t value);

  public:
  // optional int64 highest_typical_price_micros = 3;
  bool has_highest_typical_price_micros()
      const;
  void clear_highest_typical_price_micros() ;
  ::int64_t highest_typical_price_micros() const;
  void set_highest_typical_price_micros(::int64_t value);

  private:
  ::int64_t _internal_highest_typical_price_micros() const;
  void _internal_set_highest_typical_price_micros(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:commerce.PriceRange)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PriceRange& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr currency_code_;
    ::int64_t lowest_typical_price_micros_;
    ::int64_t highest_typical_price_micros_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto;
};
// -------------------------------------------------------------------

class  PricePoint final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:commerce.PricePoint) */ {
 public:
  inline PricePoint() : PricePoint(nullptr) {}
  ~PricePoint() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PricePoint* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PricePoint));
  }
#endif

  template <typename = void>
  explicit constexpr PricePoint(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PricePoint(const PricePoint& from) : PricePoint(nullptr, from) {}
  inline PricePoint(PricePoint&& from) noexcept : PricePoint(nullptr, ::std::move(from)) {}
  inline PricePoint& operator=(const PricePoint& from) {
    CopyFrom(from);
    return *this;
  }
  inline PricePoint& operator=(PricePoint&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PricePoint& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PricePoint>(&PricePoint_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(PricePoint& a, PricePoint& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PricePoint* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PricePoint* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PricePoint* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PricePoint>(arena);
  }
  void CopyFrom(const PricePoint& from);
  void MergeFrom(const PricePoint& from) { PricePoint::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PricePoint* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "commerce.PricePoint"; }

  explicit PricePoint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PricePoint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PricePoint& from);
  PricePoint(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PricePoint&& from) noexcept
      : PricePoint(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kDateFieldNumber = 1,
    kMinPriceMicrosFieldNumber = 2,
  };
  // optional string date = 1;
  bool has_date()
      const;
  void clear_date() ;
  const ::std::string& date() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_date(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_date();
  ::std::string* PROTOBUF_NULLABLE release_date();
  void set_allocated_date(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_date() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_date(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_date();

  public:
  // optional int64 min_price_micros = 2;
  bool has_min_price_micros()
      const;
  void clear_min_price_micros() ;
  ::int64_t min_price_micros() const;
  void set_min_price_micros(::int64_t value);

  private:
  ::int64_t _internal_min_price_micros() const;
  void _internal_set_min_price_micros(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:commerce.PricePoint)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<1, 2,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PricePoint& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr date_;
    ::int64_t min_price_micros_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto;
};
// -------------------------------------------------------------------

class  PriceHistory final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:commerce.PriceHistory) */ {
 public:
  inline PriceHistory() : PriceHistory(nullptr) {}
  ~PriceHistory() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PriceHistory* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PriceHistory));
  }
#endif

  template <typename = void>
  explicit constexpr PriceHistory(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PriceHistory(const PriceHistory& from) : PriceHistory(nullptr, from) {}
  inline PriceHistory(PriceHistory&& from) noexcept : PriceHistory(nullptr, ::std::move(from)) {}
  inline PriceHistory& operator=(const PriceHistory& from) {
    CopyFrom(from);
    return *this;
  }
  inline PriceHistory& operator=(PriceHistory&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PriceHistory& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PriceHistory>(&PriceHistory_globals_);
  }
  static constexpr int kIndexInFileMessages = 3;
  friend void swap(PriceHistory& a, PriceHistory& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PriceHistory* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PriceHistory* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PriceHistory* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PriceHistory>(arena);
  }
  void CopyFrom(const PriceHistory& from);
  void MergeFrom(const PriceHistory& from) { PriceHistory::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PriceHistory* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "commerce.PriceHistory"; }

  explicit PriceHistory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PriceHistory(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PriceHistory& from);
  PriceHistory(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PriceHistory&& from) noexcept
      : PriceHistory(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kPricePointsFieldNumber = 3,
    kCurrencyCodeFieldNumber = 1,
    kAttributesFieldNumber = 2,
    kJackpotUrlFieldNumber = 4,
  };
  // repeated .commerce.PricePoint price_points = 3;
  int price_points_size()
      const;
  private:
  int _internal_price_points_size() const;

  public:
  void clear_price_points() ;
  const ::commerce::PricePoint& price_points(int index) const;
  ::commerce::PricePoint* PROTOBUF_NONNULL mutable_price_points(int index);
  ::commerce::PricePoint* PROTOBUF_NONNULL add_price_points();
  const ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>&
  price_points() const;
  ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>* PROTOBUF_NONNULL
  mutable_price_points();

  private:
  const ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>& _internal_price_points() const;
  ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>* PROTOBUF_NONNULL _internal_mutable_price_points();

  public:
  // optional string currency_code = 1;
  bool has_currency_code()
      const;
  void clear_currency_code() ;
  const ::std::string& currency_code() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_currency_code(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_currency_code();
  ::std::string* PROTOBUF_NULLABLE release_currency_code();
  void set_allocated_currency_code(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_currency_code() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_currency_code(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_currency_code();

  public:
  // optional string attributes = 2;
  bool has_attributes()
      const;
  void clear_attributes() ;
  const ::std::string& attributes() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_attributes(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_attributes();
  ::std::string* PROTOBUF_NULLABLE release_attributes();
  void set_allocated_attributes(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_attributes() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_attributes(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_attributes();

  public:
  // optional string jackpot_url = 4;
  bool has_jackpot_url()
      const;
  void clear_jackpot_url() ;
  const ::std::string& jackpot_url() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_jackpot_url(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_jackpot_url();
  ::std::string* PROTOBUF_NULLABLE release_jackpot_url();
  void set_allocated_jackpot_url(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_jackpot_url() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_jackpot_url(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_jackpot_url();

  public:
  // @@protoc_insertion_point(class_scope:commerce.PriceHistory)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 4,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PriceHistory& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::commerce::PricePoint > price_points_;
    ::google::protobuf::internal::ArenaStringPtr currency_code_;
    ::google::protobuf::internal::ArenaStringPtr attributes_;
    ::google::protobuf::internal::ArenaStringPtr jackpot_url_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto;
};
// -------------------------------------------------------------------

class  PriceInsightsData final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:commerce.PriceInsightsData) */ {
 public:
  inline PriceInsightsData() : PriceInsightsData(nullptr) {}
  ~PriceInsightsData() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PriceInsightsData* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PriceInsightsData));
  }
#endif

  template <typename = void>
  explicit constexpr PriceInsightsData(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PriceInsightsData(const PriceInsightsData& from) : PriceInsightsData(nullptr, from) {}
  inline PriceInsightsData(PriceInsightsData&& from) noexcept : PriceInsightsData(nullptr, ::std::move(from)) {}
  inline PriceInsightsData& operator=(const PriceInsightsData& from) {
    CopyFrom(from);
    return *this;
  }
  inline PriceInsightsData& operator=(PriceInsightsData&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PriceInsightsData& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PriceInsightsData>(&PriceInsightsData_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(PriceInsightsData& a, PriceInsightsData& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PriceInsightsData* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PriceInsightsData* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PriceInsightsData* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PriceInsightsData>(arena);
  }
  void CopyFrom(const PriceInsightsData& from);
  void MergeFrom(const PriceInsightsData& from) { PriceInsightsData::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PriceInsightsData* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "commerce.PriceInsightsData"; }

  explicit PriceInsightsData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PriceInsightsData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PriceInsightsData& from);
  PriceInsightsData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PriceInsightsData&& from) noexcept
      : PriceInsightsData(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using PriceBucket = PriceInsightsData_PriceBucket;
  static constexpr PriceBucket UNKNOWN = PriceInsightsData_PriceBucket_UNKNOWN;
  static constexpr PriceBucket LOW_PRICE = PriceInsightsData_PriceBucket_LOW_PRICE;
  static constexpr PriceBucket TYPICAL_PRICE = PriceInsightsData_PriceBucket_TYPICAL_PRICE;
  static constexpr PriceBucket HIGH_PRICE = PriceInsightsData_PriceBucket_HIGH_PRICE;
  static inline bool PriceBucket_IsValid(int value) {
    return PriceInsightsData_PriceBucket_IsValid(value);
  }
  static constexpr PriceBucket PriceBucket_MIN = PriceInsightsData_PriceBucket_PriceBucket_MIN;
  static constexpr PriceBucket PriceBucket_MAX = PriceInsightsData_PriceBucket_PriceBucket_MAX;
  static constexpr int PriceBucket_ARRAYSIZE = PriceInsightsData_PriceBucket_PriceBucket_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& PriceBucket_Name(T value) {
    return PriceInsightsData_PriceBucket_Name(value);
  }
  static inline bool PriceBucket_Parse(
      ::absl::string_view name, PriceBucket* PROTOBUF_NONNULL value) {
    return PriceInsightsData_PriceBucket_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kPriceRangeFieldNumber = 2,
    kPriceHistoryFieldNumber = 3,
    kProductClusterIdFieldNumber = 1,
    kPriceBucketFieldNumber = 4,
    kHasMultipleCatalogsFieldNumber = 5,
  };
  // optional .commerce.PriceRange price_range = 2;
  bool has_price_range()
      const;
  void clear_price_range() ;
  const ::commerce::PriceRange& price_range() const;
  ::commerce::PriceRange* PROTOBUF_NULLABLE release_price_range();
  ::commerce::PriceRange* PROTOBUF_NONNULL mutable_price_range();
  void set_allocated_price_range(::commerce::PriceRange* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_price_range(::commerce::PriceRange* PROTOBUF_NULLABLE value);
  ::commerce::PriceRange* PROTOBUF_NULLABLE unsafe_arena_release_price_range();

  private:
  const ::commerce::PriceRange& _internal_price_range() const;
  ::commerce::PriceRange* PROTOBUF_NONNULL _internal_mutable_price_range();

  public:
  // optional .commerce.PriceHistory price_history = 3;
  bool has_price_history()
      const;
  void clear_price_history() ;
  const ::commerce::PriceHistory& price_history() const;
  ::commerce::PriceHistory* PROTOBUF_NULLABLE release_price_history();
  ::commerce::PriceHistory* PROTOBUF_NONNULL mutable_price_history();
  void set_allocated_price_history(::commerce::PriceHistory* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_price_history(::commerce::PriceHistory* PROTOBUF_NULLABLE value);
  ::commerce::PriceHistory* PROTOBUF_NULLABLE unsafe_arena_release_price_history();

  private:
  const ::commerce::PriceHistory& _internal_price_history() const;
  ::commerce::PriceHistory* PROTOBUF_NONNULL _internal_mutable_price_history();

  public:
  // optional uint64 product_cluster_id = 1;
  bool has_product_cluster_id()
      const;
  void clear_product_cluster_id() ;
  ::uint64_t product_cluster_id() const;
  void set_product_cluster_id(::uint64_t value);

  private:
  ::uint64_t _internal_product_cluster_id() const;
  void _internal_set_product_cluster_id(::uint64_t value);

  public:
  // optional .commerce.PriceInsightsData.PriceBucket price_bucket = 4;
  bool has_price_bucket()
      const;
  void clear_price_bucket() ;
  ::commerce::PriceInsightsData_PriceBucket price_bucket() const;
  void set_price_bucket(::commerce::PriceInsightsData_PriceBucket value);

  private:
  ::commerce::PriceInsightsData_PriceBucket _internal_price_bucket() const;
  void _internal_set_price_bucket(::commerce::PriceInsightsData_PriceBucket value);

  public:
  // optional bool has_multiple_catalogs = 5;
  bool has_has_multiple_catalogs()
      const;
  void clear_has_multiple_catalogs() ;
  bool has_multiple_catalogs() const;
  void set_has_multiple_catalogs(bool value);

  private:
  bool _internal_has_multiple_catalogs() const;
  void _internal_set_has_multiple_catalogs(bool value);

  public:
  // @@protoc_insertion_point(class_scope:commerce.PriceInsightsData)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 5,
                          3, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PriceInsightsData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::commerce::PriceRange* PROTOBUF_NULLABLE price_range_;
    ::commerce::PriceHistory* PROTOBUF_NULLABLE price_history_;
    ::uint64_t product_cluster_id_;
    int price_bucket_;
    bool has_multiple_catalogs_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto;
};

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




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


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

// PriceInsightsData

// optional uint64 product_cluster_id = 1;
inline bool PriceInsightsData::has_product_cluster_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void PriceInsightsData::clear_product_cluster_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.product_cluster_id_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::uint64_t PriceInsightsData::product_cluster_id() const {
  // @@protoc_insertion_point(field_get:commerce.PriceInsightsData.product_cluster_id)
  return _internal_product_cluster_id();
}
inline void PriceInsightsData::set_product_cluster_id(::uint64_t value) {
  _internal_set_product_cluster_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:commerce.PriceInsightsData.product_cluster_id)
}
inline ::uint64_t PriceInsightsData::_internal_product_cluster_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.product_cluster_id_;
}
inline void PriceInsightsData::_internal_set_product_cluster_id(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.product_cluster_id_ = value;
}

// optional .commerce.PriceRange price_range = 2;
inline bool PriceInsightsData::has_price_range() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.price_range_ != nullptr);
  return value;
}
inline void PriceInsightsData::clear_price_range() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.price_range_ != nullptr) _impl_.price_range_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::commerce::PriceRange& PriceInsightsData::_internal_price_range() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::commerce::PriceRange* p = _impl_.price_range_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::commerce::PriceRange>(&::commerce::PriceRange_globals_);
}
inline const ::commerce::PriceRange& PriceInsightsData::price_range() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceInsightsData.price_range)
  return _internal_price_range();
}
inline void PriceInsightsData::unsafe_arena_set_allocated_price_range(
    ::commerce::PriceRange* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.price_range_);
  }
  _impl_.price_range_ = reinterpret_cast<::commerce::PriceRange*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:commerce.PriceInsightsData.price_range)
}
inline ::commerce::PriceRange* PROTOBUF_NULLABLE PriceInsightsData::release_price_range() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::commerce::PriceRange* released = _impl_.price_range_;
  _impl_.price_range_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::commerce::PriceRange* PROTOBUF_NULLABLE PriceInsightsData::unsafe_arena_release_price_range() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PriceInsightsData.price_range)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::commerce::PriceRange* temp = _impl_.price_range_;
  _impl_.price_range_ = nullptr;
  return temp;
}
inline ::commerce::PriceRange* PROTOBUF_NONNULL PriceInsightsData::_internal_mutable_price_range() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.price_range_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::commerce::PriceRange>(GetArena());
    _impl_.price_range_ = reinterpret_cast<::commerce::PriceRange*>(p);
  }
  return _impl_.price_range_;
}
inline ::commerce::PriceRange* PROTOBUF_NONNULL PriceInsightsData::mutable_price_range()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::commerce::PriceRange* _msg = _internal_mutable_price_range();
  // @@protoc_insertion_point(field_mutable:commerce.PriceInsightsData.price_range)
  return _msg;
}
inline void PriceInsightsData::set_allocated_price_range(::commerce::PriceRange* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.price_range_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.price_range_ = reinterpret_cast<::commerce::PriceRange*>(value);
  // @@protoc_insertion_point(field_set_allocated:commerce.PriceInsightsData.price_range)
}

// optional .commerce.PriceHistory price_history = 3;
inline bool PriceInsightsData::has_price_history() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.price_history_ != nullptr);
  return value;
}
inline void PriceInsightsData::clear_price_history() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.price_history_ != nullptr) _impl_.price_history_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::commerce::PriceHistory& PriceInsightsData::_internal_price_history() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::commerce::PriceHistory* p = _impl_.price_history_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::commerce::PriceHistory>(&::commerce::PriceHistory_globals_);
}
inline const ::commerce::PriceHistory& PriceInsightsData::price_history() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceInsightsData.price_history)
  return _internal_price_history();
}
inline void PriceInsightsData::unsafe_arena_set_allocated_price_history(
    ::commerce::PriceHistory* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.price_history_);
  }
  _impl_.price_history_ = reinterpret_cast<::commerce::PriceHistory*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:commerce.PriceInsightsData.price_history)
}
inline ::commerce::PriceHistory* PROTOBUF_NULLABLE PriceInsightsData::release_price_history() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::commerce::PriceHistory* released = _impl_.price_history_;
  _impl_.price_history_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::commerce::PriceHistory* PROTOBUF_NULLABLE PriceInsightsData::unsafe_arena_release_price_history() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PriceInsightsData.price_history)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::commerce::PriceHistory* temp = _impl_.price_history_;
  _impl_.price_history_ = nullptr;
  return temp;
}
inline ::commerce::PriceHistory* PROTOBUF_NONNULL PriceInsightsData::_internal_mutable_price_history() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.price_history_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::commerce::PriceHistory>(GetArena());
    _impl_.price_history_ = reinterpret_cast<::commerce::PriceHistory*>(p);
  }
  return _impl_.price_history_;
}
inline ::commerce::PriceHistory* PROTOBUF_NONNULL PriceInsightsData::mutable_price_history()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::commerce::PriceHistory* _msg = _internal_mutable_price_history();
  // @@protoc_insertion_point(field_mutable:commerce.PriceInsightsData.price_history)
  return _msg;
}
inline void PriceInsightsData::set_allocated_price_history(::commerce::PriceHistory* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.price_history_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.price_history_ = reinterpret_cast<::commerce::PriceHistory*>(value);
  // @@protoc_insertion_point(field_set_allocated:commerce.PriceInsightsData.price_history)
}

// optional .commerce.PriceInsightsData.PriceBucket price_bucket = 4;
inline bool PriceInsightsData::has_price_bucket() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void PriceInsightsData::clear_price_bucket() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.price_bucket_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::commerce::PriceInsightsData_PriceBucket PriceInsightsData::price_bucket() const {
  // @@protoc_insertion_point(field_get:commerce.PriceInsightsData.price_bucket)
  return _internal_price_bucket();
}
inline void PriceInsightsData::set_price_bucket(::commerce::PriceInsightsData_PriceBucket value) {
  _internal_set_price_bucket(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:commerce.PriceInsightsData.price_bucket)
}
inline ::commerce::PriceInsightsData_PriceBucket PriceInsightsData::_internal_price_bucket() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::commerce::PriceInsightsData_PriceBucket>(_impl_.price_bucket_);
}
inline void PriceInsightsData::_internal_set_price_bucket(::commerce::PriceInsightsData_PriceBucket value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::commerce::PriceInsightsData_PriceBucket_internal_data_));
                                          _impl_.price_bucket_ = value;
}

// optional bool has_multiple_catalogs = 5;
inline bool PriceInsightsData::has_has_multiple_catalogs() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void PriceInsightsData::clear_has_multiple_catalogs() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.has_multiple_catalogs_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline bool PriceInsightsData::has_multiple_catalogs() const {
  // @@protoc_insertion_point(field_get:commerce.PriceInsightsData.has_multiple_catalogs)
  return _internal_has_multiple_catalogs();
}
inline void PriceInsightsData::set_has_multiple_catalogs(bool value) {
  _internal_set_has_multiple_catalogs(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:commerce.PriceInsightsData.has_multiple_catalogs)
}
inline bool PriceInsightsData::_internal_has_multiple_catalogs() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.has_multiple_catalogs_;
}
inline void PriceInsightsData::_internal_set_has_multiple_catalogs(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.has_multiple_catalogs_ = value;
}

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

// PriceRange

// optional string currency_code = 1;
inline bool PriceRange::has_currency_code() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void PriceRange::clear_currency_code() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.currency_code_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& PriceRange::currency_code() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceRange.currency_code)
  return _internal_currency_code();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PriceRange::set_currency_code(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.currency_code_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:commerce.PriceRange.currency_code)
}
inline ::std::string* PROTOBUF_NONNULL PriceRange::mutable_currency_code()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_currency_code();
  // @@protoc_insertion_point(field_mutable:commerce.PriceRange.currency_code)
  return _s;
}
inline const ::std::string& PriceRange::_internal_currency_code() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.currency_code_.Get();
}
inline void PriceRange::_internal_set_currency_code(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.currency_code_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PriceRange::_internal_mutable_currency_code() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.currency_code_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PriceRange::release_currency_code() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PriceRange.currency_code)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.currency_code_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.currency_code_.Set("", GetArena());
  }
  return released;
}
inline void PriceRange::set_allocated_currency_code(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.currency_code_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.currency_code_.IsDefault()) {
    _impl_.currency_code_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:commerce.PriceRange.currency_code)
}

// optional int64 lowest_typical_price_micros = 2;
inline bool PriceRange::has_lowest_typical_price_micros() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void PriceRange::clear_lowest_typical_price_micros() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.lowest_typical_price_micros_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int64_t PriceRange::lowest_typical_price_micros() const {
  // @@protoc_insertion_point(field_get:commerce.PriceRange.lowest_typical_price_micros)
  return _internal_lowest_typical_price_micros();
}
inline void PriceRange::set_lowest_typical_price_micros(::int64_t value) {
  _internal_set_lowest_typical_price_micros(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:commerce.PriceRange.lowest_typical_price_micros)
}
inline ::int64_t PriceRange::_internal_lowest_typical_price_micros() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.lowest_typical_price_micros_;
}
inline void PriceRange::_internal_set_lowest_typical_price_micros(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.lowest_typical_price_micros_ = value;
}

// optional int64 highest_typical_price_micros = 3;
inline bool PriceRange::has_highest_typical_price_micros() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void PriceRange::clear_highest_typical_price_micros() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.highest_typical_price_micros_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int64_t PriceRange::highest_typical_price_micros() const {
  // @@protoc_insertion_point(field_get:commerce.PriceRange.highest_typical_price_micros)
  return _internal_highest_typical_price_micros();
}
inline void PriceRange::set_highest_typical_price_micros(::int64_t value) {
  _internal_set_highest_typical_price_micros(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:commerce.PriceRange.highest_typical_price_micros)
}
inline ::int64_t PriceRange::_internal_highest_typical_price_micros() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.highest_typical_price_micros_;
}
inline void PriceRange::_internal_set_highest_typical_price_micros(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.highest_typical_price_micros_ = value;
}

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

// PricePoint

// optional string date = 1;
inline bool PricePoint::has_date() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void PricePoint::clear_date() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.date_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& PricePoint::date() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PricePoint.date)
  return _internal_date();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PricePoint::set_date(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.date_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:commerce.PricePoint.date)
}
inline ::std::string* PROTOBUF_NONNULL PricePoint::mutable_date()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_date();
  // @@protoc_insertion_point(field_mutable:commerce.PricePoint.date)
  return _s;
}
inline const ::std::string& PricePoint::_internal_date() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.date_.Get();
}
inline void PricePoint::_internal_set_date(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.date_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PricePoint::_internal_mutable_date() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.date_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PricePoint::release_date() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PricePoint.date)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.date_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.date_.Set("", GetArena());
  }
  return released;
}
inline void PricePoint::set_allocated_date(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.date_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.date_.IsDefault()) {
    _impl_.date_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:commerce.PricePoint.date)
}

// optional int64 min_price_micros = 2;
inline bool PricePoint::has_min_price_micros() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void PricePoint::clear_min_price_micros() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.min_price_micros_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int64_t PricePoint::min_price_micros() const {
  // @@protoc_insertion_point(field_get:commerce.PricePoint.min_price_micros)
  return _internal_min_price_micros();
}
inline void PricePoint::set_min_price_micros(::int64_t value) {
  _internal_set_min_price_micros(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:commerce.PricePoint.min_price_micros)
}
inline ::int64_t PricePoint::_internal_min_price_micros() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.min_price_micros_;
}
inline void PricePoint::_internal_set_min_price_micros(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.min_price_micros_ = value;
}

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

// PriceHistory

// optional string currency_code = 1;
inline bool PriceHistory::has_currency_code() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void PriceHistory::clear_currency_code() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.currency_code_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& PriceHistory::currency_code() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceHistory.currency_code)
  return _internal_currency_code();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PriceHistory::set_currency_code(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.currency_code_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:commerce.PriceHistory.currency_code)
}
inline ::std::string* PROTOBUF_NONNULL PriceHistory::mutable_currency_code()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_currency_code();
  // @@protoc_insertion_point(field_mutable:commerce.PriceHistory.currency_code)
  return _s;
}
inline const ::std::string& PriceHistory::_internal_currency_code() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.currency_code_.Get();
}
inline void PriceHistory::_internal_set_currency_code(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.currency_code_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PriceHistory::_internal_mutable_currency_code() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.currency_code_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PriceHistory::release_currency_code() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PriceHistory.currency_code)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.currency_code_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.currency_code_.Set("", GetArena());
  }
  return released;
}
inline void PriceHistory::set_allocated_currency_code(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  _impl_.currency_code_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.currency_code_.IsDefault()) {
    _impl_.currency_code_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:commerce.PriceHistory.currency_code)
}

// optional string attributes = 2;
inline bool PriceHistory::has_attributes() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void PriceHistory::clear_attributes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.attributes_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::std::string& PriceHistory::attributes() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceHistory.attributes)
  return _internal_attributes();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PriceHistory::set_attributes(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.attributes_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:commerce.PriceHistory.attributes)
}
inline ::std::string* PROTOBUF_NONNULL PriceHistory::mutable_attributes()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::std::string* _s = _internal_mutable_attributes();
  // @@protoc_insertion_point(field_mutable:commerce.PriceHistory.attributes)
  return _s;
}
inline const ::std::string& PriceHistory::_internal_attributes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.attributes_.Get();
}
inline void PriceHistory::_internal_set_attributes(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.attributes_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PriceHistory::_internal_mutable_attributes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.attributes_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PriceHistory::release_attributes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PriceHistory.attributes)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  auto* released = _impl_.attributes_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.attributes_.Set("", GetArena());
  }
  return released;
}
inline void PriceHistory::set_allocated_attributes(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  _impl_.attributes_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.attributes_.IsDefault()) {
    _impl_.attributes_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:commerce.PriceHistory.attributes)
}

// repeated .commerce.PricePoint price_points = 3;
inline int PriceHistory::_internal_price_points_size() const {
  return _internal_price_points().size();
}
inline int PriceHistory::price_points_size() const {
  return _internal_price_points_size();
}
inline void PriceHistory::clear_price_points() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.price_points_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::commerce::PricePoint& PriceHistory::price_points(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceHistory.price_points)
  return _internal_price_points().Get(index);
}
inline ::commerce::PricePoint* PROTOBUF_NONNULL PriceHistory::mutable_price_points(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:commerce.PriceHistory.price_points)
  return _internal_mutable_price_points()->Mutable(index);
}
inline ::commerce::PricePoint* PROTOBUF_NONNULL PriceHistory::add_price_points()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::commerce::PricePoint* _add =
      _internal_mutable_price_points()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:commerce.PriceHistory.price_points)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>& PriceHistory::price_points() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:commerce.PriceHistory.price_points)
  return _internal_price_points();
}
inline ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>* PROTOBUF_NONNULL
PriceHistory::mutable_price_points() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:commerce.PriceHistory.price_points)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_price_points();
}
inline const ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>&
PriceHistory::_internal_price_points() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.price_points_;
}
inline ::google::protobuf::RepeatedPtrField<::commerce::PricePoint>* PROTOBUF_NONNULL
PriceHistory::_internal_mutable_price_points() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.price_points_;
}

// optional string jackpot_url = 4;
inline bool PriceHistory::has_jackpot_url() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void PriceHistory::clear_jackpot_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.jackpot_url_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline const ::std::string& PriceHistory::jackpot_url() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:commerce.PriceHistory.jackpot_url)
  return _internal_jackpot_url();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PriceHistory::set_jackpot_url(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  _impl_.jackpot_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:commerce.PriceHistory.jackpot_url)
}
inline ::std::string* PROTOBUF_NONNULL PriceHistory::mutable_jackpot_url()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::std::string* _s = _internal_mutable_jackpot_url();
  // @@protoc_insertion_point(field_mutable:commerce.PriceHistory.jackpot_url)
  return _s;
}
inline const ::std::string& PriceHistory::_internal_jackpot_url() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.jackpot_url_.Get();
}
inline void PriceHistory::_internal_set_jackpot_url(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.jackpot_url_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PriceHistory::_internal_mutable_jackpot_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.jackpot_url_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PriceHistory::release_jackpot_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:commerce.PriceHistory.jackpot_url)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  auto* released = _impl_.jackpot_url_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.jackpot_url_.Set("", GetArena());
  }
  return released;
}
inline void PriceHistory::set_allocated_jackpot_url(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  }
  _impl_.jackpot_url_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.jackpot_url_.IsDefault()) {
    _impl_.jackpot_url_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:commerce.PriceHistory.jackpot_url)
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace commerce


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::commerce::PriceInsightsData_PriceBucket> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::commerce::PriceInsightsData_PriceBucket> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::commerce::PriceInsightsData_PriceBucket_Parse;
  static constexpr auto kNameFunc = ::commerce::PriceInsightsData_PriceBucket_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // components_2fcommerce_2fcore_2fproto_2fprice_5finsights_2eproto_2epb_2eh
